added basic pages + task import
This commit is contained in:
@ -1,10 +1,24 @@
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<title>{% block title %}Title{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{% static "base.css" %}">
|
||||
<script src="{% static "base.js" %}"></script>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<nav>
|
||||
{% for nav_link in nav_links %}
|
||||
<a href="{% url nav_link.view %}" {% if request.resolver_match.view_name == nav_link.view %}class="active"{% endif %}>{{ nav_link.label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
{% block main %}{% endblock %}
|
||||
</main>
|
||||
<footer>{% block footer %}{% endblock %}</footer>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user