aboutsummaryrefslogtreecommitdiff
path: root/t/newuser.t
diff options
context:
space:
mode:
Diffstat (limited to 't/newuser.t')
-rw-r--r--t/newuser.t35
1 files changed, 35 insertions, 0 deletions
diff --git a/t/newuser.t b/t/newuser.t
new file mode 100644
index 0000000..a0a0dd9
--- /dev/null
+++ b/t/newuser.t
@@ -0,0 +1,35 @@
+<% #include "head.tc" %>
+<h1>New User</h1>
+<% if(*msg){ %>
+<p style="color: red;"><%= msg %></p>
+<% } %>
+<form class="<% if(hlite) printf("hlite-%s", hlite); %>" action="?new=user" method="POST">
+ <table border="0">
+ <tr id="name">
+ <td><label for="name">Username</label></td>
+ <td><input type="text" name="name" value="<% if(name) printf("%s", name); %>"></td>
+ </tr>
+ <tr id="full">
+ <td><label for="full">Full Name</label></td>
+ <td><input type="text" name="full" value="<% if(full) printf("%s", full); %>"></td>
+ <td><small>(optional)</small></td>
+ </tr>
+ <tr id="pass">
+ <td><label for="pass">Password</label></td>
+ <td><input type="password" name="pass" value=""></td>
+ </tr>
+ <tr id="confirm">
+ <td><label for="confirm">Confirm</label></td>
+ <td><input type="password" name="confirm" value=""></td>
+ </tr>
+ </table>
+ <p>By clicking <i>Create</i>, you confirm</p>
+ <ol>
+ <li>that this user is a real human,</li>
+ <li>that you will not abuse the service,</li>
+ <li>that the information you provide will be saved on the server, and</li>
+ <li>that your user may be terminated by an administrator at any point and for any reason.</li>
+ </ol>
+ <p><input type="submit" value="Create &rarr;"></p>
+</form>
+<% #include "foot.tc" %> \ No newline at end of file