base.html 1.66 KB
Newer Older
1 2 3 4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
5
  <meta charset="utf-8">
6
  <meta name="description" content="Find your on campus neighbors"> {% load staticfiles %}
7 8
  <link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
  <link href="/static/css/style.css" rel="stylesheet" media="screen">
Daniel W Bond's avatar
Daniel W Bond committed
9
  <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
10 11 12 13
  <script type="text/javascript" src="/static/js/jquery-2.1.1.min.js"></script>
  <script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
  <link rel="icon" href="/static/img/favicon.ico">
  <title> {% block title %} {% endblock %}</title>
14
</head>
15 16

<body>
17
  {% load piwik %}
18
  <div id="wrap" style="display: flex;">
19
    {% include 'layouts/navbar.html' %}
20
    <div id="contentcontain" class="container">
21 22 23 24 25 26 27 28 29 30 31 32
      {% block reminder %}
      {% if request.user.is_authenticated and request.user.student.room == None %}
      <div class="row">
        <div class="col-md-8 col-md-offset-2">
          <div class="alert alert-info alert-dismissible text-center" role="alert">
          <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h5>Looks like you haven't yet selected what room you're in. <a href="#" class="alert-link">Click here to get set up!</a></h5>
          </div>
        </div>
      </div>
      {% endif %}
      {% endblock %}
33
      {% block content %} {% endblock %}
34
    </div>
35
  </div>
Daniel W Bond's avatar
Daniel W Bond committed
36
  <div id="footer">
37 38
    {% include 'layouts/footer.html' %}
  </div>
39
  {% piwik %}
40 41
</body>

42
</html>