changeset 2695:7142b94ccbb8

Added h1 heading in Index view in Basic theme to make it consistent with other views
author Ajitesh Gupta <ajgupta93@gmail.com>
date Thu, 07 Aug 2014 19:25:44 +0530
parents 86e3b39c4b02
children 3a5bd8f33916
files MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/basic/templates/index.html
diffstat 3 files changed, 19 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/theme.css	Sat Aug 02 21:13:03 2014 +0200
+++ b/MoinMoin/themes/basic/static/css/theme.css	Thu Aug 07 19:25:44 2014 +0530
@@ -7017,3 +7017,9 @@
 .menu:hover .submenu {
   display: block;
 }
+.moin-index-actions {
+  padding-left: 0;
+}
+.moin-index-actions .navbar-collapse {
+  padding-left: 0;
+}
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Sat Aug 02 21:13:03 2014 +0200
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Thu Aug 07 19:25:44 2014 +0530
@@ -745,4 +745,10 @@
 .menu:hover .submenu {
   display: block;
 }
+.moin-index-actions {
+  padding-left: 0;
+  .navbar-collapse {
+    padding-left: 0;
+  }
+}
 
--- a/MoinMoin/themes/basic/templates/index.html	Sat Aug 02 21:13:03 2014 +0200
+++ b/MoinMoin/themes/basic/templates/index.html	Thu Aug 07 19:25:44 2014 +0530
@@ -7,16 +7,14 @@
 {% endblock %}
 
 {% block action_bars_inner %}
+    {% if item_name %}
+        {% set title = _("Index of subitems of '%(item_name)s'", item_name=item_name) %}
+    {% else %}
+        {% set title = _("Global Index ") %}
+    {% endif %}
+    <h1>{{ title }}</h1>
     <nav class="navbar navbar-default" role="navigation">
-        <div class="container-fluid">
-            <div class="navbar-header">
-                {% if item_name %}
-                    {% set title = _("Index of subitems of '%(item_name)s'", item_name=item_name) %}
-                {% else %}
-                    {% set title = _("Global Index ") %}
-                {% endif %}
-                <a class="navbar-brand" href="#">{{ title }}</a>
-            </div>
+        <div class="container-fluid moin-index-actions">
             <div class="collapse navbar-collapse">
                 <ul class="nav navbar-nav">
                     {% if dirs or files %}