Projects
Eulaceura:Factory
migration-tools
_service:obs_scm:0008-software-source-input-box...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0008-software-source-input-box-diversity.patch of Package migration-tools
From a907626a9f13fcc59ae2545cad51d5876aa126e1 Mon Sep 17 00:00:00 2001 From: lihaipeng <lihaipeng@uniontech.com> 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="请输入软件仓库路径" + } + } + </script> </body> </html> -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2