Refactor and remove sqlite and replace with MySQL
This commit is contained in:
23
web/templates/account/login.html
Normal file
23
web/templates/account/login.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{ define "content" }}
|
||||
<h2>Login</h2>
|
||||
<form method="POST" action="/account/login" class="form">
|
||||
{{ .CSRFField }}
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" name="username" id="username" required class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" name="password" id="password" required class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="form-check mb-3">
|
||||
<input type="checkbox" name="remember" id="remember" class="form-check-input">
|
||||
<label for="remember" class="form-check-label">Remember Me</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</form>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user