TorrentIndexer/templates/index.html

37 lines
1.0 KiB
HTML
Raw Normal View History

{% set language = "english" -%}
{% set navigation_bar = [
("/", "search", getLocalString(language, "search")),
("/categories", "categories", "Categories"),
("/create", "create", "Create")
] -%}
<!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">
<script type="text/javascript" src="{{ url_for ("static", filename="js/main.js") }}" ></script>
</head>
<body>
<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 %}
</div>
{% block content %}
<script type="text/javascript">
var global_strings = {{json.dumps(strings)|safe}}
</script>
INDEX
{% endblock %}
</body>
</html>