index.html (view raw)
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta
6 name="viewport"
7 content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
8 />
9 <meta http-equiv="X-UA-Compatible" content="ie=edge" />
10 <title>Paste</title>
11 <script src="https://cdn.jsdelivr.net/combine/
12npm/codeflask@1.4.1/build/codeflask.min.js,
13npm/prismjs@1.14.0/components/prism-markup-templating.min.js,
14npm/lzma@2.3.2/src/lzma.min.js,
15npm/slim-select@1.25.0/dist/slimselect.min.js,
16npm/clipboard@2/dist/clipboard.min.js
17"></script>
18 <script src="languages.js"></script>
19 <link
20 rel="stylesheet"
21 type="text/css"
22 href="https://cdn.jsdelivr.net/npm/slim-select@1.25.0/dist/slimselect.min.css"
23 />
24 <link rel="stylesheet" href="theme.css" />
25 <link rel="stylesheet" href="styles.css" />
26 <style></style>
27 </head>
28 <body>
29 <div id="editor"></div>
30 <div id="footer">
31 <div class="select-wrapper d-inline-block">
32 <select id="language"></select>
33 </div>
34 <div class="d-inline-block">
35 <button onclick="generateLink()" type="button">Generate link</button>
36 </div>
37 </div>
38 <div id="copy" style="display: none">
39 <input type="text" value="copy me" id="copy-link" />
40 <button class="clipboard" data-clipboard-target="#copy-link" type="button">Copy</button>
41 <button onclick="copyElement.style.display = 'none'" type="button">Cancel</button>
42 </div>
43 </body>
44
45 <script src="index.js"></script>
46</html>