迁移数据库为postgresql
This commit is contained in:
19
templates/study/login.html
Normal file
19
templates/study/login.html
Normal file
@@ -0,0 +1,19 @@
|
||||
登录页面
|
||||
<br>
|
||||
<form method="post" action="./">
|
||||
用户名:
|
||||
<br>
|
||||
<input type="text" name="username" id="lower" required>
|
||||
<br>
|
||||
密码:
|
||||
<br>
|
||||
<input type="password" name="passwd" required>
|
||||
<br>
|
||||
<button type="submit">登录</button>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
document.getElementById('lower').addEventListener('input', function() {
|
||||
this.value = this.value.toLowerCase();
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user