aboutsummaryrefslogtreecommitdiff
path: root/ext/action-popup.html
blob: 1b0072a60f050a34c120208d1c4a7053ad37040f (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
97
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Yomichan 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/context.css">
</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 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 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 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 class="nav-button action-open-search" title="Search" data-hotkey='["global:openSearchPage","title","Search ({0})"]'>
            <span class="icon" data-icon="magnifying-glass"></span>
        </a>
        <a 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">Yomichan</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 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 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 class="link-group action-open-search">
        <span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Search</span>
    </a>
    <a class="link-group action-open-info">
        <span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Help</span>
    </a>
</div>

<script src="/mixed/js/core.js"></script>
<script src="/mixed/js/yomichan.js"></script>
<script src="/mixed/js/comm.js"></script>
<script src="/mixed/js/api.js"></script>

<script src="/mixed/js/hotkey-help-controller.js"></script>
<script src="/mixed/js/hotkey-util.js"></script>

<script src="/bg/js/permissions-util.js"></script>

<script src="/bg/js/context-main.js"></script>

</body>
</html>