31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>all accounts - <%- config["meta"]["name"] %></title>
|
|
<link href="/css/admin.css" rel="stylesheet">
|
|
<%- include("../../partial/html-head")%>
|
|
</head>
|
|
<body>
|
|
<%- include("../../partial/header") %>
|
|
<div class="modal">
|
|
<a href="/admin"><button>Back to admin panel</button></a><br><br>
|
|
<h2 class="nm">Admin Panel</h2>
|
|
<p class="nm">No longer must you tinker with the scripts, website god.</p>
|
|
<div class="container">
|
|
<h2 class="nm container-name">All Accounts</h2>
|
|
<% for (var c in accounts) { %>
|
|
<div class="oneliner">
|
|
<p class="nm">
|
|
<a href="/u/<%= accounts[c].username %>"><%= accounts[c].username %></a>
|
|
<% if (accounts[c].admin) { %>(Admin)<%} else {%>(Regular)<%}%>
|
|
</p>
|
|
</div>
|
|
<% } %>
|
|
<% if (accounts.length == 0) { %>
|
|
<p class="nm"><i>No accounts could be found.</i></p>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
<%- include("../../partial/footer") %>
|
|
</body>
|
|
</html> |