summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-28 10:31:50 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-28 10:31:50 +0800
commit769f43a6e09ef9c50884a3cda463175ae09d1600 (patch)
treea44b3b885f79df43ef45bd4cc654a90159454ecc /jimbrella
parent59ccf598739353e94a71391a7807923f78a71f15 (diff)
Stylize auth page
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/static/jimbrella.css8
-rw-r--r--jimbrella/templates/auth.html14
2 files changed, 12 insertions, 10 deletions
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 8f694d4..1407253 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -60,19 +60,19 @@ input.db-edit {
max-width: 10em;
}
-.error {
+.error, .red {
background-color: #e89d9d;
}
-.overdue {
+.overdue, .pink {
background-color: #e99fd3;
}
-.lent {
+.lent, .blue {
background-color: #9fd3e9;
}
-.available {
+.available, .green {
background-color: #d3e99f;
}
diff --git a/jimbrella/templates/auth.html b/jimbrella/templates/auth.html
index 9fb1e14..a6a7b5a 100644
--- a/jimbrella/templates/auth.html
+++ b/jimbrella/templates/auth.html
@@ -1,3 +1,4 @@
+{# Login and register interface #}
<!DOCTYPE html>
<html>
<head>
@@ -13,16 +14,17 @@
{% endif %}
<div id="container">
- {% include "admin/tabs.html" %}
<div class="banner-container">
{% if error %}
<div class="banner error">{{ error }}</div>
{% endif %}
- <form method="post" action="/{{ action }}">
- <input name="username" placeholder="Username" /> <br />
- <input name="password" type="password" placeholder="Password" /> <br />
- <input type="submit" value="{{ action|capitalize }}" />
- </form>
+ <div class="banner blue">
+ <form method="post" action="/{{ action }}">
+ <input name="username" placeholder="Username" /> <br /> <br />
+ <input name="password" type="password" placeholder="Password" /> <br /> <br />
+ <input type="submit" value="{{ action|capitalize }}" />
+ </form>
+ </div>
</div>
</div>
</body>