143 lines
6.1 KiB
HTML
143 lines
6.1 KiB
HTML
{% load staticfiles i18n compress%}<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>{% block title %}Maidstone Hackspace{% endblock title %}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<link rel="icon" type="image/png" href="/static/images/favicon.png">
|
|
{% block css %}
|
|
<!-- Latest compiled and minified Bootstrap 4 Alpha 4 CSS -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="sha384-2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">
|
|
|
|
<!-- Your stuff: Third-party CSS libraries go here -->
|
|
{% compress css %}
|
|
<!-- This file stores project-specific CSS -->
|
|
<link href="{% static 'css/project.css' %}" rel="stylesheet">
|
|
{% endcompress %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="m-b-1">
|
|
<a id="mini_logo" href="/login">
|
|
<img src="/static/images/hackspace.png" class="mini-logo">
|
|
</a>
|
|
<nav class="navbar navbar-dark navbar-static-top bg-inverse">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">Maidstone Hackspace</a>
|
|
<button type="button" class="navbar-toggler hidden-sm-up pull-xs-right" data-toggle="collapse" data-target="#bs-navbar-collapse-1">
|
|
☰
|
|
</button>
|
|
|
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
<div class="collapse navbar-toggleable-xs" id="bs-navbar-collapse-1">
|
|
<ul class="nav navbar-nav">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'home' %}">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'chat' %}">Chat</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'home' %}">Donate</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'contact' %}">Contact</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'group' %}">Mailing List</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'home' %}">Login</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'about' %}">About</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav pull-xs-right">
|
|
{% if request.user.is_authenticated %}
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'account_logout' %}">{% trans "Sign Out" %}</a>
|
|
</li>
|
|
{% else %}
|
|
<li class="nav-item">
|
|
<a id="sign-up-link" class="nav-link" href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a id="log-in-link" class="nav-link" href="{% url 'account_login' %}">{% trans "Sign In" %}</a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% block content %}
|
|
<p>Use this document as a way to quick start any new project.</p>
|
|
{% endblock content %}
|
|
|
|
</div> <!-- /container -->
|
|
<footer class="footer">
|
|
<div class="m-b-1 navbar-dark bg-inverse"> </div>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div mailing-list-signup="" class="google-groups-signup">
|
|
<h3>Signup and make yourself known</h3>
|
|
<form class="block" name="signup" method="get" action="https://groups.google.com/group/maidstone-hackspace/boxsubscribe">
|
|
<label for="groups-email">Email Address</label>
|
|
<input id="groups-email" name="email" class="required">
|
|
<button type="submit">Subscribe</button>
|
|
<a href="http://groups.google.com/group/maidstone-hackspace">View Group</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">©2016 Maidstone Hackspace</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
{% block modal %}{% endblock modal %}
|
|
|
|
<!-- Le javascript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
{% block javascript %}
|
|
<!-- Required by Bootstrap v4 Alpha 4 -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.7/js/tether.min.js" integrity="sha384-XTs3FgkjiBgo8qjEjBk0tGmf3wPrWtA6coPfQDfFEY8AnYJwjalXCiosYRBIBZX8" crossorigin="anonymous"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
|
|
|
|
<!-- Your stuff: Third-party javascript libraries go here -->
|
|
|
|
<!-- place project specific Javascript in this file -->
|
|
{% compress js %}
|
|
<script src="{% static 'js/project.js' %}"></script>
|
|
{% endcompress %}
|
|
|
|
{% endblock javascript %}
|
|
</body>
|
|
</html>
|
|
|