started converting to clearsilver templates.
This commit is contained in:
parent
0a6290d480
commit
025f4824fb
7 changed files with 62 additions and 34 deletions
2
templates/footer.cs
Normal file
2
templates/footer.cs
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
</body></html>
|
11
templates/header.cs
Normal file
11
templates/header.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>WebGo</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<link rel="stylesheet" media="screen" href="/default.css" type="text/css" />
|
||||
</head>
|
||||
<h1> WebGo </h1>
|
||||
<body>
|
11
templates/login_form.cs
Normal file
11
templates/login_form.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?cs include:"templates/header.cs" ?>
|
||||
<?cs var:Data.Message ?>
|
||||
<form method="post">
|
||||
<p>Name:<br>
|
||||
<input name="username" type="text" class="text" size="20"></p>
|
||||
<p>Password:<br>
|
||||
<input name="password" type="text" class="text" size="20"></p>
|
||||
<p><input type="submit" class="submit" value="login"></p>
|
||||
</form>
|
||||
<a href="/createaccount"> create account</a><br>
|
||||
<?cs include:"templates/footer.cs" ?>
|
7
templates/main.cs
Normal file
7
templates/main.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?cs include:"templates/header.cs" ?>
|
||||
|
||||
This is WebGo.<br>
|
||||
<a href="/login">login</a><br>
|
||||
<a href="/createaccount">create an account</a><br>
|
||||
|
||||
<?cs include:"templates/footer.cs" ?>
|
Loading…
Add table
Add a link
Reference in a new issue