Adds hidden text to the hamburger menu
This commit is contained in:
parent
093c749960
commit
5b08c1ffdb
2 changed files with 61 additions and 1 deletions
60
pinaxcon/templates/override_bootstrap_theme_base.html
Normal file
60
pinaxcon/templates/override_bootstrap_theme_base.html
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{% 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 %}
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends "theme_bootstrap/base.html" %}
|
{% extends "override_bootstrap_theme_base.html" %}
|
||||||
|
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
{% load metron_tags %}
|
{% load metron_tags %}
|
||||||
|
|
Loading…
Reference in a new issue