From a47ccbf56d161230271da576ffe60d393e2602b6 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 2 Dec 2012 00:35:21 +0100 Subject: [PATCH] toplevel menus use pills for now - need alignment --- myslice/static/css/myslice.css | 6 +++++- myslice/templates/logo.html | 1 + myslice/templates/mymenu.html | 19 +++++++++++++++---- myslice/templates/myslice.html | 5 +++-- slice/static/js/sample.js | 1 - slice/templates/sample.html | 10 ++-------- slice/views.py | 2 +- 7 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 myslice/templates/logo.html delete mode 100644 slice/static/js/sample.js diff --git a/myslice/static/css/myslice.css b/myslice/static/css/myslice.css index 4173ccc4..84d376a4 100644 --- a/myslice/static/css/myslice.css +++ b/myslice/static/css/myslice.css @@ -6,7 +6,7 @@ left: 0px; right: 0px; height: 60px; - background-color: #fc9; + background-color: #f8f8f8; } #column-wrap { @@ -26,3 +26,7 @@ #content-related { width: 200px; } + +img.logo { + right:0px; +} diff --git a/myslice/templates/logo.html b/myslice/templates/logo.html new file mode 100644 index 00000000..ff3ed501 --- /dev/null +++ b/myslice/templates/logo.html @@ -0,0 +1 @@ + diff --git a/myslice/templates/mymenu.html b/myslice/templates/mymenu.html index d19b19d1..b32ffa34 100644 --- a/myslice/templates/mymenu.html +++ b/myslice/templates/mymenu.html @@ -1,16 +1,17 @@ {% insert_str prelude "js/mymenu.js" %} {% insert_str prelude "css/mymenu.css" %} -{# this shows how to add raw js code #} -{# {% insert raw_js %} "some script useful for mymenu" {% endinsert %} #} -{# use the raw_css container for css style #} +{# this shows how to add raw js or css code #} +{# {% insert prelude_js %} "some script useful for mymenu" {% endinsert %} #} +{# use the prelude_css container for css style #} + +