2015-02-12 22:06:31 +01:00
|
|
|
<!--
|
|
|
|
vim: ts=2 noexpandtab
|
|
|
|
-->
|
2015-02-05 22:17:33 +01:00
|
|
|
{% set navigation_bar = [
|
2015-02-12 22:06:31 +01:00
|
|
|
("/", "search", "Search", "glyphicon-search"),
|
|
|
|
("/categorys", "categorys", "Categorys", "glyphicon-th"),
|
|
|
|
("/create", "create", "Create", "glyphicon-plus")
|
2015-02-05 22:17:33 +01:00
|
|
|
] -%}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-02-12 22:06:31 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="icon" href="favicon.ico">
|
2015-02-05 22:17:33 +01:00
|
|
|
<title>{% block title %}TorrentIndexer{% endblock %}</title>
|
2015-02-12 22:06:31 +01:00
|
|
|
<link href="{{ url_for("static", filename="css/bootstrap.css") }}" rel="stylesheet">
|
2015-02-05 22:17:33 +01:00
|
|
|
<link href="{{ url_for("static", filename="css/style.css") }}" rel="stylesheet">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2015-02-12 22:06:31 +01:00
|
|
|
<div class="site-wrapper">
|
|
|
|
<div class="site-wrapper-inner">
|
|
|
|
<div class="cover-container">
|
|
|
|
<div class="masthead clearfix">
|
|
|
|
<div class="inner">
|
|
|
|
<h3 class="masthead-brand"><a href="/">TorrentIndexer</a></h3>
|
|
|
|
<nav>
|
|
|
|
<ul class="nav masthead-nav">
|
|
|
|
{% for href, id, caption, icon in navigation_bar %}
|
|
|
|
<li {% if id == active_page %}class="active"{% endif %}>
|
|
|
|
<a href="{{ href|e }}">
|
|
|
|
<span class="glyphicon {{ icon|e }}" aria-hidden="true"></span> {{ caption|e }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="inner cover">
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-05 22:17:33 +01:00
|
|
|
</div>
|
2015-02-12 22:06:31 +01:00
|
|
|
|
|
|
|
<script src="{{ url_for("static", filename="js/jquery.js") }}"></script>
|
|
|
|
<script src="{{ url_for("static", filename="js/bootstrap.js") }}"></script>
|
2015-02-05 22:17:33 +01:00
|
|
|
</body>
|
|
|
|
</html>
|