浏览代码

重置构建状态时添加一个确认对话框作为一个缓冲

reghao 1 年之前
父节点
当前提交
651caf25a8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mgr/src/main/resources/templates/devops/app/bd/index.html

+ 3 - 1
mgr/src/main/resources/templates/devops/app/bd/index.html

@@ -49,7 +49,9 @@
                         </i>
                     </button>
                     <button class="layui-btn">
-                        <i class="fa fa-recycle"><a class="ajax-post" th:href="@{/api/app/bd/reset}">重置构建状态</a></i>
+                        <i class="fa fa-recycle">
+                            <a class="ajax-post" th:attr="data-msg='确定要重置状态'" th:href="@{/api/app/bd/reset}">重置构建状态</a>
+                        </i>
                     </button>
                 </div>
             </div>