From 735e53fa41a4911c1464a25ed0f24ac8769b878f Mon Sep 17 00:00:00 2001 From: Kriti Godey Date: Thu, 4 Mar 2010 15:46:25 -0500 Subject: [PATCH] Started working on the skeleton of an actual website. Created barebones templates for all sandwiches, adding sandwiches, login, signup, adding ingredients and sandwiches by slug. --- templates/allsandwiches.html | 28 ++++++++++------------ templates/base.html | 34 ++++++++++++++++++++++++++ templates/ingredient.html | 21 ++++++++-------- templates/login.html | 20 +++++++--------- templates/newuser.html | 20 +++++++--------- templates/onesandwich.html | 34 +++++++++++++------------- templates/sandwich.html | 21 ++++++++-------- templates/sidebar.html | 7 ++++++ urls.py | 14 +++++------ views.py | 46 ++++++++++++++++++++++++++++-------- 10 files changed, 152 insertions(+), 93 deletions(-) create mode 100644 templates/base.html create mode 100644 templates/sidebar.html diff --git a/templates/allsandwiches.html b/templates/allsandwiches.html index 102f86c..4877263 100644 --- a/templates/allsandwiches.html +++ b/templates/allsandwiches.html @@ -1,20 +1,18 @@ - - - Every Ma'ayanwich Ever! - -

All Ma'ayanwiches

- {% for s in sandwiches %} -

{{ s.adjective }}

-

Made on {{ s.date_made }} and added by {{ s.user.username }}.

- -
Ingredients
-