34 lines
1,021 B
Text
34 lines
1,021 B
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CVLT - <%= message.title %></title>
|
|
<link rel="stylesheet" href="/styles/css/bootstrap.min.css" />
|
|
</head>
|
|
<body class="bg-dark text-light">
|
|
<div class="d-flex flex-column py-4 px-4 align-items-center">
|
|
<h1 class="mb-0"><%= message.title %></h1>
|
|
<% if (user && user.isMember) { %>
|
|
<p>Penned: <%= message.date %> by <%= message.author %></p>
|
|
<% } %>
|
|
<div class="pb-4"></div>
|
|
<p><%= message.text %></p>
|
|
<div class="pb-4"></div>
|
|
<% if (user && user.isAdmin) { %>
|
|
<a
|
|
href="/msg/<%= message._id %>/delete"
|
|
type="button"
|
|
class="btn btn-danger px-4"
|
|
>
|
|
🗙 Countermand this Insight
|
|
</a>
|
|
<% } %>
|
|
</div>
|
|
<footer
|
|
class="position-fixed bottom-0 border-light border-top w-100 py-2 d-flex justify-content-center"
|
|
>
|
|
<a href="/" type="button" class="btn btn-outline-light px-4 py-1">
|
|
Back to Home
|
|
</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|