feat: 允许保存的token自动填写

This commit is contained in:
qhy040404
2024-09-07 19:37:39 +08:00
committed by GitHub
parent 4f52128a06
commit c13c15d046

View File

@@ -29,7 +29,7 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
input[type="text"] { input[type="password"] {
width: 90%; width: 90%;
padding: 10px; padding: 10px;
font-size: 16px; font-size: 16px;
@@ -64,7 +64,7 @@
<form id="token-form" onsubmit="event.preventDefault(); submitToken();"> <form id="token-form" onsubmit="event.preventDefault(); submitToken();">
<div class="input-group"> <div class="input-group">
<label for="token-input">Enter Token:</label> <label for="token-input">Enter Token:</label>
<input type="text" id="token-input" required> <input type="password" id="token-input" required>
</div> </div>
<p class="error-message hidden" id="error-message"></p> <p class="error-message hidden" id="error-message"></p>
<button type="submit">Login</button> <button type="submit">Login</button>
@@ -133,4 +133,4 @@
</script> </script>
</body> </body>
</html> </html>