summaryrefslogtreecommitdiffstats
path: root/templates/users
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-17 14:45:31 -0700
committerAndrew Godwin2022-12-17 14:45:31 -0700
commite8d6dccbb27a8611311b5f94f593b69bcca99528 (patch)
tree440901d8495f29e682d5fd08bb3ee4e44e983505 /templates/users
parentb3b2c6effdd747db9076b3139963965f4718eee9 (diff)
downloadtakahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.tar.gz
takahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.tar.bz2
takahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.zip
Report function and admin
Diffstat (limited to 'templates/users')
-rw-r--r--templates/users/report.html27
-rw-r--r--templates/users/report_sent.html13
2 files changed, 40 insertions, 0 deletions
diff --git a/templates/users/report.html b/templates/users/report.html
new file mode 100644
index 0000000..557b35e
--- /dev/null
+++ b/templates/users/report.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block title %}Report{% endblock %}
+
+{% block content %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ <fieldset>
+ <legend>Report</legend>
+ <label>Reporting</label>
+ {% if post %}
+ {% include "activities/_mini_post.html" %}
+ {% else %}
+ {% include "activities/_identity.html" %}
+ {% endif %}
+ {% include "forms/_field.html" with field=form.type %}
+ {% include "forms/_field.html" with field=form.complaint %}
+ {% if not identity.local %}
+ {% include "forms/_field.html" with field=form.forward %}
+ {% endif %}
+ </fieldset>
+
+ <div class="buttons">
+ <button>Send Report</button>
+ </div>
+ </form>
+{% endblock %}
diff --git a/templates/users/report_sent.html b/templates/users/report_sent.html
new file mode 100644
index 0000000..4e8c78c
--- /dev/null
+++ b/templates/users/report_sent.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block title %}Report Sent{% endblock %}
+
+{% block content %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ <fieldset>
+ <legend>Report</legend>
+ <p>Your report has been sent.</p>
+ </fieldset>
+ </form>
+{% endblock %}