aboutsummaryrefslogtreecommitdiff
path: root/themes/alps
diff options
context:
space:
mode:
Diffstat (limited to 'themes/alps')
-rw-r--r--themes/alps/assets/style.css6
-rw-r--r--themes/alps/login.html17
2 files changed, 17 insertions, 6 deletions
diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css
index 2c8ce16..5225b9d 100644
--- a/themes/alps/assets/style.css
+++ b/themes/alps/assets/style.css
@@ -398,6 +398,12 @@ main table tfoot {
width: 100%;
}
+.action-group .checkbox input {
+ display: inline;
+ width: 1rem;
+ float: left;
+}
+
.actions-message,
.actions-contacts {
display: flex;
diff --git a/themes/alps/login.html b/themes/alps/login.html
index e642050..6f7c372 100644
--- a/themes/alps/login.html
+++ b/themes/alps/login.html
@@ -6,19 +6,24 @@
<form method="post" action="/login">
<div class="action-group">
- <label for="username">
- <strong>Username</strong>
- </label>
+ <label for="username">Username</label>
<input type="text" name="username" id="username" autofocus />
</div>
<div class="action-group">
- <label for="password">
- <strong>Password</strong>
- </label>
+ <label for="password">Password</label>
<input type="password" name="password" id="password" />
</div>
+ {{if .CanRememberMe}}
+ <div class="action-group">
+ <label for="remember-me" class="checkbox">
+ <input type="checkbox" name="remember-me" id="remember-me" />
+ Remember me
+ </label>
+ </div>
+ {{end}}
+
<div class="action-group">
<button type="submit">Sign in</button>
</div>