Remove incorrect and unnecessary class .glyphicon-white

Glyph icons automatically take the text color and don't need to be set
an explict color.  Bootstrap 3 does not have the class .glyphicon-white.
This commit is contained in:
Sunil Mohan Adapa 2014-11-23 14:14:57 +05:30
parent 265953adc6
commit 86c1307dc1
2 changed files with 4 additions and 6 deletions

View File

@ -73,7 +73,7 @@
<a href="{{ item.url }}"> <a href="{{ item.url }}">
{% endif %} {% endif %}
<span class="{{ item.icon }} glyphicon glyphicon-white nav-icon"></span> <span class="{{ item.icon }} glyphicon nav-icon"></span>
{{ item.label }} {{ item.label }}
</a> </a>
</li> </li>
@ -82,7 +82,7 @@
{% if user.is_authenticated %} {% if user.is_authenticated %}
<p class="navbar-text pull-right"> <p class="navbar-text pull-right">
<i class="glyphicon glyphicon-user glyphicon-white nav-icon"></i> <i class="glyphicon glyphicon-user nav-icon"></i>
Logged in as <a href="#">{{ user.username }}</a>. Logged in as <a href="#">{{ user.username }}</a>.
<a href="{% url 'lib:logout' %}" title="Log out"> <a href="{% url 'lib:logout' %}" title="Log out">
Log out</a>. Log out</a>.
@ -90,7 +90,7 @@
{% else %} {% else %}
<p class="navbar-text pull-right"> <p class="navbar-text pull-right">
Not logged in. Not logged in.
<i class="glyphicon glyphicon-user glyphicon-white nav-icon"></i> <i class="glyphicon glyphicon-user nav-icon"></i>
<a href="{% url 'lib:login' %}" title="Log in"> <a href="{% url 'lib:login' %}" title="Log in">
Log in</a>. Log in</a>.
</p> </p>

View File

@ -18,18 +18,16 @@
{% endcomment %} {% endcomment %}
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li class="nav-header">Menu</li>
{% for item in menu.items %} {% for item in menu.items %}
{% if item.url in active_menu_urls %} {% if item.url in active_menu_urls %}
<li class="active"> <li class="active">
<a href="{{ item.url }}" class="active"> <a href="{{ item.url }}" class="active">
<span class="{{ item.icon }} glyphicon glyphicon-white sidenav-icon"></span>
{% else %} {% else %}
<li> <li>
<a href="{{ item.url }}"> <a href="{{ item.url }}">
<span class="{{ item.icon }} glyphicon sidenav-icon"></span>
{% endif %} {% endif %}
<span class="{{ item.icon }} glyphicon sidenav-icon"></span>
{{ item.label }} {{ item.label }}
</a> </a>
{% if item.items %} {% if item.items %}