started working on pulblic pages
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
<body id="login">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
<h1>Widerhall List Creation</h1>
|
||||
«messages()»
|
||||
|
||||
17
static/templates/admin.st
Normal file
17
static/templates/admin.st
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
<h1>Widerhall Administration</h1>
|
||||
«messages()»
|
||||
«userlist()»
|
||||
«listlist()»
|
||||
</body>
|
||||
</html>
|
||||
@@ -6,10 +6,10 @@
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
<body>
|
||||
<body id="login">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
«messages()»
|
||||
«userlist()»
|
||||
«listlist()»
|
||||
<h1>Widerhall Index page</h1>
|
||||
</body>
|
||||
</html>
|
||||
5
static/templates/navigation.st
Normal file
5
static/templates/navigation.st
Normal file
@@ -0,0 +1,5 @@
|
||||
<nav>
|
||||
<a href="index">Home</a>
|
||||
<a href="admin">Administration</a>
|
||||
<a class="button" href="reload" />Reload templates</a>
|
||||
</nav>
|
||||
@@ -7,6 +7,7 @@
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
<body id="login">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
<h1>Widerhall user registration</h1>
|
||||
«messages()»
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
«if(data.user)»
|
||||
<div class="user">
|
||||
Logged in as <em>«data.user.name»</em>
|
||||
<a class="button" href="reload" />Reload templates</a>
|
||||
|
||||
<a class="button" href="logout" />Logout</a>
|
||||
</div>
|
||||
«endif»
|
||||
Reference in New Issue
Block a user