mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
Taking advantage of https://github.com/stapler/stapler-adjunct-codemirror/issues/1 for new CodeMirror.
This commit is contained in:
1 parent
d9188ce2ad
commit
5789f0c75c
2 files changed
+2
-2
No files matched your search
@@ -25,5 +25,5 @@ package hudson.tasks.Shell;
|
||||
f=namespace(lib.FormTagLib)
|
||||
|
||||
f.entry(title:_("Command"),description:_("description",rootURL)) {
|
||||
f.textarea(name:"command",value:instance?.command,class:"fixed-width")
|
||||
f.textarea(name: "command", value: instance?.command, class: "fixed-width", 'codemirror-mode': 'shell')
|
||||
}
|
||||
@@ -48,7 +48,7 @@ THE SOFTWARE.
|
||||
<f:submit value="${%Run}"/>
|
||||
</div>
|
||||
</form>
|
||||
<st:adjunct includes="org.kohsuke.stapler.codemirror.mode.clike.clike"/>
|
||||
<st:adjunct includes="org.kohsuke.stapler.codemirror.mode.groovy.groovy"/>
|
||||
<st:adjunct includes="org.kohsuke.stapler.codemirror.theme.default"/>
|
||||
<j:if test="${output!=null}">
|
||||
<h2>${%Result}</h2>
|
||||
|
||||
Reference in new issue
Block a user