Started working on the skeleton of an actual website. Created barebones templates...
[~kgodey/maayanwich.git] / templates / base.html
1 <html>
2         <head>
3                 <link rel="stylesheet" href="http://127.0.0.1:8000/sandwiches/style.css" type="text/css">
4                 <title>{% block title %}Ma'ayanwich Tracker{% endblock %}</title>
5         </head>
6         <body>
7                 <div id="wrapper">
8                         <div id="header">
9                                 <h1 class="header">Ma'ayanwich Tracker</h1>
10                         </div>
11                         <div id="sidebar">
12                                 <h3 class="navtitle">NAVIGATION</h3>
13                                 <ul class="nav">
14                                         <li><a href="http://127.0.0.1:8000/sandwich/all/" class="navlink">All sandwiches</a></li>
15                                         <li><a href="http://127.0.0.1:8000/sandwich/add/" class="navlink">Add sandwich</a></li>
16                                         <li><a href="http://127.0.0.1:8000/login/" class="navlink">Login</a></li>
17                                         <li><a href="http://127.0.0.1:8000/signup/" class="navlink">Signup</a></li>
18                                         <li>Monthly Links (TODO)</li>
19                                         <li>Logout (TODO)</li>
20                                 </ul>
21                                 <h3 class="navtitle">NEWEST</h3>
22                                 <ul class="newest">
23                                         {% for s in sandwiches %}
24                                                 <li>{{ s.adjective }}</li>
25                                         {% endfor %}
26                                 </ul>
27                         </div>
28                         <div id="content">
29                                 {% block content %}     
30                                 {% endblock %}
31                         </div>
32                 </div>
33         <body>
34 </html>