1 Star 0 Fork 10

Ya-haha/migration-tools-src

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0009-disable-button-for-system-type-and-space.patch 2.16 KB
一键复制 编辑 原始数据 按行查看 历史
LiHaiPeng 提交于 2024-09-04 16:44 +08:00 . disable button for system type and space
From 27b96502632535b0fcf70bc0bf80d3f876dc2b2f Mon Sep 17 00:00:00 2001
From: lihaipeng <lihaipeng@uniontech.com>
Date: Wed, 4 Sep 2024 15:25:41 +0800
Subject: [PATCH] disable button for system type and space
---
templates/MT_check_evn.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/templates/MT_check_evn.html b/templates/MT_check_evn.html
index 47b2029..fc18af1 100755
--- a/templates/MT_check_evn.html
+++ b/templates/MT_check_evn.html
@@ -52,8 +52,8 @@
<hr style="opacity: 0.1;border: 1px solid #4C4D4E;width:99%;" />
</br>
</br>
- <button onclick="close_tool();" data-toggle="modal" data-target="#exampleModal" type="submit" class="menter_btn_a_a_lf" data-locale="Exit" style="text-align: center; line-height: 37px; color:black; font-size:18px;"><style>a{TEXT-DECORATION:none}</style>上一步</button>
- <button id="check_id" onclick="save()" type="submit" class="menter_btn_a_a_lf" name="" style="text-align: center; line-height: 37px; color:black; font-size:18px;opacity: 0.2;" disabled = "disabled"><style>a{TEXT-DECORATION:none}</style>下一步</button>
+ <button id="last_step" onclick="close_tool();" data-toggle="modal" data-target="#exampleModal" type="submit" class="menter_btn_a_a_lf" data-locale="Exit" style="text-align: center; line-height: 37px; color:black; font-size:18px;" disabled="disabled"><style>a{TEXT-DECORATION:none}</style>上一步</button>
+ <button id="check_id" onclick="save()" type="submit" class="menter_btn_a_a_lf" style="text-align: center; line-height: 37px; color:black; font-size:18px;opacity: 0.2;" disabled = "disabled"><style>a{TEXT-DECORATION:none}</style>下一步</button>
</div>
</div>
</div>
@@ -122,6 +122,8 @@
if (os_res == '1' && storage_res == '1') {
document.getElementById('check_id').style.opacity = "1"
document.getElementById('check_id').removeAttribute("disabled");
+ document.getElementById('last_step').style.opacity = "1"
+ document.getElementById('last_step').removeAttribute("disabled");
os_res.name = '0';
storage_res.name = '0';
}
--
2.43.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuezhizone/migration-tools-src.git
git@gitee.com:xuezhizone/migration-tools-src.git
xuezhizone
migration-tools-src
migration-tools-src
master

搜索帮助