summaryrefslogtreecommitdiff
path: root/ext/action-popup.html
blob: 5c6bfce46df10894c9bfe6aa32ec95b9379785f5 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Yomitan Action Popup</title>
    <link rel="icon" type="image/png" href="/images/icon16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="/images/icon19.png" sizes="19x19">
    <link rel="icon" type="image/png" href="/images/icon32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/images/icon38.png" sizes="38x38">
    <link rel="icon" type="image/png" href="/images/icon48.png" sizes="48x48">
    <link rel="icon" type="image/png" href="/images/icon64.png" sizes="64x64">
    <link rel="icon" type="image/png" href="/images/icon128.png" sizes="128x128">
    <link rel="stylesheet" type="text/css" href="/css/action-popup.css">
    <script type="importmap">{"imports":{
"dexie": "./lib/dexie.js",
"handlebars": "./lib/handlebars.js",
"parse5": "./lib/parse5.js",
"wanakana": "./lib/wanakana.js",
"validate-schemas": "./lib/validate-schemas.js",
"zip.js": "./lib/zip.js"
}}</script>
</head>
<body>

<div id="mini">
    <label class="toggle">
        <input type="checkbox" id="enable-search">
        <div class="toggle-group">
            <span class="toggle-on">On</span>
            <span class="toggle-off">Off</span>
            <span class="toggle-handle"></span>
        </div>
    </label>
    <div class="nav-button-container">
        <button type="button" class="nav-button action-select-profile" title="Change primary profile" hidden>
            <span class="icon" data-icon="profile"></span>
            <span class="profile-select-container"><select class="profile-select" id="profile-select">
                <optgroup label="Primary Profile" id="profile-select-option-group"></optgroup>
            </select></span>
        </button>
        <a tabindex="0" class="nav-button action-open-settings" title="Settings" data-hotkey='["global:openSettingsPage","title","Settings ({0})"]'>
            <span class="icon" data-icon="cog"></span>
            <div class="nav-button-warning-badge no-dictionaries-enabled-warning" hidden>
                <div class="nav-button-warning-badge-outer"></div>
                <div class="nav-button-warning-badge-inner"></div>
            </div>
        </a>
        <a tabindex="0" class="nav-button action-open-permissions" title="Permissions" hidden>
            <span class="icon" data-icon="key"></span>
            <div class="nav-button-warning-badge permissions-required-warning" hidden>
                <div class="nav-button-warning-badge-outer"></div>
                <div class="nav-button-warning-badge-inner"></div>
            </div>
        </a>
        <a tabindex="0" class="nav-button action-open-search" title="Search" data-hotkey='["global:openSearchPage","title","Search ({0})\nShift+click to open here"]'>
            <span class="icon" data-icon="magnifying-glass"></span>
        </a>
        <a tabindex="0" class="nav-button action-open-info" title="Information" data-hotkey='["global:openInfoPage","title","Information ({0})"]'>
            <span class="icon" data-icon="question-mark-circle"></span>
        </a>
    </div>
</div>

<div id="full">
    <h3 id="extension-info">Yomitan</h3>
    <label class="link-group">
        <span class="link-group-icon"><input type="checkbox" id="enable-search2"></span><span class="link-group-label">Enable content scanning</span>
    </label>
    <a tabindex="0" class="link-group action-open-settings">
        <span class="link-group-icon" data-icon="chevron"></span>
        <span class="link-group-label">Settings</span>
        <span class="link-group-badge">
            <div class="flex-margin-left warning-badge no-dictionaries-enabled-warning" hidden><span class="icon" data-icon="exclamation-point-short"></span></div>
        </span>
    </a>
    <a tabindex="0" class="link-group action-open-permissions" hidden>
        <span class="link-group-icon" data-icon="chevron"></span>
        <span class="link-group-label">Permissions</span>
        <span class="link-group-badge">
            <div class="flex-margin-left warning-badge permissions-required-warning" hidden><span class="icon" data-icon="exclamation-point-short"></span></div>
        </span>
    </a>
    <a tabindex="0" class="link-group action-open-search">
        <span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Search</span>
    </a>
    <a tabindex="0" class="link-group action-open-info">
        <span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Information</span>
    </a>
</div>

<!-- Scripts -->
<script src="/js/pages/action-popup-main.js" type="module"></script>

</body>
</html>