Private pastes, systemd unit file, design updates.

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 :).
This commit is contained in:
2018-05-01 22:56:45 +05:00
parent 64c2d62a49
commit c926a58276
16 changed files with 183 additions and 26 deletions

View File

@@ -32,16 +32,31 @@
</div>
</div>
</nav>
<section class="section paste-header">
<div class="columns content">
<div class="column is-10">
<h2>#{pasteID}, titled '{pasteTitle}'</h2>
<p>Pasted on
<strong>{pasteDate}</strong>, language: {pasteLanguage}</p>
</div>
<div class="column is-2">
<a class="button" href="/paste/{pasteID}/raw">View raw</a>
</div>
<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">