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="">
11 {% if in_maintenance %}
12 <h1>{% trans "Your site is currently running on maintenance mode." %}</h1>
13 <p>{% trans "You can adjust the settings bellow" %}</p>
18 {% if in_maintenance %}
19 <input type="submit" name="adjust" value="{% trans "Adjust settings" %}" />
20 <input type="submit" name="open" value="{% trans "Open site" %}" />
22 <input type="submit" name="close" value="{% trans "Close for maintenance" %}" />