[gimp-web/gimp-web-static] Footer links to three columns + added icons



commit c3931e71b2d61a0f3fbc886667b0cbc0e65f6b91
Author: Pat David <patdavid gmail com>
Date:   Fri Nov 13 10:44:42 2015 -0600

    Footer links to three columns + added icons

 themes/newgimp/static/css/gimp.css |    2 ++
 themes/newgimp/templates/base.html |   31 ++++++++++++++++++++++++-------
 2 files changed, 26 insertions(+), 7 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index 1098024..13239b7 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -348,6 +348,7 @@ footer .nav-bottom a {
     color: #f57900;
 }
 
+/*
 #nav-btm-gimp-home {
     margin-left: -1.65rem;
 }
@@ -359,6 +360,7 @@ footer .nav-bottom a {
 #nav-btm-news {
     margin-left: -1.5rem;
 }
+*/
 
 @media ( max-width: 40rem ){
 
diff --git a/themes/newgimp/templates/base.html b/themes/newgimp/templates/base.html
index eceae9d..3904971 100644
--- a/themes/newgimp/templates/base.html
+++ b/themes/newgimp/templates/base.html
@@ -120,27 +120,44 @@
                             <li id='nav-btm-gimp-home'><a href="/"><img src='/images/wilber-tiny.png' 
alt='Tiny Wilber'> GIMP</a></li>
                             <li id="nav-btm-downloads"><a href="/downloads/"><i class="fa fa-download 
fa-fw"></i> Download</a></li>
                             <li id="nav-btm-news"><a href="/news/"><i class="fa fa-newspaper-o fa-fw"></i> 
News</a></li>
+                        </ul>
+                    </div>
+                    <div class="column third">
+                        <ul class="nav-bottom" id='bottom-nav'>
+                            <li id="nav-btm-about"><a href="/about/"><i class="fa fa-question fa-fw"></i> 
About GIMP</a></li>
+                            <li id="nav-btm-docs"><a href="/docs/"><i class="fa fa-book fa-fw"></i> 
Documentation</a></li>
+                            <li id="nav-btm-donating"><a href="/donating/"><i class="fa fa-money fa-fw"></i> 
Donate</a></li>
+                        </ul>
+                    </div>
+                    <div class="column third">
+                        <ul class="nav-bottom" id='bottom-nav'>
+                            <li id="nav-btm-develop"><a href="/develop/"><i class="fa fa-code fa-fw"></i> 
Get Involved</a></li>
+                            <li id="nav-btm-tutorials"><a href="/tutorials/"><i class="fa fa-graduation-cap 
fa-fw"></i> Tutorials</a></li>
+
+                        {#
                         {% for title, link in MENUITEMS %}
-                            <li><a href="{{ link }}">{{ title }}</a></li>
+                            <li class='menuitem'><a href="{{ link }}">{{ title }}</a></li>
                         {% endfor %}
+
                         {% if DISPLAY_PAGES_ON_MENU %}
+
                           {% for p in PAGES %}
                             {% if p.parents|length == 1 %}
-                              <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ 
p.url }}">{{ p.title }}</a></li>
+                              <li{% if p == page %} class="active"{% endif %} class="page-on-menu"><a 
href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
                             {% endif %}
-                            {# The old way...
-                              {% if not p.parent %}
-                                <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ 
p.url }}">{{ p.title }}</a></li>
-                              {% endif %}
-                            #}
                           {% endfor %}
+
                         {% else %}
+
                           {% if DISPLAY_CATEGORIES_ON_MENU %}
                             {% for cat, null in categories %}
                               <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL 
}}/{{ cat.url }}">{{ cat }}</a></li>
                             {% endfor %}
                           {% endif %}
+
                         {% endif %}
+                        #}
+
                         </ul>
                     </div>
                     </div> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]