From 4a66fe0427aaacac3cbfdf6b2ea47bb3e056e88b Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sat, 19 May 2018 13:53:53 +0100 Subject: [Jams] Linting and infractions --- templates/staff/jams/index.html | 3 +- templates/staff/jams/infractions/view.html | 329 +++++++++++++++++++++++++++++ 2 files changed, 331 insertions(+), 1 deletion(-) create mode 100644 templates/staff/jams/infractions/view.html (limited to 'templates') diff --git a/templates/staff/jams/index.html b/templates/staff/jams/index.html index b249ec3f..39300064 100644 --- a/templates/staff/jams/index.html +++ b/templates/staff/jams/index.html @@ -10,8 +10,9 @@

Code Jams

 Back +  Questions +  Infractions  Create -  Questions {% if not jams %}

diff --git a/templates/staff/jams/infractions/view.html b/templates/staff/jams/infractions/view.html new file mode 100644 index 00000000..0b515cdb --- /dev/null +++ b/templates/staff/jams/infractions/view.html @@ -0,0 +1,329 @@ +{% extends "main/base.html" %} +{% block title %}Staff | Jams | Infractions{% endblock %} +{% block og_title %}Staff | Jams | Infractions{% endblock %} +{% block og_description %}Manage infractions{% endblock %} +{% block extra_head %} + +{% endblock %} +{% block content %} +

+

Infractions

+ +  Back + + + {% if not infractions %} +

No infractions found.

+ + + + + + + + + + + + + + {% else %} + + +
+
+ + + + + + + + + + + + {% for infraction in infractions %} + + + + + + + + {% endfor %} + +
 IDParticipantReasonNumber
+ + {{ infraction.id }} + {% if infraction.participant is not string %} + {{ infraction.participant.username }}#{{ infraction.participant.discriminator }} ({{ infraction.participant.id }}) + {% else %} + {{ infraction.participant }} + {% endif %} + {{ infraction.reason }}{{ infraction.number }}
+
+ {% endif %} +
+ +
+
+ + +
+

Add Infraction

+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ + +{% endblock %} -- cgit v1.2.3