49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>transparency report - <%- 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>
|
|
<% } %>
|
|
<% 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">Report</h2>
|
|
<p class="nm">This report was publicized on <%= date %></p>
|
|
<div style="margin-top:5px;">
|
|
<% if (account?.admin) { %>
|
|
<a href="/reports/<%= report %>"><button>Original Report</button></a>
|
|
<% } %>
|
|
</div>
|
|
|
|
<h3 class="nmb">Comment</h3>
|
|
<p class="nm"><i>This is the comment recieved on the original report.</i></p>
|
|
<p class="nm fw"><code class="fw"><%= comment %></code></p>
|
|
|
|
<% if (emails !== "") { %>
|
|
<h3 class="nmb">Emails</h3>
|
|
<p class="nm"><i>Below are emails exchanged between admins and the reporter.</i></p>
|
|
<p class="nm fw"><code class="fw"><%= emails %></code></p>
|
|
<% } %>
|
|
|
|
<% if (adminComments !== "") { %>
|
|
<h3 class="nmb">Admin Comments</h3>
|
|
<p class="nm"><i>Below are any comments to the public reading this.</i></p>
|
|
<p class="nm fw"><code class="fw"><%= adminComments %></code></p>
|
|
<% } %>
|
|
</div>
|
|
<%- include("../partial/footer") %>
|
|
</body>
|
|
</html> |