stylus/options/index.html

88 lines
2.5 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="/localization.js"></script>
<script src="/apply.js"></script>
<script src="/storage.js"></script>
<script src="/messaging.js"></script>
2017-02-14 15:35:53 +00:00
</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>
2017-02-14 15:35:53 +00:00
<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>
2017-03-06 20:17:32 +00:00
<tr>
<td i18n-text="optionsPopupWidth"></td>
<td><input type="number" id="popupWidth" min="200" max="800"></td>
2017-03-06 20:17:32 +00:00
</tr>
2017-02-14 15:35:53 +00:00
<tr>
<td i18n-text="optionsUpdateInterval"><sup>1</sup></td>
<td><input type="number" min="0" id="updateInterval"></td>
</tr>
</table>
2017-04-04 17:21:03 +00:00
<div id="reset">
<button data-cmd="reset" i18n-text="optionsReset"></button>
</div>
2017-02-14 15:35:53 +00:00
</div>
<div id="actions">
<h1 i18n-text="optionsActions"></h1>
<table>
2017-02-14 15:35:53 +00:00
<tr>
<td i18n-text="optionsOpenManager"><sup class="chromium-only">2</sup></td>
2017-02-14 15:35:53 +00:00
<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>
2017-02-14 15:35:53 +00:00
</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>
2017-02-14 15:35:53 +00:00
</div>
<script src="index.js"></script>
</body>
</html>