stylus/options/index.html
2017-04-18 12:46:33 +03:00

88 lines
2.5 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="/apply.js"></script>
<script src="/storage.js"></script>
<script src="/messaging.js"></script>
</head>
<body>
<div id="ui">
<h1 i18n-text="optionsCustomize"></h1>
<table>
<tr>
<td i18n-text="prefShowBadge"></td>
<td>
<div class="onoffswitch">
<input type="checkbox" class="onoffswitch-checkbox" id="show-badge">
<label class="onoffswitch-label" for="show-badge"></label>
</div>
</td>
</tr>
<tr>
<td i18n-text="popupStylesFirst"></td>
<td>
<div class="onoffswitch">
<input type="checkbox" class="onoffswitch-checkbox" id="popup.stylesFirst">
<label class="onoffswitch-label" for="popup.stylesFirst"></label>
</div>
</td>
</tr>
<tr>
<td i18n-text="optionsBadgeNormal"></td>
<td><input type="color" id="badgeNormal"></td>
</tr>
<tr>
<td i18n-text="optionsBadgeDisabled"></td>
<td><input type="color" id="badgeDisabled"></td>
</tr>
<tr>
<td i18n-text="optionsPopupWidth"></td>
<td><input type="number" id="popupWidth" min="200" max="800"></td>
</tr>
<tr>
<td i18n-text="optionsUpdateInterval"><sup>1</sup></td>
<td><input type="number" min="0" id="updateInterval"></td>
</tr>
</table>
<div id="reset">
<button data-cmd="reset" i18n-text="optionsReset"></button>
</div>
</div>
<div id="actions">
<h1 i18n-text="optionsActions"></h1>
<table>
<tr>
<td i18n-text="optionsOpenManager"><sup class="chromium-only">2</sup></td>
<td><button type="button" data-cmd="open-manage" i18n-text="optionsOpen"></button></td>
</tr>
<tr>
<td i18n-text="optionsCheckUpdate"></td>
<td>
<button type="button" data-cmd="check-updates" i18n-text="optionsCheck"></button>
<div id="update-counter"></div>
</td>
</tr>
</table>
</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>