BaseViewier 0.3 - html pages

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
///////////////////////// index.html /////////////////////////
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Авторизация</title>
</head>
<body>
<br>
<H2 align=center>Введите логин и пароль</H2>
<form action="table.py/index" method="POST">
<br>
<table align=center>
<tr>
<td> Login: </td>
<td> <input type="text" name="username"> </td>
</tr>
<tr>
<td> Password: </td>
<td> <input type="text" name="password"> </td>
</tr>
<tr>
<td></td>
<td align=right><input type="submit" value="Go!"> <input type="hidden" name="session" value="12cf4"></td>
</tr>
</table>
</form>
</body>
</html>
///////////////////////// line.tmpl /////////////////////////
<tr>
<td>$date$</td>
<td>$session$</td>
<td>$org$</td>
<td>$sum$</td>
<td>$name$</td>
</tr>