提交 e0ed8daa authored 作者: xueli.xue's avatar xueli.xue

GLUE源码编辑器优化

上级 6a8f42a2
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <#--<section class="content-header">
<h1>任务调度中心<small>任务GLUE管理</small></h1> <h1>任务调度中心<small>任务GLUE管理</small></h1>
</section> </section>-->
<!-- Main content --> <!-- Main content -->
<section class="content"> <section class="content">
<div class="row"> <div class="row">
...@@ -75,17 +75,17 @@ ...@@ -75,17 +75,17 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row" id="glueSource" >
<div class="col-xs-12"> <#--<div class="col-xs-12">
<div class="box callout callout-info"> <div class="box callout callout-info">
<textarea id="glueSource" ></textarea> <textarea id="glueSource" ></textarea>
</div> </div>
</div> </div>-->
</div> </div>
</section> </section>
</div> </div>
<!-- footer --> <!-- footer -->
<@netCommon.commonFooter /> <#--<@netCommon.commonFooter />-->
</div> </div>
<@netCommon.commonScript /> <@netCommon.commonScript />
......
$(function() { $(function() {
// init code editor // init code editor
var codeEditor = CodeMirror.fromTextArea(document.getElementById("glueSource"), { /*var codeEditor = CodeMirror.fromTextArea(document.getElementById("glueSource"), {
mode : "text/x-java",
lineNumbers : true,
matchBrackets : true
});*/
var codeEditor = CodeMirror(document.getElementById("glueSource"), {
mode : "text/x-java", mode : "text/x-java",
lineNumbers : true, lineNumbers : true,
matchBrackets : true matchBrackets : true
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论