Files
SysTray-X/webext/options.html
2020-04-11 20:13:11 +02:00

205 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<script src="js/styles.js" stylesheet="css/options.css"></script>
<script src="js/i18n.js"></script>
<script src="js/options_accounts.js"></script>
<p>
This addon needs an external application to work. You can get it here:
<br />
<br />
<a
href="https://github.com/Ximi1970/systray-x/releases"
id="VersioHomeLink"
>Download the SysTray-X Companion application here</a
>
</p>
<br />
<br />
<div class="tab">
<button class="tablinks active" id="Windows">__MSG_tab_windows__</button>
<button class="tablinks" id="Icon">__MSG_tab_icon__</button>
<button class="tablinks" id="Mail">__MSG_tab_mail__</button>
<button class="tablinks" id="Debug">__MSG_tab_debug__</button>
</div>
<div id="WindowsContent" class="tabcontent" style="display: block;">
<form>
<h3>Windows</h3>
<table id="minimizeselect">
<tr id="minimizedefault">
<td>
<input type="radio" name="minimizeType" value="0" />
<label for="0" id="minimizedefaultlabel">Default minimize</label
><br />
</td>
</tr>
<tr id="minimizemethod1">
<td>
<input type="radio" name="minimizeType" value="1" />
<label for="1" id="minimizemethod1label"
>Minimize to tray, method 1</label
><br />
</td>
</tr>
<tr id="minimizemethod2">
<td>
<input type="radio" name="minimizeType" value="2" />
<label for="2" id="minimizemethod2label"
>Minimize to tray, method 2</label
><br />
</td>
</tr>
</table>
<input type="checkbox" name="startMinimized" value="" /> Start
application minimized<br />
</form>
</div>
<div id="IconContent" class="tabcontent">
<form name="iconform">
<h3>Icon</h3>
<table id="iconselect">
<tr>
<td><input type="radio" name="iconType" value="0" /> Blank icon</td>
</tr>
<tr>
<td>
<input type="radio" name="iconType" value="1" /> New mail icon
</td>
</tr>
<tr>
<td>
<input type="radio" name="iconType" value="2" /> Custom icon
</td>
<td>
<img
id="customIconImage"
height="25"
width="25"
align="middle"
src="icons/blank-icon.png"
/>
</td>
<td>
<label
for="selectedFileIconType"
style="-moz-appearance: button;"
}
>Browse...</label
>
<input
type="file"
id="selectedFileIconType"
accept="image/*"
style="display: none;"
/>
</td>
<td>
&emsp;
</td>
</tr>
</table>
<table id="numberprops">
<tr>
<td>
<input type="checkbox" name="showNumber" value="" /> Display
unread message count &emsp;
<label for="numberColor">Text color:</label>
<input
type="color"
id="numberColor"
name="numberColor"
value=""
/>
</td>
</tr>
</table>
</form>
<div id="icon" data-icon-mime="" data-icon=""></div>
<script src="js/options_iconform.js"></script>
</div>
<div id="MailContent" class="tabcontent">
<form name="mailform">
<h3>Included accounts</h3>
<ul id="accountsTree"></ul>
<br />
<table id="pollselect">
<tr>
<td>
<label for="pollStartupDelay" }>Poll startup delay</label>
</td>
<td>
<input
type="number"
id="pollStartupDelay"
name="pollStartupDelay"
step="1"
min="1"
max="999"
value="60"
style="width: 4em;"
/>
</td>
</tr>
<tr>
<td>
<label for="pollInterval" }>Poll interval</label>
</td>
<td>
<input
type="number"
id="pollInterval"
name="pollInterval"
step="1"
min="1"
max="999"
value="60"
style="width: 4em;"
/>
</td>
</tr>
</table>
</form>
<script src="js/options_mailform.js"></script>
</div>
<div id="DebugContent" class="tabcontent">
<form name="debugform">
<h3>Debug options</h3>
<br />
<div id="debugselect">
<input type="checkbox" name="debug" value="Debug" /> Display debug
window<br />
</div>
<br />
</form>
</div>
<br />
<form name="saveform">
<label>Save preferences</label>
<button type="submit">Save</button>
</form>
<script src="js/options_tabbutton.js"></script>
<script src="options.js"></script>
</body>
</html>