This commit is contained in:
maurice committed 2026-11-16 14:47:10 +01:00
1 parent 3d9777d81a
commit 084f78c60e
17 files changed
+253 -237

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{% extends "base.html" %}
{% block title %}{{ paste.id }} · Pastable{% endblock %}
{% block title %}{{ paste.id }} · Pastabble{% endblock %}
{% block content %}
<article class="card paste-view">
<div class="section-heading">
<div><p class="eyebrow">SHARED PASTE</p><h1>{{ paste.id }}</h1></div>
<div class="actions">
<p class="badge view-counter">Views: {{ paste.views }} / {% match paste.max_views %}{% when Some with (max) %}{{ max }}{% when None %}∞{% endmatch %}</p>
<button id="copy-code" class="secondary" type="button" data-raw="{{ raw_code }}">Copy raw code</button>
<button id="copy-code" class="secondary" type="button" data-raw="{{ raw_code }}">Copy</button>
</div>
</div>
{{ code|safe }}