base.html 4.8 KB
Newer Older
Daniel Bond's avatar
Daniel Bond committed
1
<html>
2 3
    {% block head %}
    <head>
Renfred Harper's avatar
Renfred Harper committed
4 5 6 7 8 9 10 11 12 13 14
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="{{ STATIC_URL }}css/bootstrap.min.css" rel="stylesheet">
        <link href="{{ STATIC_URL }}css/style.css" rel="stylesheet">
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
        <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
        <script type="text/javascript" src="http://www.datejs.com/build/date.js"></script>
        <script src="{{ STATIC_URL }}js/bootstrap.min.js"></script>
        <script src="{{ STATIC_URL }}js/grid.js"></script>
        <script src="{{ STATIC_URL }}js/typeAhead.js"></script>
        <script src="{{ STATIC_URL }}js/info.js"></script>
Renfred Harper's avatar
Renfred Harper committed
15
        <script src="{{ STATIC_URL }}js/about.js"></script>
Renfred Harper's avatar
Renfred Harper committed
16
        <link rel="icon" href="{{ STATIC_URL }}/img/gmu-logo.ico">
17 18 19 20 21 22 23
        {% block title %}
        <title>
        What's Open
        </title>
        {% endblock %}
    </head>
    {% endblock %}
Daniel Bond's avatar
Daniel Bond committed
24
    <body>
25
        <div class="holder">
26
            {% block nav %}
Renfred Harper's avatar
Renfred Harper committed
27
            <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
28 29 30 31 32 33 34 35
                <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>
Renfred Harper's avatar
Renfred Harper committed
36
                </div>
37
                <div class="collapse navbar-collapse navbar-ex1-collapse">
38 39 40 41 42 43 44 45 46 47 48 49
                    <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">
                                <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;">
50 51 52 53 54 55 56 57
                            <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>
58

Renfred Harper's avatar
Renfred Harper committed
59
                </div>
60
            </nav>
61
            {% endblock %}
Renfred Harper's avatar
Renfred Harper committed
62 63 64 65 66
            <div id="about-body" style="display:none;">
                <div class="container" id="about-container">
                    {% include 'about.html' %}
                </div>
            </div>
67 68
            <div id="info-body">
	            <div class="container" id="info-container">
69
		            <div class="row" id="info-row">
Renfred Harper's avatar
Renfred Harper committed
70
    		            <a id="info-close"><img src="{{ STATIC_URL }}img/close.png"></a>
71
			            <div class="col-md-12" id="info-name"></div>
Renfred Harper's avatar
Renfred Harper committed
72 73
			            <div class="col-md-3" id="info-status"></div>
			            <div class="col-md-3" id="info-next"></div>
Renfred Harper's avatar
Renfred Harper committed
74
			            <div class="col-md-3" id="info-location"></div>
75
			            <div id="info-schedule"></div>
76 77 78
		            </div>
	            </div>
            </div>
79 80 81 82 83 84 85 86
            <div class="container main-container">
                <div class="row">
                    <div class="col-md-12">
                    {% block content %}
                    
                    {% endblock %}
                    </div>
                </div>  
87 88
            </div>
            {% block footer %}
Renfred Harper's avatar
Renfred Harper committed
89 90
            <div id="footer">
                <div class="footer-row">
Renfred Harper's avatar
Renfred Harper committed
91
	                <a class="gmu-brand" href="http://www.gmu.edu"><img src="{{ STATIC_URL }}img/gmurgb.png" class="gmu-logo"></a>
Renfred Harper's avatar
Renfred Harper committed
92
	                <div class="col-md-8 col-md-offset-2">
Renfred Harper's avatar
Renfred Harper committed
93
                		<p class="footer-text">A project of <a href="http://srct.gmu.edu">GMU SRCT</a>. <a href="http://opensource.org/licenses/MIT/">Some rights reserved</a>.<span id="footer-line">&nbsp;&nbsp;|&nbsp;&nbsp;</span><br class="visible-xs visible-sm"/> George Mason University <a href="http://dining.gmu.edu/">Dining Services</a>&nbsp;&nbsp;&nbsp; &nbsp;</p>
Renfred Harper's avatar
Renfred Harper committed
94
                	</div>
Renfred Harper's avatar
Renfred Harper committed
95
                </div>
96
            </div>
97
            {% endblock %}
Daniel Bond's avatar
Daniel Bond committed
98
        </div>
Daniel Bond's avatar
Daniel Bond committed
99
    </body>
Daniel Bond's avatar
Daniel Bond committed
100
</html>