File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 7
7
< div class =" modal-dialog" role=" document" >
8
8
< div class =" modal-content" >
9
9
< div class =" modal-body" >
10
- < p> 命令已开始执行< / p>
10
+ < p class = " text-success " > 命令已开始执行< / p>
11
11
< p>
12
- < a href=" /command/log/{{ command.id }}?server_id={{ server.id }}&ip={{ server.ip }}&port={{ server.port }}" data- nopjax target=" _blank" class =" btn btn-primary " > 查看日志< / a>
12
+ < a href=" /command/log/{{ command.id }}?server_id={{ server.id }}&ip={{ server.ip }}&port={{ server.port }}" data- nopjax target=" _blank" class =" btn btn-success " > 查看日志< / a>
13
13
或前往< a href=" /command/history?server_id={{ server.id }}" id=" link" data- nopjax> 命令执行历史< / a> 页面执行更多操作。
14
14
< / p>
15
15
< / div>
Original file line number Diff line number Diff line change @@ -78,15 +78,12 @@ $(function() {
78
78
79
79
editor.setSize(' 100%' , ' 100%' );
80
80
81
- $(' a[data-toggle="tab"]' ).on(' shown.bs.tab' , function (e) {
82
- editor.refresh();
83
- });
84
-
85
- $(ini_editor).change(function () {
86
- editor.refresh();
81
+ editor.on(' change' ,function (cMirror){
82
+ cMirror.refresh();
83
+ editor.setSize(' 100%' , ' 100%' );
87
84
});
88
85
89
- $(ini_editor).blur( function ( ) {
86
+ $(' a[data-toggle="tab"] ' ).on( ' shown.bs.tab ' , function (e ) {
90
87
editor.refresh();
91
88
});
92
89
}
You can’t perform that action at this time.
0 commit comments