{% extends 'serveradmin/index.html' %}
{% load i18n %}

{% block twothird %}
<h2>{% trans "Stop or restart the server" %}</h2>
<form name="server" action="." method="POST">
    {% csrf_token %}
    <input type="submit" name="stop" value="{% trans 'Stop' %}" class="spaced">
    <input type="submit" name="restart" value="{% trans 'Restart' %}" class="spaced">
</form>
{% endblock twothird %}


{% block extra_foot %}
    <script type="text/javascript">
        ID.confirmClick('[name="stop"]');
        ID.confirmClick('[name="restart"]');
    </script>
{% endblock extra_foot %}

{% extends 'serveradmin/index.html' %}
{% load i18n %}

{% block twothird %}
<h2>{% trans "Stop or restart the server" %}</h2>
<form name="server" action="." method="POST">
    {% csrf_token %}
    <input type="submit" name="stop" value="{% trans 'Stop' %}" class="spaced warning">
    <input type="submit" name="restart" value="{% trans 'Restart' %}" class="spaced">
</form>
{% endblock twothird %}


{% block extra_foot %}
    <script type="text/javascript">
        ID.confirmClick('[name="stop"]');
        ID.confirmClick('[name="restart"]');
    </script>
{% endblock extra_foot %}

Make the shutdown button look more dangerous
Make the shutdown button look more dangerous

Shutting down the server is a destructive operation, as it will not come
back up on its own. Someone will need to physically go to the server,
and press the power button.

We have been told that users find the form confusing and hard to
understand, some even clicking on the wrong button.

Hopefully this helps quickly distinguishing the two different actions.

Fixes #838
