2015-02-09 00:13:32 +01:00
|
|
|
{% set language = "english" -%}
|
|
|
|
|
2015-02-05 22:17:33 +01:00
|
|
|
{% set navigation_bar = [
|
2015-02-09 00:13:32 +01:00
|
|
|
("/", "search", getLocalString(language, "search")),
|
|
|
|
("/categories", "categories", "Categories"),
|
|
|
|
("/create", "create", "Create")
|
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">
|
|
|
|
<title>{% block title %}TorrentIndexer{% endblock %}</title>
|
|
|
|
<link href="{{ url_for("static", filename="css/style.css") }}" rel="stylesheet">
|
2015-02-09 00:13:32 +01:00
|
|
|
<script type="text/javascript" src="{{ url_for ("static", filename="js/main.js") }}" ></script>
|
2015-02-05 22:17:33 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2015-02-09 00:13:32 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
var global_strings = {{ json.dumps(strings)|safe }}
|
|
|
|
</script>
|
|
|
|
<div class="header">
|
|
|
|
{% for href, id, caption in navigation_bar %}
|
|
|
|
<a href="{{ href }}">{{ caption }}</a>
|
|
|
|
{% endfor %}
|
2015-02-05 22:17:33 +01:00
|
|
|
</div>
|
2015-02-09 00:13:32 +01:00
|
|
|
{% block content %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
var global_strings = {{json.dumps(strings)|safe}}
|
|
|
|
</script>
|
|
|
|
INDEX
|
|
|
|
{% endblock %}
|
2015-02-05 22:17:33 +01:00
|
|
|
</body>
|
|
|
|
</html>
|