arrowcounter/counter/templates/base.html

57 lines
1.7 KiB
HTML
Raw Normal View History

{% load static %}
2018-08-09 16:06:25 +00:00
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{% endblock %} | Arrow Counter</title>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<link rel="stylesheet" href="{% static "css/main.css" %}">
{% block style %}{% endblock %}
</head>
<body>
<nav>
<div class="nav-wrapper">
<div class="container">
<a href="#!" class="brand-logo">Arrow Counter</a>
<a href="#" data-target="mobile-menu" class="sidenav-trigger">
<i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
{% include "menu.html" %}
</ul>
</div>
</div>
</nav>
<ul class="sidenav" id="mobile-menu">
{% include "menu.html" with mobile=1 %}
</ul>
<div class="container">
<main>{% block content %}{% endblock %}</main>
</div>
2018-08-09 16:06:25 +00:00
<script src="{% url 'javascript-catalog' %}"></script>
<script>
Object.assign(django.catalog, {
{% with 'Monday Tuesday Wednesday Thursday Friday Saturday Sunday' as list %}
{% for weekday in list.split %}
'{{ weekday }}': '{% trans weekday %}',
{% endfor %}
{% endwith %}
});
</script>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="{% static "js/main.js" %}"></script>
{% block scripts %}{% endblock %}
</body>
</html>