提交 2b0b537f 编写于 作者: T tfennelly

Changed config table CSS class to "config-table"

It was "job-config".
上级 1d587a7e
......@@ -31,11 +31,11 @@ THE SOFTWARE.
<st:include page="sidepanel.jelly" />
<f:breadcrumb-config-outline />
<l:main-panel>
<l:js src="jsbundles/config-scrollspy.js" />
<l:css src="jsbundles/config-scrollspy.css" />
<l:js src="jsbundles/config-tabbar.js" />
<l:css src="jsbundles/config-tabbar.css" />
<div class="behavior-loading">${%LOADING}</div>
<f:form method="post" action="configSubmit" name="config" tableClass="job-config scrollspy">
<f:form method="post" action="configSubmit" name="config" tableClass="config-table tabbed">
<j:set var="descriptor" value="${it.descriptor}" />
<j:set var="instance" value="${it}" />
......
......@@ -5,7 +5,7 @@ var windowHandle = require('window-handle');
$(function() {
var tabBarWidget = require('./widgets/config/tabbar.js');
tabBarWidget.addPageTabs('.job-config.scrollspy', function(tabBar) {
tabBarWidget.addPageTabs('.config-table.scrollspy', function(tabBar) {
tabBarWidget.addFinderToggle(tabBar);
tabBar.onShowSection(function() {
// Hook back into hudson-behavior.js
......
......@@ -5,7 +5,7 @@ var jenkinsLocalStorage = require('./util/jenkinsLocalStorage.js');
$(function() {
var tabBarWidget = require('./widgets/config/tabbar.js');
tabBarWidget.addPageTabs('.job-config.tabbed', function(tabBar) {
tabBarWidget.addPageTabs('.config-table.tabbed', function(tabBar) {
// We want to merge some sections together.
// Merge the "Advanced" section into the "General" section.
var generalSection = tabBar.getSection('config_general');
......
......@@ -23,11 +23,11 @@
.jenkins-config {
// For a tabbar, the default is to hide all of the table rows.
table.job-config > tbody > tr {
.config-table.tabbed > tbody > tr {
display: none;
}
// ... and then show them when given the "active" class.
table.job-config > tbody > tr.active {
.config-table.tabbed > tbody > tr.active {
display: table-row;
}
......
......@@ -94,12 +94,12 @@
.showTabs{
display:block;
text-align:right;
}
table{
table {
border-collapse:collapse;
.bottom-sticker-edge {
display:none;
}
......
<form name="config" action="configSubmit" method="post" class="jenkins-config">
<table width="100%" class="job-config tabbed">
<table width="100%" class="config-table tabbed">
<tbody>
<tr>
<td class="setting-name">Project name</td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册