42 lines
1.7 KiB
Text
42 lines
1.7 KiB
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>redact a report - <%- config["meta"]["name"] %></title>
|
|
<%- include("../../partial/html-head")%>
|
|
</head>
|
|
<body>
|
|
<%- include("../../partial/header") %>
|
|
<div class="modal">
|
|
<% if (typeof message == "string") { %>
|
|
<div class="suc">
|
|
<p><%= message %></p>
|
|
</div>
|
|
<% } %>
|
|
<% if (typeof err == "string") { %>
|
|
<div class="err">
|
|
<p><%= err %></p>
|
|
</div>
|
|
<% } %>
|
|
<h2 class="nm">Redact a Report</h2>
|
|
<p class="nm">This is the menu to redact private information from a report, before adding it to the transparency menu.</p><br>
|
|
<form method="POST" action="/admin/reports/redact">
|
|
<input type="hidden" name="reportId" value="<%= id %>">
|
|
<div class="field">
|
|
<p class="nm">Below is the comment left in the reports:</p>
|
|
<textarea name="originalComment" placeholder="This is against TOS because..." style="width:100%;min-height:fit-content;"><%= originalComment %></textarea>
|
|
</div>
|
|
<div class="field">
|
|
<p class="nmb">Below you can insert any emails exchanged between the admins and the reporter.</p>
|
|
<textarea name="emails" placeholder="..." style="width:100%;min-height:fit-content;"></textarea>
|
|
</div>
|
|
<div class="field">
|
|
<p class="nm">Below you can put any additional comments.</p>
|
|
<textarea name="comments" placeholder="..." style="width:100%;min-height:fit-content;"></textarea>
|
|
</div>
|
|
<input type="submit" value="Add to transparency page">
|
|
</form>
|
|
</div>
|
|
<%- include("../../partial/footer") %>
|
|
<script src="/js/blocking.js"></script>
|
|
</body>
|
|
</html> |