Started working on the skeleton of an actual website. Created barebones templates...
[~kgodey/maayanwich.git] / templates / base.html
diff --git a/templates/base.html b/templates/base.html
new file mode 100644 (file)
index 0000000..7b0eb1f
--- /dev/null
@@ -0,0 +1,34 @@
+<html>
+       <head>
+               <link rel="stylesheet" href="http://127.0.0.1:8000/sandwiches/style.css" type="text/css">
+               <title>{% block title %}Ma'ayanwich Tracker{% endblock %}</title>
+       </head>
+       <body>
+               <div id="wrapper">
+                       <div id="header">
+                               <h1 class="header">Ma'ayanwich Tracker</h1>
+                       </div>
+                       <div id="sidebar">
+                               <h3 class="navtitle">NAVIGATION</h3>
+                               <ul class="nav">
+                                       <li><a href="http://127.0.0.1:8000/sandwich/all/" class="navlink">All sandwiches</a></li>
+                                       <li><a href="http://127.0.0.1:8000/sandwich/add/" class="navlink">Add sandwich</a></li>
+                                       <li><a href="http://127.0.0.1:8000/login/" class="navlink">Login</a></li>
+                                       <li><a href="http://127.0.0.1:8000/signup/" class="navlink">Signup</a></li>
+                                       <li>Monthly Links (TODO)</li>
+                                       <li>Logout (TODO)</li>
+                               </ul>
+                               <h3 class="navtitle">NEWEST</h3>
+                               <ul class="newest">
+                                       {% for s in sandwiches %}
+                                               <li>{{ s.adjective }}</li>
+                                       {% endfor %}
+                               </ul>
+                       </div>
+                       <div id="content">
+                               {% block content %}     
+                               {% endblock %}
+                       </div>
+               </div>
+       <body>
+</html>
\ No newline at end of file