about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/signup.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/signup.html b/templates/signup.html
new file mode 100644
index 0000000..b3cb061
--- /dev/null
+++ b/templates/signup.html
@@ -0,0 +1,34 @@
+{% extends "about.html" %}
+{% block title %}User Sign Up{%endblock%}
+{% block content %}
+
+<table>
+  <tr>
+    <td width="60%">
+      {{ super() }}
+    </td>
+    <td width="40%">
+      <div style="clear: both">
+        <h4 style="float: left">Create an account&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h4>
+        <a href="signin" >or login</a>
+      </div>
+      <hr>
+      <form class="p-2" action="/signup" method="POST">
+        <div class="form-group">                     
+          <input type="name" class="form-control" name="name" id="name" placeholder="Username" required>
+        </div>
+        <div class="form-group">                    
+          <input type="email" class="form-control" name="email" id="email" aria-describedby="emailHelp" placeholder="Email address", value="{{email if email}}" required>
+        </div>
+        <div class="form-group">
+          <input type="password" class="form-control" name="password" id="password" placeholder="Password" required>
+          <div class="dropdown-divider"></div>      
+          <button type="submit" class="btn btn-primary btn-block">Sign Up</button>
+        </div>
+      </form>
+      If you forgot your password, you can <a href = "mailto: hakan@uthsc.edu">send email</a> us to get a new one. Please use your e-mail in the system. You can send to hakan@uthsc.edu
+    </td>
+  </tr>
+</table>
+
+{% endblock %}
\ No newline at end of file