changeset 2498:82b1d312ae6e

Fixes positioning of the flash-message
author sharky93 <rishabhr123@gmail.com>
date Sat, 21 Sep 2013 11:56:07 +0530
parents 058645813612
children 41032fd77822
files MoinMoin/themes/basic/templates/itemviews.html MoinMoin/themes/basic/templates/layout.html
diffstat 2 files changed, 27 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/itemviews.html	Fri Sep 20 20:31:20 2013 +0530
+++ b/MoinMoin/themes/basic/templates/itemviews.html	Sat Sep 21 11:56:07 2013 +0530
@@ -5,15 +5,19 @@
 
 {% block views %}
     {% if navtabs %}
-    <ul class="moin-nav nav-tabs moin-shadow">
-      {% for endpoint, href, maincls, iconcls, linkcls, title, label in navtabs %}
-        <li {% if maincls %}class="{{ maincls }}"{% endif %}>
-            <a {% if linkcls %}class="{{ linkcls }}"{% endif %} href="{{ href }}" title="{{ title }}" rel="nofollow">
-              <span class="{{ iconcls }}"></span>
-                {{ label }}
-            </a>
-        </li>
-      {% endfor %}
-    </ul>
+    <div class="row">
+      <div class="col-lg-12">
+        <ul class="moin-nav nav-tabs moin-shadow">
+          {% for endpoint, href, maincls, iconcls, linkcls, title, label in navtabs %}
+            <li {% if maincls %}class="{{ maincls }}"{% endif %}>
+                <a {% if linkcls %}class="{{ linkcls }}"{% endif %} href="{{ href }}" title="{{ title }}" rel="nofollow">
+                  <span class="{{ iconcls }}"></span>
+                    {{ label }}
+                </a>
+            </li>
+          {% endfor %}
+        </ul>
+      </div>
+    </div>
     {% endif %}
 {% endblock %}
--- a/MoinMoin/themes/basic/templates/layout.html	Fri Sep 20 20:31:20 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Sat Sep 21 11:56:07 2013 +0530
@@ -187,20 +187,6 @@
         </div> <!-- row-topnavbar -->
 
         <div class="row">
-            <div class="col-lg-12">
-                {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
-                <div id="moin-flash"> 
-                    {% for category, msg in get_flashed_messages(with_categories=true) %}
-                    <div class="moin-flash moin-flash-{{ category }}">
-                        {{ msg }}
-                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
-                    </div>
-                    {% endfor %}
-                </div>
-            </div>
-        </div> <!-- moin-flash-message -->
-
-        <div class="row">
             <div class="col-lg-2">
                 <div class="row">
                     <div class="col-lg-12">
@@ -252,7 +238,19 @@
             </div><!--/span-->
 
             <div class="col-lg-10">
-                
+                <div class="row">
+                    <div class="col-lg-12">
+                        {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
+                        <div id="moin-flash"> 
+                            {% for category, msg in get_flashed_messages(with_categories=true) %}
+                            <div class="moin-flash moin-flash-{{ category }}">
+                                {{ msg }}
+                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
+                            </div>
+                            {% endfor %}
+                        </div>
+                    </div>
+                </div> <!-- moin-flash-message -->
 
                 {% block views %}