summaryrefslogtreecommitdiffstats
path: root/popup.html
blob: c7d5a013435909faec71a7825546862691d1e88e (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Stash</title>
  <style>
    body { 
        font-family: sans-serif; 
        padding: 1rem; 
        width: 300px; 
    }
    button { 
        width: 100%; 
        cursor: pointer;
    }
    button:disabled {
        cursor: not-allowed;
    }
    #controls {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 10px;
    }
    #clear {
        flex-grow: 0;
        width: auto;
    }
    #status {
        margin-bottom: 10px;
    }
    #metadata {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }
    #pageUrl, #pageDescription {
        font-size: smaller;
    }
  </style>
</head>
<body>
    <div id="controls">
        <button class="control" id="unread" data-kind="unread" title="Unread" disabled>📚</button>
        <button class="control" id="seen" data-kind="seen" title="Seen" disabled>👀</button>
        <button class="control" id="starred" data-kind="starred" title="Starred" disabled></button>
        <button class="control" id="clear" title="Clear" disabled>X</button>
    </div>

    <p id="status"></p>

    <fieldset id="metadata">
        <legend>Page details</legend>

        <b id="pageTitle"></b>
        <a href="#" id="pageUrl"></a>
        <span id="pageDescription"></span>
    </fieldset>

    <button id="saved">View all saved</button>

    <script type="module" src="popup.js"></script>
</body>
</html>