Files
SysTray-X/webext/options.html
2020-04-01 23:33:08 +02:00

150 lines
3.9 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>
<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>
<input type="checkbox" name="hideOnMinimize" value="" /> Minimizing
window hides to tray<br />
<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>
</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="iconselect">
<tr>
<td>
<label for="pollStartupDelay" }>Poll startup delay</label>
</td>
<td>
<input
type="number"
id="pollStartupDelay"
name="pollStartupDelay"
step="1"
min="1"
max="99"
value="5"
style="width: 3em;"
/>
</td>
</tr>
<tr>
<td>
<label for="pollInterval" }>Poll interval</label>
</td>
<td>
<input
type="number"
id="pollInterval"
name="pollInterval"
step="1"
min="1"
max="99"
value="5"
style="width: 3em;"
/>
</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>