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/admin-actions/all-ip-blocks.ejs

31 lines
1 KiB
Text

<!DOCTYPE html>
<html>
<head>
<title>all ip blocks - <%- 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 Blocked IPs</h2>
<% for (var c in blocks) { %>
<div class="oneliner">
<p class="nm">
<a href="/admin/blocks/ip/<%= encodeURIComponent(blocks[c].ip) %>"><code><%= blocks[c].ip %></code></a>
</p>
</div>
<% } %>
<% if (blocks.length == 0) { %>
<p class="nm"><i>No blocks on IPs could be found.</i></p>
<% } %>
</div>
</div>
<%- include("../../partial/footer") %>
</body>
</html>