aboutsummaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/index.html5
-rw-r--r--views/login.html26
2 files changed, 30 insertions, 1 deletions
diff --git a/views/index.html b/views/index.html
index 9e97b16b..fa2cd0c3 100644
--- a/views/index.html
+++ b/views/index.html
@@ -13,9 +13,12 @@
<form action="users" method="post">
<h1>Calculator Setup</h1>
- <label for="login">Alias:</label>
+ <label for="login">Username:</label>
<input type="text" id="login" name="login" value="{{user}}" />
+ <label for="password">Password:</label>
+ <input type="password" id="password" name="password" value="" />
+
<label for="name">Title:</label>
<input type="text" id="name" name="name" />
diff --git a/views/login.html b/views/login.html
new file mode 100644
index 00000000..f451db39
--- /dev/null
+++ b/views/login.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=480, height=752, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
+ <title>Bitcoin Payment Calculator</title>
+ <link href="img/favicon.ico" rel="shortcut icon" />
+ {{#css}}common{{/css}}
+ </head>
+ <body>
+ <div class="container-fluid">
+ <form action="login" method="post">
+ <h1>Login</h1>
+
+ <label for="username">Username:</label>
+ <input type="text" id="username" name="username" value="{{user}}" />
+
+ <label for="password">Password:</label>
+ <input type="password" id="password" name="password" />
+
+ <br />
+ <input type="submit" value="Login" />
+ </form>
+ </div>
+ </body>
+</html>