aboutsummaryrefslogtreecommitdiff
path: root/t/login.t
blob: 489950736889a3f3d2aafb58bad878df4e63940c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% #include "head.tc" %>
<h1>Log In</h1>
<% if(*msg){ %>
<p style="color: red;"><%= msg %></p>
<% } %>
<form class="<% if(hlite) printf("hlite-%s", hlite); %>" action="?new=session" method="POST">
	<table border="0">
		<tr id="name">
			<td><label for="name">Username</label></td>
			<td><input type="text" name="name" value="<% if(name) printhtml(name); %>"></td>
		</tr>
		<tr id="pass">
			<td><label for="pass">Password</label></td>
			<td><input type="password" name="pass" value=""></td>
		</tr>
	</table>
	<p><input type="submit" value="Log in &rarr;"></p>
</form>
<% #include "foot.tc" %>