83 lines
3.1 KiB
HTML
83 lines
3.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||
|
<meta name="description" content="">
|
||
|
<meta name="author" content="">
|
||
|
<link rel="icon" href="/favicon.ico">
|
||
|
{% load staticfiles %}
|
||
|
|
||
|
<title>CQTU2017 - CQ TU Contest 2017</title>
|
||
|
|
||
|
<!-- Bootstrap core CSS -->
|
||
|
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
|
||
|
|
||
|
<!-- Custom styles for this template -->
|
||
|
<link href="{% static "style.css" %}" rel="stylesheet">
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<!-- Static navbar -->
|
||
|
<nav class="navbar navbar-default navbar-static-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="#">CQ TU 2017</a>
|
||
|
</div>
|
||
|
<div id="navbar" class="navbar-collapse collapse">
|
||
|
<ul class="nav navbar-nav">
|
||
|
<li class="active"><a href="#">Home</a></li>
|
||
|
<li><a href="#about">Search</a></li>
|
||
|
<li><a href="#contact">Contact</a></li>
|
||
|
<li class="dropdown">
|
||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></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 role="separator" class="divider"></li>
|
||
|
<li class="dropdown-header">Nav header</li>
|
||
|
<li><a href="#">Separated link</a></li>
|
||
|
<li><a href="#">One more separated link</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<ul class="nav navbar-nav navbar-right">
|
||
|
{% if user.is_staff %}
|
||
|
<li><a href="/admin/">Admin</a></li>
|
||
|
{% endif %}
|
||
|
{% if user.is_authenticated %}
|
||
|
<li><a href="/logout/">Logout</a></li>
|
||
|
{% else %}
|
||
|
<li><a href="/login/">Login</a></li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</div><!--/.nav-collapse -->
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
|
||
|
<div class="container">
|
||
|
{% block content %}{% endblock %}
|
||
|
</div> <!-- /container -->
|
||
|
|
||
|
|
||
|
<!-- Bootstrap core JavaScript
|
||
|
================================================== -->
|
||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||
|
<script>window.jQuery || document.write('<script src="/js/vendor/jquery.min.js"><\/script>')</script>
|
||
|
<script src="{% static "js/bootstrap.min.js" %}"></script>
|
||
|
</body>
|
||
|
</html>
|