-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move home page into namespaced dir and format
- Loading branch information
Showing
3 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% extends "response/base.html" %} | ||
{% load static %} | ||
{% load unslackify %} | ||
{% load markdown_filter %} | ||
|
||
{% block head %} | ||
<link rel="stylesheet" href="{% static 'incident_doc.css' %}"> | ||
{% endblock %} | ||
|
||
|
||
{% block content %} | ||
<div class="row pb-4"> | ||
<div class="col-lg-12 text-center"> | ||
{% comment %} ----- Heading ----- {% endcomment %} | ||
<h1 class="mt-3" id="title"><a href="">Incidents</a></h1> | ||
</div> | ||
|
||
<div class="col-lg-12"> | ||
<ul> | ||
{% for incident in incidents %} | ||
<li> | ||
{{ incident.severity_emoji }} | ||
<a href="{% url 'incident_doc' incident.pk %}" target="_blank"> | ||
Incident {{ incident.pk }} | ||
</a> | ||
<span class="badge {{ incident.badge_type }} blink_me"> | ||
{{ incident.status_text|upper }} | ||
</span> | ||
- {{ incident.report }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters