Kaynağa Gözat

交互优化

xueli.xue 9 yıl önce
ebeveyn
işleme
47011ffdf3

+ 4 - 1
README.md

@@ -23,6 +23,7 @@ git.osc地址:http://git.oschina.net/xuxueli0323/xxl-job
 	9、支持任务失败次数超阈值邮件报警;
 	10、支持在线查看,执行器详细日志;
 	11、支持远程任务执行终止;
+	12、支持登录验证;
 
 # 新版本 V1.2.x,新特性
 	1、支持任务分组;
@@ -41,4 +42,6 @@ git.osc地址:http://git.oschina.net/xuxueli0323/xxl-job
 	
 # 其他说明
 	清楚僵尸任务:qrtz_cron_triggers、qrtz_triggers、qrtz_job_details顺序删除
-	V1.2新增任务日志,记得执行“tables_xxl_log.sql”生成表结构
+
+# 规划中
+	1、任务执行器支持远程加载Groovy;

+ 4 - 0
xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.macro.ftl

@@ -26,6 +26,8 @@
   
 	<!-- scrollup -->
 	<link rel="stylesheet" href="${request.contextPath}/static/plugins/scrollup/image.css">
+	<!-- pace -->
+	<link rel="stylesheet" href="${request.contextPath}/static/plugins/pace/pace-theme-minimal.css">
 </#macro>
 
 <#macro commonScript>
@@ -40,6 +42,8 @@
 
     <!-- scrollup -->
     <script src="${request.contextPath}/static/plugins/scrollup/jquery.scrollUp.min.js"></script>
+    <!-- pace -->
+    <script src="${request.contextPath}/static/plugins/pace/pace.min.js"></script>
     <script src="${request.contextPath}/static/plugins/jquery/jquery.cookie.js"></script>
     <script src="${request.contextPath}/static/js/common.1.js"></script>
 </#macro>

+ 18 - 0
xxl-job-admin/src/main/webapp/static/plugins/pace/pace-theme-minimal.css

@@ -0,0 +1,18 @@
+/* This is a compiled file, you should be editing the file in the templates directory */
+.pace .pace-progress {
+  background: #22df80;
+  position: fixed;
+  z-index: 2000;
+  top: 0;
+  left: 0;
+  height: 2px;
+
+  -webkit-transition: width 1s;
+  -moz-transition: width 1s;
+  -o-transition: width 1s;
+  transition: width 1s;
+}
+
+.pace-inactive {
+  display: none;
+}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 2 - 0
xxl-job-admin/src/main/webapp/static/plugins/pace/pace.min.js