PoorBooru/templates/layouts/main.html.ep

31 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-03-05 18:23:13 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>PoorBooru - <%= title %></title>
<%= stylesheet "/css/style.css" %>
</head>
<body class="bg-default fg-default flex-c-vertical">
<header>
2023-03-14 22:53:34 +01:00
<nav class="viewport flex-c-horizontal main-nav">
<%= link_to "Pooru~" => "/" %>
<%= link_to "random" => "/random" %>
<%= link_to "tags" => "/tags" %>
2023-03-05 18:23:13 +01:00
<span class="flex-i-fullsize"><!-- spacer --></span>
2023-03-14 22:53:34 +01:00
<%= link_to login => "/login" %>
2023-03-05 18:23:13 +01:00
</nav>
</header>
2023-03-14 22:53:34 +01:00
<main class="flex-i-fullsize flex-c-vertical">
2023-03-05 18:23:13 +01:00
<div class="viewport flex-i-fullsize flex-c-vertical">
<h1><%= title %></h1>
2023-03-14 22:53:34 +01:00
<div class="flex-i-fullsize"><%= content %></div>
<%= include '_pager' %>
2023-03-05 18:23:13 +01:00
</div>
</main>
2023-03-14 22:53:34 +01:00
<footer class="border-top">
<p class="viewport text-center text-small">Powered by <a href="https://www.openbsd.org">OpenBSD</a> and <a href="https://www.perl.org/">Perl</a>.</p>
2023-03-05 18:23:13 +01:00
</footer>
</body>
</html>