This commit is contained in:
who
2007-11-12 13:35:58 +01:00
parent 3a5e72c2ed
commit 261b60d003
13 changed files with 465 additions and 79 deletions

View File

@ -0,0 +1,3 @@
<ul>
<li><a href="/person">Person</a></li>
</ul>

View File

@ -0,0 +1,4 @@
<ul>
<li><a href="/change_password">Change password</a></li>
<li><a href="/logout">Logout</a></li>
</ul>

View File

@ -0,0 +1,4 @@
</p>
</div>
</body>
</html>

View File

@ -0,0 +1,42 @@
<html>
<head>
<title>YaDyn</title>
</head>
<body>
<div id="head">
</div>
<div id="goodmsg">
#if $session and $session.goodmsg
<p>
<font color="green">$session.goodmsg</font>
</p>
#end if
</div>
<div id="badmsg">
#if $session and $session.badmsg
<p>
<font color="red">$session.badmsg</font>
</p>
#end if
</div>
<div id="menu">
<p>
#if $session
#include "templates/any_menu.inc"
#end if
#if $session and $session.role == "user"
#include "templates/user_menu.inc"
#end if
#if $session and $session.role == "admin"
#include "templates/admin_menu.inc"
#end if
</p>
</div>
<div id="main">
<p>

View File

@ -0,0 +1,17 @@
#include "templates/header.inc"
<form method="POST">
<table>
<tr>
<td>Username:</td><td><input type="text" name="username" value=""/></td>
</tr><tr>
<td>Password:</td><td><input type="password" name="password" value=""/></td>
</tr>
</table>
<br/>
<input type="submit" name="action" value="Login"/>
</form>
#include "templates/footer.inc"

View File

@ -0,0 +1 @@
bye

View File

@ -0,0 +1,3 @@
<ul>
<li><a href="/personal_statistics">View your personal statistics</a></li>
</ul>