stylus/options/index.html

69 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html id="stylus">
<head>
<title>Stylus Options</title>
<link rel="stylesheet" href="index.css">
<script src="/localization.js"></script>
<script src="/apply.js"></script>
<script src="/messaging.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="ui">
<h1 i18n-text="optionsCustomize"></h1>
<table>
<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="save">
<button id="save-button" i18n-text="optionsSave"></button>
<div id="save-status" i18n-text="optionsSaved"></div>
</div>
</div>
<div id="actions">
<h1 i18n-text="optionsActions"></h1>
<table>
<tr>
<td i18n-text="optionsOpenManager"><sup>2</sup></td>
<td><button type="button" data-cmd="open-manage" i18n-text="optionsOpen"></button></td>
</tr>
<tr>
<td i18n-text="optionsCheckUpdate"></td>
<td>
<span id="update-counter"></span>
<button type="button" data-cmd="check-updates" i18n-text="optionsCheck"></button>
</td>
</tr>
</table>
</div>
<div id="notes">
<ol>
<li i18n-text="optionsUpdateIntervalNote"></li>
<li><a data-cmd="open-keyboard"
i18n-text="optionsOpenManagerNote"
href="chrome://extensions/configureCommands"></a>
</li>
</ol>
</div>
<script src="index.js"></script>
</body>
</html>