refactor: using word depot in rear instead of admin
This commit is contained in:
43
templates/depot/login.html
Normal file
43
templates/depot/login.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<style>
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>
|
||||
<span><strong>{{ message }}</strong></span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<legend>User login</legend>
|
||||
<p>
|
||||
<label for="username">Username</label>
|
||||
<input name="username" id="username" value="admin" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password</label>
|
||||
<input name="password" id="password" type="password" value="admin" />
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<input type="submit" value="login" />
|
||||
|
||||
{% if next %}
|
||||
<input type="hidden" name="next" value="{{next}}" />
|
||||
{% endif %}
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user