Commits

Kai Diefenbach committed 8dd2bc3

Added on-the-fly template selection

Comments (0)

Files changed (2)

lfc_theme/static/css/lfc.css

     padding-right: 30px;
 }
 
+#management {
+    background-color: #ddd;
+    margin: 0;
+}
+
+#management .container {
+    line-height: 30px;
+}
+
 #header {
     background-color: #b85018;
     color: black;
 
 #login {
     text-align: right;
-    padding-bottom: 20px;
 }
 
 /* tabs */

lfc_theme/templates/lfc/base.html

         {% block javascript %}{% endblock %}
     </head>
     <body class="{{ lfc_context.slug }} {% block section %}{% endblock %}">
-        <div id="header">
-            {% if user.is_authenticated %}
+        {% if user.is_authenticated %}
+
+            <div id="management">
                 <div class="container">
-                    <div id="login" class="span-24 last">
+                    <div class="span-12">
+                        {% templates %}
+                    </div>
+                    <div id="login" class="span-12 last">
                         <span class="site-actions">
                             {% if user.last_name %}
                                 <span>{{user.first_name}} {{user.last_name}}</span>
                         </span>
                     </div>
                 </div>
-
-            {% endif %}
-
+            </div>
+        {% endif %}
+        <div id="header">
             {% if LFC_MULTILANGUAGE %}
                 <div class="container logo">
                     <div class="span-18">