aboutsummaryrefslogtreecommitdiff
path: root/get.html
blob: 37768b00ebbf76911f6658af4eb64d5a24309001 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en" data-theme="dark">

<head>
    <meta charset="UTF-8">
    <title>paste-cgi</title>
    <link rel="icon" href="./favicon.svg" type="image/svg+xml">
    <link rel="stylesheet" href="./pico.min.css">
</head>

<body>
    <main class="container">
        <a href="/">
            <h1>paste-cgi</h1>
        </a>

        <form id="cryptoForm">
            <h3 id="title">Title</h3>

            <div id="passwordField" style="display: none;">
                <label for="password">Password</label>
                <input type="password" id="password" placeholder="Enter your password" />
            </div>

            <button type="button" id="decryptBtn" onclick="handleDecrypt()" style="display: none;">Decrypt</button>
        </form>

        <div id="pasteUrlSection" style="display: none;">
            <h3>Paste</h3>
            <textarea id="decryptedOutput" rows="5" readonly></textarea>
            <button type="button" onclick="copyPaste()">Copy</button>
        </div>
    </main>
    <script src="/script.js"></script>
</body>

</html>