]> andersk Git - sql.git/blobdiff - www/templates/common/skeleton.tmpl
implemented base interface
[sql.git] / www / templates / common / skeleton.tmpl
diff --git a/www/templates/common/skeleton.tmpl b/www/templates/common/skeleton.tmpl
new file mode 100644 (file)
index 0000000..761c0d2
--- /dev/null
@@ -0,0 +1,61 @@
+#from mitsql import config
+#import cherrypy, time
+#set global x_agent = cherrypy.request.headers.get('X-Agent', 'Mozilla')
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+    #set page_title = $title.split('|')[0]
+    <title>$page_title</title>
+    <link rel="stylesheet" type="text/css" href="/assets/css/style.css?$time.time" />
+    <link rel="icon" type="image/png" href="/assets/images/favicon.ico" />
+    <script type="text/javascript" src="/assets/js/prototype.js"></script>
+    #block head_append
+    #end block head_append
+</head>
+<body>
+<div id="farouter">
+    <div id="outer">
+        <div id="masthead">
+            <h1 id="title">$title</h1>
+            <h1 id="sitename"><a href="http://sql.mit.edu/" target="_top">sql.mit.edu</a></h1>
+            <h2 id="tagline">MIT SIPB MySQL Service for Athena<br />
+                email: sql@mit.edu</h2>
+        </div>
+        <div id="hmenu">
+            <div id="hnav">
+                <ul id="navlist">
+<div style="float:left;">
+<li><a href="/db/list">Manage DBs</a></li>
+<li><a href="do/setup">Account</a></li>
+<li><a href="do/admin/main">Admin</a></li>
+<li><a href="do/logout">Logout</a></li>
+<li><a href="do/signup">Sign up</a></li>
+<li><a href="https://scripts.mit.edu/~sql/phpMyAdmin/" target="_blank">phpMyAdmin</a></li>
+</div>
+<div style="text-align: right;">
+Login via:
+    <li><a href="do/login?ssl=0">SQL Password</a></li>
+    <li class="menu_last"><a href="do/login?ssl=1">MIT Certificate</a></li>
+</div>
+                </ul>
+            </div>
+        </div>
+        <div id="main">
+            <div id="content_wide">
+      #block body
+      #end block body
+            </div><!-- end#content -->
+        </div><!-- end#main -->
+
+        <!-- footer -->
+        <div id="foot">&nbsp;</div><!-- end#foot -->
+        <div id="clearer">&nbsp;</div><!-- end#clearer -->
+        <div id="footer">
+            <p id="credit" style="text-align: right;">
+                <strong><em>sql.mit.edu v2.0</em></strong>&nbsp;
+            </p>
+        </div><!-- end#footer -->
+    </div><!-- end#outer -->
+</div><!-- end#farouter -->
+</body>
+</html>
This page took 0.025672 seconds and 4 git commands to generate.