diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-27 10:07:45 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-27 10:10:06 +0800 |
commit | a8d260a0ef20e92f5ddf8bcb945cdbd0de6c501a (patch) | |
tree | 9d42e07b60a64548166b113c231ca723b92d5099 /jimbrella/templates/auth.html | |
parent | 09bd022f5a713c24ab376f0d0901aba436dc151a (diff) |
Split umbrellas.html into desktop and mobile view
Because the difference is friggin massive
Diffstat (limited to 'jimbrella/templates/auth.html')
-rw-r--r-- | jimbrella/templates/auth.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/jimbrella/templates/auth.html b/jimbrella/templates/auth.html new file mode 100644 index 0000000..9fb1e14 --- /dev/null +++ b/jimbrella/templates/auth.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> + <head> + <title>JI Umbrella</title> + <link rel="stylesheet" href="/static/jimbrella.css" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + </head> + <body> + {% if action == "login" %} + <h1>Login to JI Umbrella</h1> + {% else %} + <h1>Register for JI Umbrella</h1> + {% 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> + </div> + </body> +</html> |