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>
|
|
|
|
<title>Stylus Options</title>
|
|
|
|
<link rel="stylesheet" href="index.css">
|
2017-04-08 10:19:44 +00:00
|
|
|
<script src="/dom.js"></script>
|
2017-03-28 00:42:07 +00:00
|
|
|
<script src="/localization.js"></script>
|
|
|
|
<script src="/apply.js"></script>
|
2017-03-28 10:05:58 +00:00
|
|
|
<script src="/storage.js"></script>
|
2017-03-28 00:42:07 +00:00
|
|
|
<script src="/messaging.js"></script>
|
2017-02-14 15:35:53 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2017-03-28 00:42:07 +00:00
|
|
|
<div id="ui">
|
|
|
|
<h1 i18n-text="optionsCustomize"></h1>
|
|
|
|
<table>
|
2017-03-28 10:05:58 +00:00
|
|
|
<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>
|
2017-03-21 01:32:38 +00:00
|
|
|
<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>
|
2017-03-28 00:42:07 +00:00
|
|
|
</table>
|
2017-04-04 17:21:03 +00:00
|
|
|
<div id="reset">
|
|
|
|
<button data-cmd="reset" i18n-text="optionsReset"></button>
|
2017-03-28 00:42:07 +00:00
|
|
|
</div>
|
2017-02-14 15:35:53 +00:00
|
|
|
</div>
|
|
|
|
|
2017-03-28 00:42:07 +00:00
|
|
|
<div id="actions">
|
|
|
|
<h1 i18n-text="optionsActions"></h1>
|
|
|
|
<table>
|
2017-02-14 15:35:53 +00:00
|
|
|
<tr>
|
2017-04-09 06:43:51 +00:00
|
|
|
<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>
|
2017-03-28 10:05:58 +00:00
|
|
|
<div id="update-counter"></div>
|
2017-02-14 15:35:53 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2017-03-28 00:42:07 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="notes">
|
|
|
|
<ol>
|
|
|
|
<li i18n-text="optionsUpdateIntervalNote"></li>
|
2017-04-09 06:43:51 +00:00
|
|
|
<li class="chromium-only">
|
|
|
|
<a data-cmd="open-keyboard"
|
|
|
|
i18n-text="optionsOpenManagerNote"
|
|
|
|
href="chrome://extensions/configureCommands"></a>
|
2017-03-28 00:42:07 +00:00
|
|
|
</li>
|
|
|
|
</ol>
|
2017-02-14 15:35:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="index.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|