2020-08-23 15:13:17 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2021-06-20 16:58:36 +03:00
|
|
|
|
2020-08-23 15:13:17 +03:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>pasty</title>
|
2020-08-24 19:32:14 +03:00
|
|
|
<link rel="stylesheet" href="assets/css/style.css">
|
2020-09-11 19:02:44 +03:00
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/solarized-dark.min.css">
|
2021-07-24 00:39:37 +03:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
|
2020-08-23 15:13:17 +03:00
|
|
|
</head>
|
2021-06-20 16:58:36 +03:00
|
|
|
|
2020-08-23 15:13:17 +03:00
|
|
|
<body>
|
2021-07-24 00:39:37 +03:00
|
|
|
<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>
|
2020-08-23 21:02:51 +03:00
|
|
|
<div class="navigation">
|
2021-07-24 00:39:37 +03:00
|
|
|
<div class="buttons" id="buttons_default">
|
2020-08-23 21:02:51 +03:00
|
|
|
<button class="button" id="btn_new" title="Create new paste (Ctrl + Q)">
|
2021-06-20 16:58:36 +03:00
|
|
|
<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" />
|
2020-08-23 21:02:51 +03:00
|
|
|
<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)">
|
2021-06-20 16:58:36 +03:00
|
|
|
<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" />
|
2020-08-23 21:02:51 +03:00
|
|
|
<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>
|
2021-07-24 00:39:37 +03:00
|
|
|
<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>
|
2020-08-23 21:02:51 +03:00
|
|
|
<button class="button" id="btn_delete" title="Delete paste (Ctrl + X)" disabled>
|
2021-06-20 16:58:36 +03:00
|
|
|
<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" />
|
2020-08-23 21:02:51 +03:00
|
|
|
<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>
|
2020-09-16 21:17:40 +03:00
|
|
|
<button class="button" id="btn_copy" title="Copy paste to clipboard (Ctrl + B)" disabled>
|
2021-06-20 16:58:36 +03:00
|
|
|
<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" />
|
2020-08-23 21:02:51 +03:00
|
|
|
<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>
|
2021-07-24 00:39:37 +03:00
|
|
|
<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>
|
2020-08-23 21:02:51 +03:00
|
|
|
</div>
|
|
|
|
<div class="container">
|
2020-08-26 21:34:43 +03:00
|
|
|
<div id="notifications"></div>
|
2020-08-24 22:53:23 +03:00
|
|
|
<div id="linenos"><span>></span></div>
|
2020-08-23 21:02:51 +03:00
|
|
|
<div id="content">
|
|
|
|
<div id="code"></div>
|
|
|
|
<textarea id="input" class="hidden"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-20 16:58:36 +03:00
|
|
|
<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>
|
2020-08-23 21:02:51 +03:00
|
|
|
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.2/build/highlight.min.js"></script>
|
2021-07-24 00:39:37 +03:00
|
|
|
<script src="assets/js/app.js" type="module"></script>
|
2020-08-23 15:13:17 +03:00
|
|
|
</body>
|
2021-06-20 16:58:36 +03:00
|
|
|
|
2020-08-23 15:13:17 +03:00
|
|
|
</html>
|