Updated config template.
This commit is contained in:
parent
74ffad6ced
commit
ce233fc870
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "Agenda settings" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "Agenda settings" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "Agenda settings" %}</h1>
|
<h1>{% trans "Configuration" %}: {% trans "Agenda" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "Application settings" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "Application settings" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "Application settings" %}</h1>
|
<h1>{% trans "Configuration" %}: {% trans "Applications" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "Election settings" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "Election settings" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "Election settings" %}</h1>
|
<h1>{% trans "Configuration" %}: {% trans "Elections" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load tags %}
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block submenu %}
|
{% block config_submenu %}
|
||||||
<h4 class="sectiontitle">{% trans "Configuration" %}</h4>
|
<small class="pull-right">
|
||||||
<ul>
|
<div class="btn-toolbar">
|
||||||
{% for menu_link in menu_links %}
|
<div class="btn-group">
|
||||||
<li{% if menu_link.2 %} class="selected"{% endif %}><a href="{{ menu_link.0 }}">{{ menu_link.1 }}</a></li>
|
{% for menu_link in menu_links %}
|
||||||
{% endfor %}
|
<a href="{{ menu_link.0 }}" class="btn btn-mini {% if menu_link.2 %}active{% endif %}">{{ menu_link.1 }}</a>
|
||||||
</ul>
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</small>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "General settings" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "General settings" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "General settings" %}</h1>
|
<h1>{% trans "Configuration" %}: {% trans "General" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{% trans "Event" %}</legend>
|
<legend>{% trans "Event" %}</legend>
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "Version" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "Version" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "Version" %}</h1>
|
<h1>{% trans "Version" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
|
|
||||||
{% for version in versions %}
|
{% for version in versions %}
|
||||||
<p>{{ version.0 }} {% trans "Version" %}: {{ version.1 }}</p>
|
<p>{{ version.0 }} {% trans "Version" %}: {{ version.1 }}</p>
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
{% block title %}{{ block.super }} – {% trans "Participant settings" %}{% endblock %}
|
{% block title %}{{ block.super }} – {% trans "Participant settings" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans "Participant settings" %}</h1>
|
<h1>{% trans "Configuration" %}: {% trans "Participants" %}
|
||||||
|
{% block config_submenu %}{{ block.super }}{% endblock %}
|
||||||
|
</h1>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{% include "form.html" %}
|
{% include "form.html" %}
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue