diff --git a/0008-software-source-input-box-diversity.patch b/0008-software-source-input-box-diversity.patch new file mode 100644 index 0000000000000000000000000000000000000000..7fb338e86e43a4be7a0c4cce7afdb6211452025b --- /dev/null +++ b/0008-software-source-input-box-diversity.patch @@ -0,0 +1,35 @@ +From a907626a9f13fcc59ae2545cad51d5876aa126e1 Mon Sep 17 00:00:00 2001 +From: lihaipeng +Date: Wed, 4 Sep 2024 13:26:20 +0800 +Subject: [PATCH] software source input box diversity + +--- + templates/MT_repo.html | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/templates/MT_repo.html b/templates/MT_repo.html +index c5fa384..6f1f605 100755 +--- a/templates/MT_repo.html ++++ b/templates/MT_repo.html +@@ -112,6 +112,18 @@ + } + }); + ++ let repo_pwd=document.querySelector('#repo_pwd') ++ repo_pwd.onfocus=function(){ ++ if(repo_pwd.value=="请输入软件仓库路径"){ ++ repo_pwd.value="" ++ } ++ } ++ repo_pwd.onblur=function(){ ++ if(repo_pwd.value==''){ ++ repo_pwd.value="请输入软件仓库路径" ++ } ++ } ++ + + + +-- +2.43.0 + diff --git a/migration-tools.spec b/migration-tools.spec index 3a52b57ce0ca60f1bde96a125bb86c3bcd2c4fbd..b39ae815513e725e177276e8ee9359d12337c049 100644 --- a/migration-tools.spec +++ b/migration-tools.spec @@ -1,6 +1,6 @@ Name: migration-tools Version: 1.0.1 -Release: 10 +Release: 11 License: MulanPSL-2.0 Summary: A tool to help users migrate the Centos system to the UOS system and openEuler system Source0: migration-tools.tar.gz @@ -14,6 +14,7 @@ Patch3: 0004-fix-cancel-button-function-in-tool.patch Patch4: 0005-system-check-page-before-migration-displayed.patch Patch5: 0006-return-button-after-successful-migration.patch Patch6: 0007-user-name-input-diversity.patch +Patch7: 0008-software-source-input-box-diversity.patch # CVE patches: >= 100 Patch100: 100-CVE-2024-24892.patch @@ -66,6 +67,7 @@ Migration software server side %patch 4 -p1 %patch 5 -p1 %patch 6 -p1 +%patch 7 -p1 %patch 100 -p1 %if 0%{?openEuler} @@ -121,6 +123,9 @@ rm -rf /usr/bin/migration-tools %endif %changelog +* Wed Sep 04 2024 lihaipeng - 1.0.1-11 +- software source repository input field diversity + * Wed Sep 04 2024 lihaipeng - 1.0.1-10 - user name input diversity