Commit 827d71de authored by Renfred Harper's avatar Renfred Harper

Restructure nav and footer template

parent 007f678c
...@@ -10,7 +10,13 @@ ...@@ -10,7 +10,13 @@
padding: 13px 18px; padding: 13px 18px;
font-size: 26px; font-size: 26px;
} }
.navbar-default .navbar-nav > .active > a {
background: rgba(255,255,255,0.50);
}
.navbar-default .navbar-nav > .active > a:hover {
background: rgba(255,255,255,0.50);
color: #000;
}
/*Styles*/ /*Styles*/
a{ a{
color: #006633; color: #006633;
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
{% endblock %} {% endblock %}
<body> <body>
<div class="holder"> <div class="holder">
{% block nav %}
<nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
...@@ -34,8 +35,18 @@ ...@@ -34,8 +35,18 @@
<a class="navbar-brand" href="/">what's open</a> <a class="navbar-brand" href="/">what's open</a>
</div> </div>
<div class="collapse navbar-collapse navbar-ex1-collapse"> <div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right" style="display:none;"> <div class="navbar-form navbar-right" role="search">
<li class="dropdown"> <div class="form-group">
<input id="searchBar" type="text" class="form-control" placeholder="Search">
</div>
</div>
<ul class="nav navbar-nav navbar-right">
<li>
<a id="about-link">
<span id="about-link-text">About</span><img id="about-close-nav" src="{{ STATIC_URL }}img/close.png">
</a>
</li>
<li class="dropdown" style="display:none;">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Select Campus <b class="caret"></b></a> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Select Campus <b class="caret"></b></a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="#">Fairfax</a></li> <li><a href="#">Fairfax</a></li>
...@@ -44,13 +55,10 @@ ...@@ -44,13 +55,10 @@
</ul> </ul>
</li> </li>
</ul> </ul>
<div class="navbar-form navbar-right" role="search">
<div class="form-group">
<input id="searchBar" type="text" class="form-control" placeholder="Search">
</div>
</div>
</div> </div>
</nav> </nav>
{% endblock %}
<div id="about-body" style="display:none;"> <div id="about-body" style="display:none;">
<div class="container" id="about-container"> <div class="container" id="about-container">
{% include 'about.html' %} {% include 'about.html' %}
...@@ -76,7 +84,8 @@ ...@@ -76,7 +84,8 @@
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
</div> </div>
{% block footer %}
<div id="footer"> <div id="footer">
<div class="footer-row"> <div class="footer-row">
<a class="gmu-brand" href="http://www.gmu.edu"><img src="{{ STATIC_URL }}img/gmurgb.png" class="gmu-logo"></a> <a class="gmu-brand" href="http://www.gmu.edu"><img src="{{ STATIC_URL }}img/gmurgb.png" class="gmu-logo"></a>
...@@ -85,6 +94,7 @@ ...@@ -85,6 +94,7 @@
</div> </div>
</div> </div>
</div> </div>
{% endblock %}
</div> </div>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment