control panel: navigation
This commit is contained in:
parent
e501b49026
commit
5091061ade
3 changed files with 12 additions and 5 deletions
|
@ -7,6 +7,13 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main>
|
<main>
|
||||||
|
<h2>{% block heading %}{% endblock %}</h2>
|
||||||
|
<nav>
|
||||||
|
<p>
|
||||||
|
<a href="{% url 'control.index' %}">{% trans 'Overview' %}</a> ·
|
||||||
|
<a href="{% url 'control.users' %}">{% trans 'Users' %}</a>
|
||||||
|
</p>
|
||||||
|
</nav>
|
||||||
{% block subcontent %}
|
{% block subcontent %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{% extends 'control/base.html' %}
|
{% extends 'control/base.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block subcontent %}
|
{% block heading %}{% trans 'Overview' %}{% endblock %}
|
||||||
<h2>{% trans 'Overview' %}</h2>
|
|
||||||
|
|
||||||
<p>{% trans 'Welcome to the c3nav control panel.' %}</p>
|
{% block subcontent %}
|
||||||
|
<p>{% trans 'Welcome to the c3nav control panel.' %}</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{% extends 'control/base.html' %}
|
{% extends 'control/base.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block subcontent %}
|
{% block heading %}{% trans 'Users' %}{% endblock %}
|
||||||
<h2>{% trans 'Users' %}</h2>
|
|
||||||
|
|
||||||
|
{% block subcontent %}
|
||||||
<form class="search-form">
|
<form class="search-form">
|
||||||
<input type="text" name="s" value="{{ request.GET.s }}"> <button type="submit">{% trans 'Search' %}</button>
|
<input type="text" name="s" value="{{ request.GET.s }}"> <button type="submit">{% trans 'Search' %}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue