mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
143 lines
7.7 KiB
HTML
143 lines
7.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>pasty</title>
|
|
<link rel="stylesheet" href="assets/css/style.css">
|
|
<link rel="stylesheet" href="assets/libs/highlightjs/solarized-dark.min.css">
|
|
<link rel="stylesheet" href="assets/libs/animatecss/animate.min.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="spinner-container" class="hidden"><div class="spinner"></div></div>
|
|
<div id="btn_report" class="hidden" title="Report paste">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-flag" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
<line x1="5" y1="5" x2="5" y2="21" />
|
|
<line x1="19" y1="5" x2="19" y2="14" />
|
|
<path d="M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0" />
|
|
<path d="M5 14a5 5 0 0 1 7 0a5 5 0 0 0 7 0" />
|
|
</svg>
|
|
</div>
|
|
<div class="navigation">
|
|
<div class="buttons" id="buttons_default">
|
|
<button class="button" id="btn_new" title="Create new paste (Ctrl + Q)">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-circle-plus" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" />
|
|
<circle cx="12" cy="12" r="9" />
|
|
<line x1="9" y1="12" x2="15" y2="12" />
|
|
<line x1="12" y1="9" x2="12" y2="15" />
|
|
</svg>
|
|
</button>
|
|
<button class="button" id="btn_save" title="Save paste (Ctrl + S)" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-device-floppy" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" />
|
|
<path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" />
|
|
<circle cx="12" cy="14" r="2" />
|
|
<polyline points="14 4 14 8 8 8 8 4" />
|
|
</svg>
|
|
</button>
|
|
<button class="button" id="btn_edit" title="Edit paste (Ctrl + O)" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-edit" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
<path d="M9 7h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3" />
|
|
<path d="M9 15h3l8.5 -8.5a1.5 1.5 0 0 0 -3 -3l-8.5 8.5v3" />
|
|
<line x1="16" y1="5" x2="19" y2="8" />
|
|
</svg>
|
|
</button>
|
|
<button class="button" id="btn_delete" title="Delete paste (Ctrl + X)" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-trash" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" />
|
|
<line x1="4" y1="7" x2="20" y2="7" />
|
|
<line x1="10" y1="11" x2="10" y2="17" />
|
|
<line x1="14" y1="11" x2="14" y2="17" />
|
|
<path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" />
|
|
<path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" />
|
|
</svg>
|
|
</button>
|
|
<button class="button" id="btn_copy" title="Copy paste to clipboard (Ctrl + B)" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" />
|
|
<path d="M9 5H7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2V7a2 2 0 0 0 -2 -2h-2" />
|
|
<rect x="9" y="3" width="6" height="4" rx="2" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div class="buttons hidden" id="buttons_edit">
|
|
<button class="button" id="btn_edit_cancel" title="Cancel (Escape)">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-back-up" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
<path d="M9 13l-4 -4l4 -4m-4 4h11a4 4 0 0 1 0 8h-1" />
|
|
</svg>
|
|
</button>
|
|
<button class="button" id="btn_edit_apply" title="Apply changes (Ctrl + S)">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-check" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
<path d="M5 12l5 5l10 -10" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div class="buttons">
|
|
<button class="button" id="btn_toggle_encryption" title="Toggle encryption">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-lock" width="40"
|
|
height="40" viewBox="0 0 24 24" stroke-width="1.5" stroke="#bebebe" fill="none"
|
|
stroke-linecap="round" stroke-linejoin="round">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
<rect x="5" y="11" width="14" height="10" rx="2" />
|
|
<circle cx="12" cy="16" r="1" />
|
|
<path d="M8 11v-4a4 4 0 0 1 8 0v4" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div id="notifications"></div>
|
|
<div id="lifetime_container" class="hidden">
|
|
Lifetime: <span id="lifetime">loading...</span>
|
|
</div>
|
|
<div id="content_length_container">
|
|
<span id="characters">0</span> characters, <span id="lines">0</span> lines
|
|
</div>
|
|
<div id="linenos"><span>></span></div>
|
|
<div id="content">
|
|
<div id="code"></div>
|
|
<textarea id="input" class="hidden"></textarea>
|
|
</div>
|
|
</div>
|
|
<div id="footer">
|
|
<div id="flex">
|
|
<div>
|
|
<a href="https://github.com/lus/pasty" target="_blank">GitHub</a>
|
|
<a href="https://go.lus.pm/discord" target="_blank">Discord</a>
|
|
<a href="https://github.com/lus/pasty/blob/develop/CREDITS.md" target="_blank">Credits</a>
|
|
</div>
|
|
<div class="version-container">
|
|
<span>Version:</span>
|
|
<div id="version">loading...</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="assets/libs/highlightjs/highlight.min.js"></script>
|
|
<script type="text/javascript" src="assets/libs/aesjs/aes.min.js"></script>
|
|
<script src="assets/js/app.js" type="module"></script>
|
|
</body>
|
|
|
|
</html> |