bin/templates/pretty.html.tera
Gunwant Jain 449f0c38a9 PrettyPaste: Add Fork and New button
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2022-01-16 14:24:10 +05:30

34 lines
644 B
Plaintext

{% extends "base" %}
{% block styles %}
<style>
body {
padding: 10px;
}
pre {
margin: 0px;
font-family: 'Iosevka Web', monospace;
}
</style>
<link rel="stylesheet" href="/static/css/pretty.css">
{% endblock styles %}
{% block head %}
{% endblock head %}
{% block body %}
<div class="rootBox">
<div id="pasteContent">
{{ body | safe }}
</div>
<div class="topRightBox">
<button onclick="forkClicked()">&#x2442; Fork</button>
<button onclick="newPasteClicked()">&#43; New</button>
</div>
</div>
<script src="/static/js/pretty.js"></script>
{% endblock body %}