stylus/options/index.html

112 lines
3.3 KiB
HTML
Raw Normal View History

2017-02-14 15:35:53 +00:00
<!DOCTYPE html>
2017-03-23 03:41:50 +00:00
<html id="stylus">
2017-02-14 15:35:53 +00:00
<head>
2017-04-10 06:47:09 +00:00
<title i18n-text-append="optionsHeading">Stylus </title>
2017-02-14 15:35:53 +00:00
<link rel="stylesheet" href="index.css">
2017-04-08 10:19:44 +00:00
<script src="/dom.js"></script>
<script src="/messaging.js"></script>
<script src="/localization.js"></script>
<script src="/prefs.js"></script>
<script src="/apply.js"></script>
2017-02-14 15:35:53 +00:00
</head>
<body>
<div id="options">
<div class="block">
<h1 i18n-text="optionsCustomizeBadge"></h1>
<div class="items">
<label>
<span i18n-text="prefShowBadge"></span>
<span class="onoffswitch">
2017-04-29 17:05:42 +00:00
<input type="checkbox" id="show-badge">
<span></span>
</span>
</label>
<label>
<span i18n-text="optionsBadgeNormal"></span>
<input type="color" id="badgeNormal">
</label>
<label>
<span i18n-text="optionsBadgeDisabled"></span>
<input type="color" id="badgeDisabled">
</label>
</div>
</div>
<div class="block">
<h1 i18n-text="optionsCustomizePopup"></h1>
<div class="items">
<label>
<span i18n-text="optionsPopupWidth"></span>
<input type="number" id="popupWidth" min="200" max="800">
</label>
<label>
<span i18n-text="popupStylesFirst"></span>
<span class="onoffswitch">
2017-04-29 17:05:42 +00:00
<input type="checkbox" id="popup.stylesFirst">
<span></span>
</span>
</label>
</div>
</div>
<div class="block">
<h1 i18n-text="optionsCustomizeUpdate"></h1>
<div class="items">
<label>
<span i18n-text="optionsUpdateInterval"><sup>1</sup></span>
<input type="number" min="0" id="updateInterval">
</label>
</div>
</div>
<div class="block">
<h1 i18n-text="optionsAdvanced"></h1>
<div class="items">
<label>
<span i18n-text="optionsAdvancedExposeIframes"> <sup>2</sup></span>
<span class="onoffswitch">
2017-04-29 17:05:42 +00:00
<input type="checkbox" id="exposeIframes">
<span></span>
</span>
2017-04-29 16:54:16 +00:00
</label>
<label>
<span i18n-text="optionsAdvancedContextDelete"></span>
<span class="onoffswitch">
2017-04-29 17:05:42 +00:00
<input type="checkbox" id="editor.contextDelete">
<span></span>
2017-04-29 16:54:16 +00:00
</span>
</label>
</div>
</div>
<div class="block" id="actions">
<button data-cmd="reset" i18n-text="optionsResetButton" i18n-title="optionsReset"></button>
<button data-cmd="open-manage" i18n-text="optionsOpenManager"></button>
<div data-cmd="check-updates">
<button i18n-text="optionsCheck" i18n-title="optionsCheckUpdate">
<span id="update-progress"></span>
</button>
<div id="updates-installed" i18n-text="updatesCurrentlyInstalled"></div>
</div>
<a data-cmd="open-keyboard" class="chromium-only" href="chrome://extensions/configureCommands">
<button i18n-text="shortcuts" i18n-title="shortcutsNote"></button>
</a>
</div>
</div>
<div id="notes">
<ol>
<li>
<p i18n-text="optionsUpdateIntervalNote"></p>
<p i18n-text="optionsUpdateImportNote"></p>
</li>
<li i18n-text="optionsAdvancedExposeIframesNote"></li>
</ol>
2017-02-14 15:35:53 +00:00
</div>
<script src="index.js"></script>
</body>
</html>