aboutsummaryrefslogtreecommitdiff
path: root/app/templates/dashboard.html
blob: 554ec03fdfba58d42e32941ffb1ab923a57ddff3 (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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LinkLogger | Login</title>
</head>
<body>
    <div>
        <!-- Create a small box that will hold the text for the users api key, next to the box should be a regenerate button -->
        <p>Your API Key: <span id="api-key">{{ api_key }}</span></p>
        <button onclick="window.location.href='logout'">Logout</button>
    </div>
</body>
</html>

<style>
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        background-color: #2c3338;
    }

    div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        font-size: 25px;
        color: #ccc;
    }

    button {
        display: block;
        margin: 10px auto;
        width: 200px;
        border-radius: 5px;
        padding: 15px;
        color: #ccc;
        background-color: #415eac;
        border: none;
        font-size: 17px;
        cursor: pointer;
    }
</style>