New layout and UI in place
[flowspy] / templates / base.html
index b36c3f6..bb0f83a 100644 (file)
@@ -9,6 +9,7 @@
 <script src="/fodstatic/js/jquery.min.js" type="text/javascript"></script>
 <script src="/fodstatic/js/jquery_csrf_protect.js" type="text/javascript"></script>
 <link rel="stylesheet" type="text/css" href="/fodstatic/css/bootstrap.css">
+<link rel="stylesheet" type="text/css" href="/fodstatic/css/bootstrap-responsive.css">
 <link rel="stylesheet" type="text/css" href="/fodstatic/css/smoothness/jquery-ui-1.8.13.custom.css">
 <link rel="stylesheet" type="text/css" href="/fodstatic/css/base.css">
 
        }
 
 </script>
+<style>
+body {
+    background-color: #EEEEEE;
+    height: 100%;
+    overflow-y: scroll;
+}
+#content {
+    background-color: #FFFFFF;
+    min-height: 100%;
+    padding: 20px;
+    padding-top: 90px;
+    position: relative;
+}
+</style>
 {% block extrahead %}{% endblock %}
 </head>
 
@@ -79,7 +94,7 @@
                                    <div class="container">
                                       
                                    {% block topmenu %}
-                                   <a class="brand" href="{% url group-routes %}"><img src="/fodstatic/fod_logo.png" /></a>
+                                   <a class="brand brandimg" href="{% url group-routes %}"><img src="/fodstatic/img/fod_logo_latest.png" /></a>
                                    <ul class="nav">
                                    {% if user.is_authenticated %}
                                    
                                    </div>    
                                </div>
                        </div>
+                       {% block contentplaceholder %}
                        <div id="content" class="container">
                                {% block brcrmb_container %}
-                               <ul class="breadcrumb">{% if user.is_authenticated %}<li><a href="{% url group-routes %}">{% trans "My rules" %}</a></li>{% endif %}
+                               <ul class="breadcrumb">{% if user.is_authenticated %}<li><a href="{% url group-routes %}">{% trans "My rules" %}</a></li>{% else %}<li><a href="{% url welcome %}">{% trans "Welcome" %}</a></li>{% endif %}
                                {% block breadcrumbs %}{% endblock %}
                                </ul>
+                               {% endblock %}
                                {% if messages %}
                                <div id="messages">
                                {% for message in messages %}
                                {% endfor %}
                                </div>
                                {% endif %}
-                               {% endblock %}
+                               
+                               
                                {% block content %}
                                {% endblock %}
 
                        </div>
+                       {% endblock %}
                        {% block footerblock %}
                                {% include "footer.html" %}
                        {% endblock %}