Stanislav N. aka pztrn
c926a58276
It is now possible to create private pastes, just check approriate checkbox. Added systemd unit file. Don't forget to fix it for your needs! Updated design for pastes viewing, now paste information shows in table. Improves mobile experience at least :).
67 lines
2.0 KiB
HTML
67 lines
2.0 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>
|
|
<a class="navbar-item" href="/pastes/">
|
|
Pastes
|
|
</a>
|
|
<div class="navbar-burger burger" data-target="navbarItems">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="navbarItems" class="navbar-menu">
|
|
<div class="navbar-start">
|
|
</div>
|
|
|
|
<div class="navbar-end">
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<section class="section">
|
|
<div class="content">
|
|
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Title</th>
|
|
<th>Language</th>
|
|
<th>Pasted on</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{pasteID}</td>
|
|
<td>{pasteTitle}</td>
|
|
<td>{pasteLanguage}</td>
|
|
<td>{pasteDate}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4">
|
|
<a class="button" href="/paste/{pasteID}/raw">View raw</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
<div class="paste-data">
|
|
{pastedata}
|
|
</div>
|
|
</body>
|
|
|
|
</html> |