summary refs log tree commit diff
path: root/index.html
blob: 0661a507eac8ce56043697ccc70316932e133d17 (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
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>soktdeer wl client</title>
    <!-- original name, ik -->
    <script type="module" src="main.js"></script>
    <link rel="stylesheet/less" type="text/css" href="styles.less" />
    <script src="https://cdn.jsdelivr.net/npm/less"></script>
</head>

<body>
    <div class="ap-popup-container hidden">
        <div class="ap-popup"></div>
    </div>
    <div class="topbar hidden" id="topbar">
        SD-WL
        <div>
            <button onclick="window.pages.goToPage('main')">home</button>
            <button onclick="window.pages.goToPage('settings')" disabled>settings</button>
            <button onclick="throw new Error('A')" disabled>log out</button>
        </div>
    </div>
    <div class="main">

    </div>
</body>

</html>
<style>
    .ap-popup-container {
        position: absolute;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        background: #0003;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .ap-main,
    .ap-popup {
        background: white
    }

    #ap-btn-close-popup {
        background: 0 0;
        border: none;
        cursor: pointer;
        padding: .25em
    }

    .ap-popup-title {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .ap-popup {
        min-width: 20%;
        padding: 1em;
        border: 2px ridge #bbb;
        height: fit-content
    }

    .ap-popup-container.hidden {
        display: none
    }
</style>