-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathbase.html
102 lines (96 loc) · 4.22 KB
/
base.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{% load static %}
<!DOCTYPE html>
<html>
<head>
{% include 'header.html' %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> {% if site.title %}
<title>
{% if title %} {{ title }} – {% endif %} {{ site.title }} {% if not title and site.subtitle %} – {{ site.subtitle }} {% endif %}
</title>
{% endif %}
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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 'home' %}">Open Source Help Community</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Sessions <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q" target="_blank">View Session</a></li>
<li><a href="{% url 'request_session' %}" target="_blank">Request a Session</a></li>
</ul>
</li>
<li><a href="https://github.com/OpenSourceHelpCommunity" target="_blank">Resources</a></li>
<li><a href="{% url 'contests' %}" target="_blank">Contests</a></li>
<li><a href="{% url 'journey' %}" target="_blank">Journey</a></li>
<li><a href="mailto:[email protected]" target="_blank">Contact</a></li>
<li><a href="https://opensourcehelp.herokuapp.com/" target="_blank">Join Us!</a></li>
<!--{% if user.is_authenticated %}
<li><a href="#!">Hey {{ user.username }}!</a></li>
<li><a href="{% url 'account_logout' %}">Logout</a></li>
{% else %}
<li><a href="{% url 'account_login' %}">Sign In</a></li>
<li><a href="{% url 'account_signup' %}">Sign Up</a></li>
{% endif %}-->
</ul>
</div>
</div>
</nav>
<div>
{% block content %}{% endblock %}
</div>
{% block footer %}
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="social">
<ul>
<span class="col-sm-6 left-align">
<li>
<a href="https://www.facebook.com/opensourcehelpcommunity/" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a>
</li>
<li>
<a href="https://twitter.com/oshelpcommunity" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
</li>
<li>
<a href="https://github.com/OpenSourceHelpCommunity" target="_blank"><i class="fa fa-github" aria-hidden="true"></i></a>
</li>
<li>
<a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q" target="_blank"><i class="fa fa-youtube-play" aria-hidden="true"></i></a>
</li>
<li>
<a href="https://opensourcehelp.herokuapp.com/" target="_blank"><i class="fa fa-slack" aria-hidden="true"></i></a>
</li>
</span>
<span class="col-sm-6 back-to-top right-align">
<a id="toTop" name="Back to top!">Back to top</a>
</span>
</ul>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="copyright">
© 2017 Open Source Help Community
</div>
</div>
</div>
</footer>
{% endblock %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="{% static "main/js/script.js" %}"></script>
{% block javascript %}{% endblock %}
</body>
</html>