1 {% extends basetemplate %}
5 {% block subtitle %}{% trans "Maintenance mode" %}{% endblock %}
6 {% block pagename %}{% trans "Maintenance mode" %}{% endblock %}
7 {% block description %}{% trans "Maintainance mode allows you to close your site for maintainance, allowing only a predetermined set of ip addresses to access it normally." %}{% endblock %}
9 {% block admincontent %}
10 <form method="POST" action="">
12 {% if in_maintenance %}
13 <h1>{% trans "Your site is currently running on maintenance mode." %}</h1>
14 <p>{% trans "You can adjust the settings bellow" %}</p>
19 {% if in_maintenance %}
20 <input type="submit" name="adjust" value="{% trans "Adjust settings" %}" />
21 <input type="submit" name="open" value="{% trans "Open site" %}" />
23 <input type="submit" name="close" value="{% trans "Close for maintenance" %}" />