summaryrefslogtreecommitdiff
path: root/static/website/templates/base.html
blob: f89417f2b71a469e088c4a1287da6eeac862e3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{% load static %}
<html>
    <head>
        <title>Spoken-Tutorial Forums</title>
        <link rel="stylesheet" href="{% static 'website/css/bootstrap.min.css' %}" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="{% static 'website/css/main.css' %}" type="text/css" media="screen" charset="utf-8" />
    </head>
    <body>
        <div id="header-wrapper">
            <div id="header-inner">
                <nav class="navbar navbar-default" role="navigation">
                    <div class="container">
                        <!-- Brand and toggle get grouped for better mobile display -->
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                              <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="{% url 'website:home' %}">Spoken Tutorial Forums</a>
                        </div> <!-- /.navbar-header -->

                        <!-- Collect the nav links, forms, and other content for toggling -->
                        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                            <ul class="nav navbar-nav navbar-right">
                              <li><a href="#">Home</a></li>
                              <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                  <li><a href="#">Action</a></li>
                                  <li><a href="#">Another action</a></li>
                                  <li><a href="#">Something else here</a></li>
                                  <li class="divider"></li>
                                  <li><a href="#">Separated link</a></li>
                                </ul>
                              </li>
                            </ul>
                        </div> <!-- /.navbar-collapse -->
                  </div> <!-- /.container -->
                </nav>
            </div> <!-- /#header-inner -->
        </div> <!-- /#header-wrapper -->
        
        <div id="content-wrapper">
            <div id="content-inner" class="container">
                <div id="content" class="col-lg-10 col-md-10 col-sm-10">
                    {% block content %}
                    {% endblock %}
                </div> <!-- /#content -->
                
                <div id="sidebar" class="col-lg-2 col-md-2 col-sm-2">
                    {% block sidebar %}
                        <h4>Recent Posts</h4>
                        {% load sidebar_tags %}
                        {% recent_questions %}
                    {% endblock %}
                </div> <!-- /#sidebar -->
            </div> <!-- /#content-inner -->
        </div> <!-- /#content-wrapper -->
        
        <div id="footer-wrapper">
            <div id="footer-inner" class="container">
                <div class="pull-left">
                </div> 
                <div class="pull-right">
                </div>
            </div> <!-- /#footer-inner -->
        </div> <!-- /#footer-wrapper -->
        
        <script src="{% static 'website/js/jquery.min.js' %}"></script>
        <script src="{% static 'website/js/bootstrap.min.js' %}"></script>
        <script src="{% static 'website/js/custom.js' %}"></script>
    </body>
</html>