« get me outta code hell

index.html « popup « extension - interactive-bgm - Browser extension that adds background music based on the site you're browsing
about summary refs log tree commit diff
path: root/extension/popup/index.html
blob: ec498423df7726f9c773cea3d9dfa616a1807fc3 (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
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Interactive BGM</title>
        <link rel="stylesheet" href="style.css">
    </head>
    <body>
        <div class="screen visible" id="loading-screen">
            <p>Loading...</p>
        </div>
        <div class="screen has-sidebar" id="main-screen">
            <div class="sidebar">
                <h1>Rules</h1>
                <h2>Applies on this page:</h2>
                <ul id="rules-on-this-page"></ul>
                <h2>All rules:</h2>
                <ul id="all-rules"></ul>
            </div>
            <div class="content">
                <div class="content-screen" id="rule-content">
                    <div>
                        <h1 id="hostname"></h1>
                        <p>(Applies to: <span id="wildcard-representation">*</span>)</p>
                        <h2>Tracks</h2>
                    </div>
                    <ul id="track-list"></ul>
                    <div>
                        <h1>General Settings</h1>
                        <p><label><input id="disable-everywhere" type="checkbox"> Disable everywhere for now?</label></p>
                    </div>
                </div>
                <div class="content-screen visible" id="no-rule-content">
                    <p>No rule selected. Please select or create one!</p>
                </div>
            </div>
        </div>
        <div class="screen" id="invalid-host-screen">
            <p>Sorry, this page doesn't appear to have a hostname.<br>We can't configure music here.</p>
        </div>
        <script type="module" src="main.js"></script>
    </body>
</html>