This repository has been archived on 2023-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
media-host/views/pages/transparency.ejs
2023-05-12 00:32:13 -04:00

28 lines
1,007 B
Text

<!DOCTYPE html>
<html>
<head>
<title>transparency - <%- config["meta"]["name"] %></title>
<%- include("../partial/html-head")%>
</head>
<body>
<%- include("../partial/header") %>
<div class="modal">
<% if (config.alert) { %>
<div class="err"><p><%-config.alert%></p></div>
<% } %>
<h2 class="nm">Transparency</h2>
<p class="nm">Here is a list of reports given to us, slightly redacted but still available to read.</p>
<div class="reports">
<% for (var c in reports) { %>
<div class="oneliner">
<p class="nm">
<a href="/transparency/reports/<%= reports[c].id %>">Report</a> for category <b><%= reports[c].actualType %></b>, solved on <%= reports[c].resolveDate %></code>
</p>
</div>
<% } %>
<% if (reports.length == 0) %> <p class="nm"><i>No reports available at the moment.</i></p>
</div>
</div>
<%- include("../partial/footer") %>
</body>
</html>