Commits

Rod Morison committed c8b2619 Draft

first customization:
- customize base.html
- some custom css
- remove left & bottom menus
- add title, tagline and tz to settings

  • Participants
  • Parent commits eccd4bb

Comments (0)

Files changed (4)

 # menus a page should appear in. Note that if a menu template is used
 # that doesn't appear in this setting, all pages will appear in it.
 
-# PAGE_MENU_TEMPLATES = (
-#     (1, "Top navigation bar", "pages/menus/dropdown.html"),
+PAGE_MENU_TEMPLATES = (
+    (1, "Top navigation bar", "pages/menus/dropdown.html"),
 #     (2, "Left-hand tree", "pages/menus/tree.html"),
 #     (3, "Footer", "pages/menus/footer.html"),
-# )
+)
 
 # A sequence of fields that will be injected into Mezzanine's (or any
 # library's) models. Each item in the sequence is a four item sequence.
 # timezone as the operating system.
 # If running in a Windows environment this must be set to the same as your
 # system time zone.
-TIME_ZONE = None
+TIME_ZONE = "America/Los_Angeles"
 
 # If you set this to True, Django will use timezone-aware datetimes.
 USE_TZ = True
 SESSION_EXPIRE_AT_BROWSER_CLOSE = True
 
 SITE_ID = 1
+SITE_TITLE = "rodmtech"
+SITE_TAGLINE = "docs & thoughts"
+
 
 # If you set this to False, Django will make some optimizations so as not
 # to load the internationalization machinery.

File static/css/rodmtech.css

+body {
+  background-color: #ddd;
+}
+
+.container {
+  width: 1000px;
+}
+
+.navbar {
+  width: 1020px;
+  height: 138px;
+  margin-left: auto;
+  margin-right: auto;
+  background: url(/static/img/alabamahills2.jpg);
+}
+
+.navbar-inner {
+  opacity:0.75;
+}
+
+.navbar .brand {
+  color: #add;
+}

File static/img/alabamahills2.jpg

Added
New image

File templates/base.html

 <link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css">
 <link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.responsive.css">
 <link rel="stylesheet" href="{{ STATIC_URL }}css/mezzanine.css">
+<link rel="stylesheet" href="{{ STATIC_URL }}css/rodmtech.css">
 {% ifinstalled cartridge.shop %}
 <link rel="stylesheet" href="{{ STATIC_URL }}css/cartridge.css">
 {% endifinstalled %}
 <div class="container">
 <div class="row">
 
-<div class="span2 left">
+<div class="span1 left">
     {% block left_panel %}
-    <div class="panel tree">{% page_menu "pages/menus/tree.html" %}</div>
     {% endblock %}
 </div>
 
 
 <footer>
 <div class="container">
-{% page_menu "pages/menus/footer.html" %}
-<br style="clear:both">
 <p>
     {% trans "Powered by" %}
     <a href="http://mezzanine.jupo.org">Mezzanine</a>{% ifinstalled cartridge.shop %},