Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/views/default/_base.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/_base.html')
-rw-r--r--views/default/_base.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/_base.html b/views/default/_base.html
new file mode 100644
index 0000000..a277d77
--- /dev/null
+++ b/views/default/_base.html
@@ -0,0 +1,25 @@
+<html>
+ <link rel="stylesheet" href="../static/glike.css" type="text/css" />
+ <head>
+ <title>Turtle Art Image Database</title>
+ </head>
+ <body>
+ <div id="header">
+ <h1><a href="index.html" >Home</a></h1>
+ <ul>
+ {{if auth.is_logged_in():}}
+ <li><a href={{="index?profile="+auth.user.username}}>{{=auth.user.username}}</a>: </li>
+ <li><a href="user/logout">Log Out</li>
+ <li><a href="upload.html" >New Image</a></li>
+ {{pass}}
+ {{if not auth.is_logged_in():}}
+ <li><a href="user.html">log in</a></li>
+ {{pass}}
+ </ul>
+ </div>
+ <div id='bodycontent'>
+ {{include}}
+ </div>
+ </body>
+ </style>
+</html>