|
|
@@ -15,7 +15,7 @@
|
|
15
|
15
|
}
|
|
16
|
16
|
</style>
|
|
17
|
17
|
</head>
|
|
18
|
|
-<body>
|
|
|
18
|
+<body class=" layout-top-nav">
|
|
19
|
19
|
|
|
20
|
20
|
<div class="wrapper">
|
|
21
|
21
|
|
|
|
@@ -27,12 +27,11 @@
|
|
27
|
27
|
|
|
28
|
28
|
<!-- Main content -->
|
|
29
|
29
|
<section class="content">
|
|
30
|
|
-
|
|
31
|
30
|
<div class="row">
|
|
32
|
31
|
<div class="col-xs-4">
|
|
33
|
32
|
<div class="input-group margin">
|
|
34
|
33
|
<div class="input-group-btn">
|
|
35
|
|
- <button type="button" class="btn btn-default">版本回溯</button>
|
|
|
34
|
+ <button type="button" class="btn btn-info">版本回溯</button>
|
|
36
|
35
|
</div>
|
|
37
|
36
|
<select class="form-control" id="jobGroup" >
|
|
38
|
37
|
<option value="999" >逻辑调整版本C</option>
|
|
|
@@ -45,15 +44,15 @@
|
|
45
|
44
|
<div class="col-xs-4">
|
|
46
|
45
|
<div class="input-group margin">
|
|
47
|
46
|
<div class="input-group-btn">
|
|
48
|
|
- <button type="button" class="btn btn-default">Action</button>
|
|
|
47
|
+ <button type="button" class="btn btn-info">备注</button>
|
|
49
|
48
|
</div>
|
|
50
|
|
- <input type="text" class="form-control" id="jobName" value="${jobName}" autocomplete="on" >
|
|
|
49
|
+ <input type="text" class="form-control" id="codeRemark" value="${jobName}" autocomplete="on" >
|
|
51
|
50
|
</div>
|
|
52
|
51
|
</div>
|
|
53
|
52
|
<div class="col-xs-2">
|
|
54
|
53
|
<div class="input-group margin">
|
|
55
|
54
|
<div class="input-group-btn">
|
|
56
|
|
- <button type="button" class="btn btn-info">保存</button>
|
|
|
55
|
+ <button type="button" class="btn btn-primary" id="save" >保存</button>
|
|
57
|
56
|
</div>
|
|
58
|
57
|
</div>
|
|
59
|
58
|
</div>
|
|
|
@@ -61,8 +60,18 @@
|
|
61
|
60
|
|
|
62
|
61
|
<div class="row">
|
|
63
|
62
|
<div class="col-xs-12">
|
|
64
|
|
- <div class="box">
|
|
65
|
|
- <textarea id="editor" >
|
|
|
63
|
+ <div class="box callout callout-info">
|
|
|
64
|
+ <textarea id="codeSource" ></textarea>
|
|
|
65
|
+ </div>
|
|
|
66
|
+ </div>
|
|
|
67
|
+ </div>
|
|
|
68
|
+ </section>
|
|
|
69
|
+ </div>
|
|
|
70
|
+ <!-- footer -->
|
|
|
71
|
+ <@netCommon.commonFooter />
|
|
|
72
|
+</div>
|
|
|
73
|
+
|
|
|
74
|
+<textarea id="demoCode" >
|
|
66
|
75
|
package com.xxl.job.service.handler;
|
|
67
|
76
|
|
|
68
|
77
|
import org.slf4j.Logger;
|
|
|
@@ -83,16 +92,7 @@ public class DemoJobHandler extends IJobHandler {
|
|
83
|
92
|
return JobHandleStatus.SUCCESS;
|
|
84
|
93
|
}
|
|
85
|
94
|
}
|
|
86
|
|
- </textarea>
|
|
87
|
|
- </div>
|
|
88
|
|
- </div>
|
|
89
|
|
- </div>
|
|
90
|
|
- </section>
|
|
91
|
|
- </div>
|
|
92
|
|
-
|
|
93
|
|
- <!-- footer -->
|
|
94
|
|
- <@netCommon.commonFooter />
|
|
95
|
|
-</div>
|
|
|
95
|
+</textarea>
|
|
96
|
96
|
|
|
97
|
97
|
<@netCommon.comAlert />
|
|
98
|
98
|
<@netCommon.commonScript />
|
|
|
@@ -100,6 +100,9 @@ public class DemoJobHandler extends IJobHandler {
|
|
100
|
100
|
<script src="${request.contextPath}/static/plugins/codemirror/mode/clike/clike.js"></script>
|
|
101
|
101
|
<script src="${request.contextPath}/static/plugins/codemirror/addon/hint/show-hint.js"></script>
|
|
102
|
102
|
<script src="${request.contextPath}/static/plugins/codemirror/addon/hint/anyword-hint.js"></script>
|
|
|
103
|
+<script>
|
|
|
104
|
+var id = ${id!-1};
|
|
|
105
|
+</script>
|
|
103
|
106
|
<script src="${request.contextPath}/static/js/jobcode.index.1.js"></script>
|
|
104
|
107
|
</body>
|
|
105
|
108
|
</html>
|