navbar.html 1.53 KB
Newer Older
Nicholas Anderson's avatar
Nicholas Anderson committed
1
{% load staticfiles %}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% block nav %}
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="/">what's open</a>
    </div>
    <div class="collapse navbar-collapse navbar-ex1-collapse">
        <div class="navbar-form navbar-right" role="search">
            <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">
22
23
                    <span id="about-link-text">About</span>
                    <img id="about-close-nav" src="{% static "img/close.png" %}">
24
25
26
27
28
29
30
31
32
33
34
35
36
37
                </a>
            </li>
            <li class="dropdown" style="display:none;">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Select Campus <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="#">Fairfax</a></li>
                    <li><a href="#">Arlington</a></li>
                    <li><a href="#">Prince William</a></li>
                </ul>
            </li>
        </ul>
    </div>
</nav>
{% endblock %}