PrettyPaste: Add Fork and New button
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
parent
372bbf28d3
commit
449f0c38a9
7 changed files with 80 additions and 7 deletions
|
|
@ -11,6 +11,7 @@
|
|||
font-family: 'Iosevka Web', monospace;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/static/css/pretty.css">
|
||||
{% endblock styles %}
|
||||
|
||||
|
||||
|
|
@ -19,5 +20,15 @@
|
|||
|
||||
|
||||
{% block body %}
|
||||
{{ body | safe }}
|
||||
<div class="rootBox">
|
||||
<div id="pasteContent">
|
||||
{{ body | safe }}
|
||||
</div>
|
||||
<div class="topRightBox">
|
||||
<button onclick="forkClicked()">⑂ Fork</button>
|
||||
<button onclick="newPasteClicked()">+ New</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/pretty.js"></script>
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue