-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoptions.html
More file actions
91 lines (84 loc) · 3.18 KB
/
Copy pathoptions.html
File metadata and controls
91 lines (84 loc) · 3.18 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Asterisk Click to Call Options</title>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<style>
.glyphicon {
color: #2e6da4;
}
fieldset {
margin: 8px;
border: 1px solid silver;
padding: 8px;
border-radius: 4px;
}
legend {
font-size: 12px;
padding: 2px;
margin-bottom: 0px;
}
.warning-text {
color: red;
font-weight: bold;
display: none;
}
</style>
</head>
<body>
<div class="container" style="margin-top:20px">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Asterisk Click to Call Options</h3>
</div>
<div class="panel-body">
<form class="form-vertical">
<!-- Hard-coded ARI; removed options for AMI and AJAM -->
<input type="hidden" name="interface" value="ari" />
<div class="form-group col-md-4">
<label for="exten">Extension:</label>
<input type="text" class="form-control" name="exten" id="exten" placeholder="000" />
</div>
<div class="form-group col-md-8" id="ip-group">
<label for="ip">ARI URL:</label>
<input type="text" class="form-control" name="ip" id="ip" value="https://127.0.0.1:8088" />
<small id="ip-warning" class="warning-text">
⚠ Warning: Using HTTP is insecure! Sensitive data may be exposed.
<br>
<input type="checkbox" id="allow-http">
<label for="allow-http">I understand the risks and still want to proceed.</label>
</small>
</div>
<div class="form-group col-md-4" id="context-group">
<label for="context">Context:</label>
<input type="text" class="form-control" name="context" id="context" value="all" />
</div>
<div class="form-group col-md-6" id="username-group">
<label for="username">Username:</label>
<input type="text" class="form-control" id="username" name="username" />
</div>
<div class="form-group col-md-6" id="secret-group">
<label for="secret">Password:</label>
<input type="password" class="form-control" id="secret" name="secret" />
</div>
<div id="status" class="small" style="color:red;margin-top:10px;"></div>
<div class="col-md-12" style="margin-top:10px;">
<button id="save" type="button" class="btn btn-primary btn-block" disabled>Save</button>
</div>
</form>
</div>
<div class="panel-footer">
Click to Call on behalf of <a href="https://first-base.co.uk" target="_blank">First Base Employment</a>. v. <span id="version"></span>
</div>
</div>
</div>
</div>
</div>
<script src="jquery-2.0.3.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="options.js"></script>
</body>
</html>