mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
Added config-table-top-row class to the top level <tr>s in the config table
This commit is contained in:
1 parent
2b0b537f4b
commit
582b93e080
2 files changed
+12
-12
No files matched your search
@@ -19,17 +19,15 @@
|
||||
* ----------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#jenkins {
|
||||
.jenkins-config {
|
||||
|
||||
// For a tabbar, the default is to hide all of the table rows.
|
||||
.config-table.tabbed > tbody > tr {
|
||||
display: none;
|
||||
}
|
||||
// ... and then show them when given the "active" class.
|
||||
.config-table.tabbed > tbody > tr.active {
|
||||
display: table-row;
|
||||
}
|
||||
.jenkins-config {
|
||||
|
||||
// For a tabbar, the default is to hide all of the table rows.
|
||||
tr.config-table-top-row {
|
||||
display: none;
|
||||
}
|
||||
// ... and then show them when given the "active" class.
|
||||
tr.config-table-top-row.active {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -100,7 +100,9 @@ function ConfigTableMetaData(configForm, configTable) {
|
||||
}
|
||||
|
||||
ConfigTableMetaData.prototype.getTopRows = function() {
|
||||
return this.configTableBody.children('tr');
|
||||
var topRows = this.configTableBody.children('tr');
|
||||
topRows.addClass('config-table-top-row');
|
||||
return topRows;
|
||||
};
|
||||
|
||||
ConfigTableMetaData.prototype.getFirstRow = function() {
|
||||
|
||||
Reference in new issue
Block a user