Changeset - 5b08c1ffdbd7
[Not reviewed]
0 1 1
Christopher Neugebauer - 3 years ago 2017-08-17 17:41:49
chrisjrn@gmail.com
Adds hidden text to the hamburger menu
2 files changed with 61 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/override_bootstrap_theme_base.html
Show inline comments
 
new file 100644
 
{% extends "theme_bootstrap/base.html" %}
 
{% comment %}
 
    Derived from pinax_theme_bootstrap's "theme_bootstrap/base.html".
 

	
 
    Pinax Bootstrap Theme
 
    Copyright (c) 2015 James Tauber and contributors.
 

	
 
    Permission is hereby granted, free of charge, to any person
 
    obtaining a copy of this software and associated documentation
 
    files (the "Software"), to deal in the Software without
 
    restriction, including without limitation the rights to use,
 
    copy, modify, merge, publish, distribute, sublicense, and/or sell
 
    copies of the Software, and to permit persons to whom the
 
    Software is furnished to do so, subject to the following
 
    conditions:
 

	
 
    The above copyright notice and this permission notice shall be
 
    included in all copies or substantial portions of the Software.
 

	
 
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 
    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 
    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 
    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
    OTHER DEALINGS IN THE SOFTWARE.
 

	
 
{% endcomment %}
 

	
 

	
 
{% block topbar_base %}
 
  <header>
 
    <div class="navbar navbar-default {% block navbar_class %}navbar-fixed-top{% endblock %}">
 
      <div class="container">
 
        {% block topbar %}
 
          <div class="navbar-header">
 
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
 
              <span class="fa fa-bars">
 
                <span class="hidden-accessible">Pages Menu</span>
 
              </span>
 
            </button>
 
            {% block site_brand %}<a class="navbar-brand" href="{% url "home" %}">{{ SITE_NAME }}</a>{% endblock %}
 
          </div>
 
          <div class="collapse navbar-collapse navbar-responsive-collapse">
 
            {% block nav %}
 
              {% comment %}
 
                <ul class="nav navbar-nav">
 
                  <li><a href="#tab_one">One</a></li>
 
                  <li><a href="#tab_two">Two</a></li>
 
                </ul>
 
              {% endcomment %}
 
            {% endblock %}
 
            {% block account_bar %}{% include "_account_bar.html" %}{% endblock %}
 
          </div>
 
        {% endblock %}
 
      </div>
 
    </div>
 
  </header>
 
{% endblock %}
pinaxcon/templates/site_base.html
Show inline comments
 
{% extends "theme_bootstrap/base.html" %}
 
{% extends "override_bootstrap_theme_base.html" %}
 

	
 
{% load staticfiles %}
 
{% load metron_tags %}
0 comments (0 inline, 0 general)