93 lines
2.9 KiB
HTML
93 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html id="stylus">
|
|
<head>
|
|
<title i18n-text-append="optionsHeading">Stylus </title>
|
|
<link rel="stylesheet" href="index.css">
|
|
<script src="/dom.js"></script>
|
|
<script src="/localization.js"></script>
|
|
<script src="/messaging.js"></script>
|
|
<script src="/prefs.js"></script>
|
|
<script src="/apply.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="options">
|
|
<div class="block">
|
|
<h1 i18n-text="optionsCustomizeBadge"></h1>
|
|
<div class="items">
|
|
<label>
|
|
<span i18n-text="optionsBadgeNormal"></span>
|
|
<input type="color" id="badgeNormal">
|
|
</label>
|
|
<label>
|
|
<span i18n-text="optionsBadgeDisabled"></span>
|
|
<input type="color" id="badgeDisabled">
|
|
</label>
|
|
<label>
|
|
<span i18n-text="prefShowBadge"></span>
|
|
<span class="onoffswitch">
|
|
<input type="checkbox" class="onoffswitch-checkbox" id="show-badge">
|
|
<span class="onoffswitch-label"></span>
|
|
</span>
|
|
</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">
|
|
<input type="checkbox" class="onoffswitch-checkbox" id="popup.stylesFirst">
|
|
<span class="onoffswitch-label" for="popup.stylesFirst"></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="optionsActions"></h1>
|
|
<div class="items">
|
|
<label>
|
|
<span i18n-text="optionsReset"></span>
|
|
<button data-cmd="reset" i18n-text="optionsResetButton"></button>
|
|
</label>
|
|
<label>
|
|
<span i18n-text="optionsOpenManager"><sup class="chromium-only">2</sup></span>
|
|
<button type="button" data-cmd="open-manage" i18n-text="optionsOpen"></button>
|
|
</label>
|
|
<label>
|
|
<span i18n-text="optionsCheckUpdate"></span>
|
|
<button type="button" data-cmd="check-updates" i18n-text="optionsCheck"></button>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="notes">
|
|
<ol>
|
|
<li i18n-text="optionsUpdateIntervalNote"></li>
|
|
<li class="chromium-only">
|
|
<a data-cmd="open-keyboard"
|
|
i18n-text="optionsOpenManagerNote"
|
|
href="chrome://extensions/configureCommands"></a>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|