Skip to content
Snippets Groups Projects
Commit 6aebbd04 authored by David Hoese's avatar David Hoese
Browse files

Forgot to add banner image to repository. Removed "SPARC" navigation button...

Forgot to add banner image to repository. Removed "SPARC" navigation button that lead to SSEC page and made a static SSEC button to the page now.
parent 21b1abd7
No related branches found
No related tags found
No related merge requests found
sparc_cms/theme/static/img/sparc_banner.png

26.2 KiB

...@@ -89,12 +89,12 @@ ...@@ -89,12 +89,12 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
{% if settings.SITE_TITLE %}<a class="navbar-brand" href="/">{{ settings.SITE_TITLE }}</a>{% endif %} {# {% if settings.SITE_TITLE %}<a class="navbar-brand" href="/">{{ settings.SITE_TITLE }}</a>{% endif %}#}
{% if settings.SITE_TAGLINE %}<p class="navbar-text visible-lg">{{ settings.SITE_TAGLINE }}</p>{% endif %} {# {% if settings.SITE_TAGLINE %}<p class="navbar-text visible-lg">{{ settings.SITE_TAGLINE }}</p>{% endif %}#}
</div> </div>
<div class="navbar-collapse collapse"> <div class="navbar-collapse collapse">
{% search_form "all" %} {% search_form "all" %}
{% page_menu "pages/menus/dropdown.html" %} {% page_menu "pages/menus/ssec_dropdown.html" %}
</div> </div>
</div> </div>
</div> </div>
......
{% load i18n pages_tags %}
{% spaceless %}
{% if page_branch_in_menu %}
{% if branch_level == 0 %}
<ul class="nav navbar-nav">
{# <li id="dropdown-down-ssec"><a href="http://www.ssec.wisc.edu/">SSEC</a></li>#}
<li id="dropdown-down-ssec"><a href="/">SSEC</a></li>
{% for page in page_branch %}
{% if not has_home and page.is_primary and forloop.first %}
<li{% if on_home %} class="active"{% endif %} id="dropdown-menu-home">
<a href="{% url "home" %}">{% trans "Home" %}</a>
</li>
{% endif %}
{% if page.in_menu %}
<li class="{% if page.has_children_in_menu %}dropdown{% endif %}
{% if page.is_current_or_ascendant %}active{% endif %}"
id="{{ page.html_id }}">
<a href="{{ page.get_absolute_url }}"
{% if page.has_children_in_menu %}
class="dropdown-toggle disabled" data-toggle="dropdown"
{% endif %}>
{{ page.title }}
{% if page.has_children_in_menu %}<b class="caret"></b>{% endif %}
</a>
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
{% else %}
<ul class="dropdown-menu">
{% for page in page_branch %}
{% if page.in_menu %}
<li class="{% if page.has_children_in_menu %}dropdown-submenu{% endif %}
{% if page.is_current_or_ascendant %}active{% endif %}"
id="{{ page.html_id }}">
<a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% endif %}
{% endspaceless %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment