changeset 2399:4112a46ce81d

adds footer
author sharky93 <rishabhr123@gmail.com>
date Sun, 18 Aug 2013 15:15:58 +0530
parents fe1f88d7e38a
children 7ee586313dd7
files MoinMoin/themes/basic/static/css/basic.css MoinMoin/themes/basic/static/custom-less/basic.less MoinMoin/themes/basic/static/custom-less/variables.less MoinMoin/themes/basic/templates/layout.html
diffstat 4 files changed, 25 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/basic.css	Sun Aug 18 04:27:27 2013 +0530
+++ b/MoinMoin/themes/basic/static/css/basic.css	Sun Aug 18 15:15:58 2013 +0530
@@ -4393,6 +4393,12 @@
 .moin-navbar-inverse .navbar-nav > li > a {
   color: #c8ddf1;
 }
+.moin-navbar-inverse .navbar-text {
+  color: #c8ddf1;
+}
+.moin-navbar-inverse .navbar-text > a {
+  color: #c8ddf1;
+}
 .moin-quicklink {
   position: relative;
   padding: 10px 15px 10px 15px;
--- a/MoinMoin/themes/basic/static/custom-less/basic.less	Sun Aug 18 04:27:27 2013 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/basic.less	Sun Aug 18 15:15:58 2013 +0530
@@ -40,10 +40,16 @@
 
 .moin-navbar-inverse {
   .navbar-inverse;
-  background-color: darken(@moin-navbar-inverse-color, 5%);
+  background-color: @moin-navbar-inverse-bgcolor;
   .navbar-nav {
     > li > a {
-      color: lighten(@moin-navbar-inverse-color, 55%);
+      color: @moin-navbar-inverse-textcolor;
+    }
+  }
+  .navbar-text {
+    color: @moin-navbar-inverse-textcolor;
+    > a {
+      color: @moin-navbar-inverse-textcolor;
     }
   }
 }
--- a/MoinMoin/themes/basic/static/custom-less/variables.less	Sun Aug 18 04:27:27 2013 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/variables.less	Sun Aug 18 15:15:58 2013 +0530
@@ -248,6 +248,8 @@
 
 // Moin-Inverted Navbar
 @moin-navbar-inverse-color:					#205081;
+@moin-navbar-inverse-bgcolor:				darken(@moin-navbar-inverse-color, 5%);
+@moin-navbar-inverse-textcolor:				lighten(@moin-navbar-inverse-color, 55%);
 
 // Reset inverted navbar basics
 @navbar-inverse-color:                      @gray-light;
--- a/MoinMoin/themes/basic/templates/layout.html	Sun Aug 18 04:27:27 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Sun Aug 18 15:15:58 2013 +0530
@@ -2,6 +2,8 @@
 
 {% import theme("snippets.html") as snippets %}
 {% set logo = snippets.logo() %}
+{% set footer_logos = snippets.creditlogos() %}
+{% set credits = snippets.credits() %}
 
 {% if item_name in ['@NONAMEGIVEN',''] %}
 {% set current_url = url_for(request.endpoint) %}
@@ -175,5 +177,12 @@
 
             </div><!--/span-->
         </div> <!--/row-->
+
+        {% block footer %}
+        <div class="navbar moin-navbar-inverse"> <!--footer-->
+            {{ credits }}
+            {{ footer_logos }}
+        </div>
+        {% endblock %}
 	</div><!--/container-->
 {% endblock %}
\ No newline at end of file