-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
56 lines (56 loc) · 2.57 KB
/
settings.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Настройки NC Talk Electron</title>
<link rel="stylesheet" href="styles.css">
<script src="settings.js"></script>
</head>
<body>
<div id="app">
<form id="settings_form" onsubmit="return false">
<label id="lang_id" for="lang"></label>
<select id="lang">
</select>
<br>
<br>
<label id="server_url_id" for="server_url"></label>
<input type="text" name="server_url" id="server_url"><br><br>
<label id="allow_domain_id" title="Несколько значений через запятую, * - wildcard (может обозначать любой поддомен)" for="allow_domain"></label>
<input type="text" name="allow_domain" id="allow_domain"><br><br>
<input type='hidden' value=false name='auto_login'>
<input type="checkbox" value=true name="auto_login" id="auto_login">
<label id="auto_login_id" for="auto_login"></label>
<br>
<input type='hidden' value=false name='run_at_startup'>
<input type="checkbox" value=true name="run_at_startup" id="run_at_startup">
<label id="run_at_startup_id" for="run_at_startup"></label>
<br>
<input type='hidden' value=false name='use_server_icon'>
<input type="checkbox" value=true name="use_server_icon" id="use_server_icon">
<label id="use_server_icon_id" for="use_server_icon"></label>
<br>
<input type='hidden' value=false name='show_on_new_message'>
<input type="checkbox" value=true name="show_on_new_message" id="show_on_new_message">
<label id="show_on_new_message_id" for="show_on_new_message"></label>
<br>
<input type='hidden' value=false name='always_on_top'>
<input type="checkbox" value=true name="always_on_top" id="always_on_top">
<label id="always_on_top_id" for="always_on_top"></label>
<br>
<input type='hidden' value=false name='start_hidden'>
<input type="checkbox" value=true name="start_hidden" id="start_hidden">
<label id="start_hidden_id" for="start_hidden"></label>
<br>
<!--<input type='hidden' value=false name='allow_multiple'>
<input type="checkbox" value=true name="allow_multiple" id="allow_multiple">
<label id="allow_multiple_id" for="allow_multiple"></label>-->
<br><br>
<div class="buttons">
<button id="save_button_id" type="submit" onclick="return saveSettings();"></button>
<button id="cancel_button_id" type="cancel" onclick="self.close()"></button>
</div>
</form>
</div>
</body>
</html>