-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
43 lines (43 loc) · 2.25 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
<!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 for="server_url">Адрес сервера Nextcloud:</label>
<input type="text" name="server_url" id="server_url"><br><br>
<label title="Несколько значений через запятую, * - wildcard (может обозначать любой поддомен)" for="allow_domain">Разрешить SSO с доменов (* для всех):</label>
<input type="text" name="allow_domain" id="allow_domain"><br><br>
<input type='hidden' value=false name='run_at_startup'>
<input type="checkbox" value=true name="run_at_startup" id="run_at_startup">
<label 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 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 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 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 for="start_hidden">Запускать в свернутом виде</label>
<br><br>
<div class="buttons">
<button type="submit" onclick="return saveSettings();">ОК</button>
<button type="cancel" onclick="self.close()">Отмена</button>
</div>
</form>
</div>
</body>
</html>