cli instead of web

This commit is contained in:
who
2007-11-12 14:52:41 +01:00
parent 261b60d003
commit 4686523707
14 changed files with 75 additions and 254 deletions

View File

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

View File

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

View File

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

View File

@ -1,42 +0,0 @@
<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

@ -1,17 +0,0 @@
#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

@ -1 +0,0 @@
bye

View File

@ -0,0 +1,6 @@
#include "templates/header.inc"
#include "templates/footer.inc"

View File

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