{% extends 'base.html' %} {% block extrahead %} {% load static %} {% load custom_tags_and_filters %} {% endblock %} {% block title %}Resource outages{% endblock %} {% block content %}

Schedule {{ resource }} outage

You can schedule a resource outage to occur for a specific time window. This prevents users from using affected tools and areas, but will not kick users off if they're already logged in to an area or using a tool. It is the staff's responsibility to ensure that all tools and areas that use the resource are properly shutdown.

When a resource is unavailable:

{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}

{% if editing %} Edit this outage {% else %} Create a new {{ resource }} outage {% endif %}

{% csrf_token %} {% if form.instance.id %}{% endif %} {% if outage_categories %}
- is there a category for this outage? This is useful for data and trend analysis
{% endif %}
{% if form.details.errors %}- {{ form.details.errors|striptags }}{% endif %}
What is the reason for the outage? What other details will be relevant for users to know?
{% if form.start.errors %}- {{ form.start.errors|striptags }}{% endif %}
{% if form.end.errors %}- {{ form.end.errors|striptags }}{% endif %}
{% button type="save" value=editing|yesno:"Save changes,Create outage" %}
{% endblock %}