File: options_ui.html

package info (click to toggle)
allow-html-temp 10.0.8-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 368 kB
  • sloc: javascript: 1,454; makefile: 25; sh: 7
file content (175 lines) | stat: -rw-r--r-- 6,384 bytes parent folder | download | duplicates (3)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <link rel="shortcut icon" type="image/svg" href="../icons/aht_icon.svg" id="favicon" />

    <title>__MSG_optionPageTitle_label__</title>

    <link rel="stylesheet" type="text/css"
          href="chrome://global/skin/in-content/common.css" />
    <link rel="stylesheet" type="text/css"
          href="chrome://messenger/skin/preferences/preferences.css" />
    <link rel="stylesheet" type="text/css" 
          href="options_ui.css" />
  </head>

  <body>

    <div class="subcategory">
      <h1>__MSG_optionHTML_label__</h1>
    </div>
    <div class="subcategory_infotext">
      __MSG_optionGeneralDescription_label__
    </div>

    <div class="subcategory_infotext">
      __MSG_optionHTMLDescription_label__
    </div>

    <div class="flexbox">
      <div id="box_defaultHtml">
        <legend>
          __MSG_optionAppHTML_label__
        </legend>
        <div>
          <div>
            <input type="radio" id="appMode_html" name="appHtmlMode" value="appMode_html">
            <label for="appMode_html">__MSG_optionOriginalHTML_label__ __MSG_optionNotRecommended_label__</label>
          </div>
          <div>
            <input type="radio" id="appMode_sanitized" name="appHtmlMode" value="appMode_sanitized">
            <label for="appMode_sanitized">__MSG_optionSanitizedHTML_label__</label>
          </div>
          <div>
            <input type="radio" id="appMode_plaintext" name="appHtmlMode" value="appMode_plaintext">
            <label for="appMode_plaintext">__MSG_optionPlaintext_label__</label>
          </div>
          <div id="allBodyParts" class="hidden">
            <input type="radio" id="appMode_allBodyParts" name="appHtmlMode" value="appMode_allBodyParts">
            <label for="appMode_allBodyParts">__MSG_optionAllBodyParts_label__</label>
          </div>
        </div>
      </div>
      <div id="box_buttonHtml">
        <legend>
          __MSG_optionButtonHTML_label__
        </legend>
        <div>
          <div>
            <input type="radio" id="buttonMode_html" name="buttonHtmlMode" value="buttonMode_html">
            <label for="buttonMode_html">__MSG_optionOriginalHTML_label__</label>
          </div>
          <div>
            <input type="radio" id="buttonMode_sanitized" name="buttonHtmlMode" value="buttonMode_sanitized">
            <label for="buttonMode_sanitized">__MSG_optionSanitizedHTML_label__</label>
          </div>
          <div>
            <input type="radio" id="buttonMode_plaintext" name="buttonHtmlMode" value="buttonMode_plaintext">
            <label for="buttonMode_plaintext">__MSG_optionPlaintext_label__</label>
          </div>
        </div>
      </div>
    </div>
    <div id="warning_appHtmlMode" class="warning hidden">
      <label>↑ __MSG_optionHTMLDescriptionWarning_label__</label>
    </div>

    <div class="subcategory">
      <h1>__MSG_optionAdditionalOptions_label__</h1>
    </div>
    <div class="subcategory_infotext">
      __MSG_optionAllwaysVersusClickDescription_label__
    </div>

    <legend>
      __MSG_optionRemoteContent_label__
    </legend>
    <div>
      <div>
        <input type="checkbox" id="appRemoteContent" />
        <label for="appRemoteContent">__MSG_optionAllwaysRemoteContent_label__</label>
        <div id="warning_appRemoteContent" class="warning hidden">
          <label>↑ __MSG_optionAllwaysRemoteContentWarning_label__</label>
        </div>
      </div>
      <div class="indent">
        <input type="checkbox" id="tempRemoteContent" />
        <label id="tempRemoteContentLabelId" for="tempRemoteContent">__MSG_optionTempRemoteContent_label__</label>
      </div>
    </div>

    <legend>
      __MSG_optionAttachments_label__
    </legend>
    <div>
      <div>
        <input type="checkbox" id="allwaysInline" />
        <label for="allwaysInline">__MSG_optionAttachmentsAllwaysInline_label__</label>
        <div id="warning_allwaysInline" class="warning hidden">
          <label>↑ __MSG_optionAttachmentsTempInlineWarning_label__</label>
        </div>
      </div>
      <div class="indent">
        <input type="checkbox" id="tempInline" />
        <label id="tempInlineLabelId" for="tempInline">__MSG_optionAttachmentsTempInline_label__</label>
      </div>
    </div>

    <div class="subcategory">
      <h1>__MSG_optionCommandKeyHeader_label__</h1>
    </div>
    <div class="subcategory_infotext">
      __MSG_optionCommandKeyDescription_label__</a>
    </div>
    <div>
      <div>
        <label for="commandKey">__MSG_optionCommandKey_label__</label>
        <input type="text" id="commandKey" />
      </div>
    </div>
    <div id="warning_optionCommandKey" class="cmd_warning hidden">
      <label>__MSG_optionCommandKeyWarning_label__</label>
    </div>
    <div class="subcategory_infotext">
      <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands#shortcut_values">__MSG_optionCommandKeyRulesText_label__</a>
    </div>

    <div class="subcategory">
      <h1>__MSG_optionDebugHeader_label__</h1>
    </div>
    <div class="subcategory_infotext">
      __MSG_optionDebugDescription_label__
    </div>
    <div>
      <div>
        <input type="checkbox" id="debug" />
        <label for="debug">__MSG_optionDebug_label__</label>
      </div>
    </div>

    <div class="subcategory">
      <h1>__MSG_optionResetAllOptionsHeader_label__</h1>
    </div>
    <div class="subcategory_infotext">
      __MSG_optionResetAllOptionsDescription2_label__
    </div>
    <div>
      <button id="resetToDefault"
        style="float: unset !important;">__MSG_optionButtonResetToDefault_label__</button>
      <button id="resetToRecommended"
        style="float: unset !important;">__MSG_optionButtonResetToRecommended_label__</button>
    </div>

    <script src="../scripts/debug.js"></script>
    <script src="../scripts/i18n.js"></script>
    <script src="../scripts/options_defaults.js"></script>
    <script src="../scripts/options.js"></script>
    <script src="options_ui_save-restore.js"></script>
    <script src="options_ui_listeners.js"></script>
    <script src="options_ui.js"></script>

  </body>

</html>