2016-08-03 23:40:47 +00:00
|
|
|
{% extends '@aitemu/master.twig' %}
|
|
|
|
|
|
|
|
{% set title = 'Status' %}
|
|
|
|
{% set banner = '/images/status-banner.png' %}
|
|
|
|
{% set banner_large = true %}
|
|
|
|
|
|
|
|
{% block banner_content %}
|
2016-08-04 15:34:25 +00:00
|
|
|
<div class="banner__bottom">
|
|
|
|
<div class="status__overall status__overall--good">
|
|
|
|
<span class="status__overall-icon"></span> <span class="status__overall-text">all services are go!</span>
|
|
|
|
</div>
|
|
|
|
<div class="status__last-update">
|
2016-12-09 22:28:25 +00:00
|
|
|
this is an not as static as it was before design preview
|
2016-08-04 15:34:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-03 23:40:47 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2016-08-04 15:34:25 +00:00
|
|
|
<div class="platform status__response">
|
|
|
|
<div class="status__services">
|
2016-12-09 22:28:25 +00:00
|
|
|
{% for name in endpoints %}
|
|
|
|
<div class="status__service status__service--good">
|
|
|
|
<div class="status__service-icon"></div>
|
|
|
|
<div class="status__service-name">{{ name }}</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2016-08-04 15:34:25 +00:00
|
|
|
</div>
|
|
|
|
<div class="status__graph">graph goes here</div>
|
|
|
|
</div>
|
|
|
|
<div class="platform status__incidents">
|
2016-12-09 22:28:25 +00:00
|
|
|
{% for date, events in incidents %}
|
|
|
|
<div class="status__incident">
|
|
|
|
<div class="status__incident-date">{{ date }}</div>
|
|
|
|
<div class="status__updates">
|
|
|
|
{% if events|length > 0 %}
|
|
|
|
{% for event in events %}
|
|
|
|
{% set state = event.state|lower %}
|
|
|
|
<div class="status__update status__update--{% if state == 'resolved' %}good{% elseif state == 'monitoring' %}bad{% else %}busy{% endif %}">
|
|
|
|
<div class="status__update-meta">
|
|
|
|
<div class="status__update-time">{{ event.time }} UTC</div>
|
|
|
|
<div class="status__update-state">{{ event.state }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="status__update-text">
|
|
|
|
{{ event.comment }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<div class="status__update status__update">
|
|
|
|
<div class="status__update-text">
|
|
|
|
No incidents occurred.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-08-04 15:34:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-09 22:28:25 +00:00
|
|
|
{% endfor %}
|
2016-08-03 23:40:47 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|