Stanislav N. aka pztrn
48d43ca097
Pagination now works. Temporary hardcoded 10 pastes per page, will be put in configuration later. Maybe. From now user will receive readable error message if error occured. Started to work on syntax highlighting, tried to make lexers detection work but apparently to no avail.
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Fast Paste Bin - ERROR!</title>
|
|
<link rel="stylesheet" href="/static/css/bulma-0.7.0.min.css">
|
|
<script defer src="/static/js/fontawesome-5.0.7.js"></script>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
</head>
|
|
|
|
<body>
|
|
<nav class="navbar is-dark">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item" href="/">Fast Paste Bin</a>
|
|
<div class="navbar-burger burger" data-target="navbarExampleTransparentExample">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="navbarExampleTransparentExample" class="navbar-menu">
|
|
<div class="navbar-start">
|
|
<a class="navbar-item" href="/pastes/">
|
|
Pastes
|
|
</a>
|
|
</div>
|
|
|
|
<div class="navbar-end">
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<section class="section">
|
|
<div>
|
|
{pagination}
|
|
</div>
|
|
<div>
|
|
{pastes}
|
|
</div>
|
|
<div>
|
|
{pagination}
|
|
</div>
|
|
</section>
|
|
</body>
|
|
|
|
</html> |