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 %}
|
||||
<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 %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{% extends 'control/base.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block subcontent %}
|
||||
<h2>{% trans 'Overview' %}</h2>
|
||||
{% block heading %}{% trans 'Overview' %}{% endblock %}
|
||||
|
||||
<p>{% trans 'Welcome to the c3nav control panel.' %}</p>
|
||||
{% block subcontent %}
|
||||
<p>{% trans 'Welcome to the c3nav control panel.' %}</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends 'control/base.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block subcontent %}
|
||||
<h2>{% trans 'Users' %}</h2>
|
||||
{% block heading %}{% trans 'Users' %}{% endblock %}
|
||||
|
||||
{% block subcontent %}
|
||||
<form class="search-form">
|
||||
<input type="text" name="s" value="{{ request.GET.s }}"> <button type="submit">{% trans 'Search' %}</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue