mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
Remove sidepanel from newJob.jelly
And set the body element classes via the cssclass attr
This commit is contained in:
1 parent
32e8d3b1e3
commit
ea83e95a71
2 files changed
+2
-8
No files matched your search
@@ -29,12 +29,11 @@ THE SOFTWARE.
|
||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:s="/lib/form">
|
||||
<j:getStatic var="permission" className="hudson.model.Item" field="CREATE"/>
|
||||
|
||||
<l:layout norefresh="true" cssclass="add-item" permission="${permission}" title="${%NewJob(it.newPronoun)}">
|
||||
<l:layout norefresh="true" cssclass="add-item main-panel-only" permission="${permission}" title="${%NewJob(it.newPronoun)}">
|
||||
|
||||
<l:js src="jsbundles/add-item.js" />
|
||||
<l:css src="jsbundles/add-item.css" />
|
||||
|
||||
<st:include page="sidepanel.jelly" />
|
||||
<l:main-panel>
|
||||
|
||||
<s:form method="post" action="createItem" name="createItem">
|
||||
|
||||
@@ -29,12 +29,7 @@ $.when(getItems()).done(function(data){
|
||||
var $tabs = $('<div class="jenkins-config-widgets" />').appendTo($newView);
|
||||
var $categories = $('<div class="categories" />').appendTo($newView);
|
||||
var $subBtn = $('#bottom-sticker .yui-submit-button');
|
||||
var sectionsToShow = [];
|
||||
|
||||
////////////////////////////////
|
||||
// mark page for layout
|
||||
$('body').addClass('add-item main-panel-only');
|
||||
|
||||
var sectionsToShow = [];
|
||||
|
||||
////////////////////////////////
|
||||
// submit button click
|
||||
|
||||
Reference in new issue
Block a user