-
Notifications
You must be signed in to change notification settings - Fork 11
/
options.html
191 lines (181 loc) · 6.6 KB
/
options.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!--
Copyright 2016, SIPLABS LLC.
Licensed under the Apache License,Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "ASIS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" />
<script src="jquery.js"></script>
<script src="utils.js"></script>
<script src="options.js"></script>
</head>
<body style="width: 100%;overflow: auto">
<div class="settings">
<div class="settings__head">
<div class="settings__h2">Settings</div>
</div>
<form class="settings__body" name="Options">
<fieldset>
<legend> Language </legend>
<div class="settings__item"><input type="radio" name="lang" value="en">English</div>
<div class="settings__item"><input type="radio" name="lang" value="ru">Russian</div>
</fieldset>
<br/>
<fieldset id="devices_list">
<legend id="device_text"> Active device </legend>
<div class="settings__item">
<input type="radio" name="active_device" value="auto"> Auto
</div>
</fieldset>
<br/>
<fieldset>
<legend id="behavior_text"> On call behavior </legend>
<div class="settings__item">
<input type="checkbox" name="inboundCallNotificationsEnabled">
<label id="inboundCallNotificationsEnabled">Notify on inbound calls</label>
</div>
<div class="settings__item">
<input type="checkbox" name="outboundCallNotificationsEnabled">
<label id="outboundCallNotificationsEnabled">Notify on outbound calls</label>
</div>
<div class="settings__item">
<input type="checkbox" name="system_notification">
<label id="system_notification">Use system notification</label>
</div>
<div class="settings__item">
<input type="checkbox" name="onQuickCallNotifications">
<label id="onQuickCallNotifications">Notify on dialers call</label>
</div>
<fieldset>
<legend id="customize_viewer_text"> Customize profile viewer </legend>
<div id="invitation_to_customize_viewers_url">Введите адрес вашего сайта, которому будут переданы все необходимые параметры звонка.</div>
<div>
<details>
<summary id="supported_params_text">Поддерживаемые параметры</summary>
<details class="inner__params">
<summary>Call-Direction</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Call-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Callee-ID-Name</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Callee-ID-Number</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Caller-ID-Name</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Caller-ID-Number</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Custom-Channel-Vars.Account-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Custom-Channel-Vars.Account-Name</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Custom-Channel-Vars.Bridge-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Custom-Channel-Vars.Username</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Disposition</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Event-Name</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>From</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Msg-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Other-Leg-Call-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Other-Leg-Caller-ID-Name</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Other-Leg-Caller-ID-Number</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Other-Leg-Destination-Number</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Other-Leg-Direction</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Presence-ID</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>Timestamp</summary>
<!-- Description -->
</details>
<details class="inner__params">
<summary>To</summary>
<!-- Description -->
</details>
</details>
</div>
<div class="settings__item">
<input class="input" type="text" name="custom_profile_page" value="">
</div>
</fieldset>
</fieldset>
<br/>
<fieldset>
<legend id="other"> Other </legend>
<div class="settings__item">
<input type="checkbox" name="clicktodial">
<label id="clicktodial_text">Enable Click to Dial</label>
</div>
<div class="settings__item">
<input type="checkbox" name="onNewFaxNotification">
<label id="onNewFaxNotification_text">Notify when new fax received</label>
</div>
<input class="settings__btn settings__btn-save" type="button" value="Clean history" id="clean_history_btn">
</fieldset>
<br/>
<div class="settings__btns">
<input class="settings__btn settings__btn-save" type="button" value="Save" id="save_btn">
<input class="settings__btn settings__btn-reset" type="button" value="Reset" id="reset_btn">
</div>
</form>
</div>
</body>
</html>