prc layout

This commit is contained in:
dreamer 2025-12-31 11:21:05 +01:00
parent ff731cf9a9
commit d7dd9947d9

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title><%= titles['name'] %>
<% if title then %>
- <%= title %>
<% end %>
</title>
<link rel="icon" type="image/x-icon" href="/static/<%= titles['url'] %>.ico">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/<%= titles.css %>">
</head>
<body class="body">
<header class="header">
<a href="/"><img src="/static/<%= titles['header'] %>" alt="prc logo" class="prclogo"/></a>
</header>
<h1 class="h1 h1mobile">Tons Of Mix - Downloads & Streams bladie(right click + Save link as... for downloads)<br>
<%= titles.name %><br>
Sharing <%= total[0] %> files
</h1>
<img src="/static/panamaracing.club_divider.png">
<% content_for("inner") %>
<section class="latest">
<div class="latest_files">
<br>
<br>
<h1 class="h1">Latest uploads:</h1>
<% for i, file in ipairs(latestpath) do %>
<a class="amixlink" href="<%= '/data/' .. titles.url .. '/' .. file:gsub("#", "%%23") %>">
<span class="mixlink"><%= latestname[i] %></span>
</a>
</br>
<% end %>
</div>
</section>
</body>
</html>