This commit is contained in:
chenyang
2022-06-30 11:07:23 +08:00
parent 71543e99b0
commit 74b81559ad
3 changed files with 56 additions and 44 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-92%z)%dv$x)-254f2ixp(ctnua4%^@=db&(ha4i-i2p2er(+^&'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = []
+8
View File
@@ -95,3 +95,11 @@ body {
.card-body .btn {
margin-top: 5px;
}
.modal-body input {
margin-top: 6px;
}
.modal-body button {
margin-top: 10px;
}
+5 -1
View File
@@ -89,10 +89,14 @@
<div class="modal-body register_group" style="display: none;height: 360px;">
<h1 class="h3 mb-3 font-weight-normal">请输入用户名和密码</h1>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" autocomplete="off" required autofocus>
<label for="inputPassword" class="sr-only">Password</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
<label for="inputPassword" class="sr-only">Password</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password Again" required>
<button class="btn btn-lg btn-primary btn-block" type="submit">注册</button>
</div>
<!--register end-->