all repos — NoPaste @ c815b7c125ddae0d045e8f4c7a650010cd7e5c43

Resurrected - The PussTheCat.org fork of NoPaste

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/lzma@2.3.2/src/lzma.min.js,
13npm/slim-select@1.25.0/dist/slimselect.min.js,
14npm/clipboard@2/dist/clipboard.min.js,
15npm/codemirror@5.51.0/lib/codemirror.min.js,
16npm/codemirror@5.51.0/addon/mode/loadmode.min.js,
17npm/codemirror@5.51.0/mode/meta.min.js
18"></script>
19        <link
20            rel="stylesheet"
21            type="text/css"
22            href="https://cdn.jsdelivr.net/combine/
23npm/slim-select@1.25.0/dist/slimselect.min.css,
24npm/codemirror@5.51.0/lib/codemirror.min.css,
25npm/codemirror@5.51.0/theme/dracula.min.css
26"
27        />
28        <link rel="stylesheet" href="style.css" />
29    </head>
30    <body>
31        <div id="progress"></div>
32        <div id="editor"></div>
33        <div id="footer">
34            <label for="language"></label
35            ><select id="language"></select>
36            <span class="grow"></span>
37            <button onclick="generateLink()" type="button">Generate link</button>
38        </div>
39        <div id="copy" style="display: none">
40            <input
41                type="text"
42                value="copy me"
43                id="copy-link"
44                class="grow"
45                onClick="this.setSelectionRange(0, this.value.length)"
46            />
47            <button class="clipboard" id="copy-btn" data-clipboard-target="#copy-link" type="button">Copy</button>
48            <button onclick="hideCopyBar(false)" type="button">Cancel</button>
49        </div>
50    </body>
51
52    <script src="index.js"></script>
53</html>