forked from barinali/tadhack-2019-berlin-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (127 loc) · 5.79 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TADHack 2019 Berlin</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
<div class="container-fluid container-main">
<header class="row">
<div class="col-6 col-md-6">
<div class="logo-wrapper">
<img class="logo" src="./images/logo.png" alt="Privacy Cat">
<span>6789CAT</span>
</div>
</div>
</header>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="api_username">Provider</label>
<select class="custom-select">
<option value="simwood" selected>simwood</option>
<option value="contact" disabled>Reach us to take your place here!</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="account_id">Account ID</label>
<input type="text" class="form-control" id="account_id" aria-describedby="account_id_help"
placeholder="Account ID">
<small id="account_id_help" class="form-text text-muted">The account ID is provided by simwood.</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="api_username">API username</label>
<input type="text" class="form-control" id="api_username" aria-describedby="api_username_help"
placeholder="API username">
<small id="api_username_help" class="form-text text-muted">The API username is provided by simwood.</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="api_password">API password</label>
<input type="text" class="form-control" id="api_password" aria-describedby="api_password_help"
placeholder="API password">
<small id="api_password_help" class="form-text text-muted">The API password is provided by simwood.</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="real_phone_number">Real phone number</label>
<input type="text" class="form-control" id="real_phone_number" aria-describedby="real_phone_number_help"
placeholder="Real phone number">
<small id="real_phone_number_help" class="form-text text-muted">This is your real phone number as we need to use it for communication for actions.</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12 text-right">
<button id="provision_number" type="button" class="btn btn-primary">Provision virtual number</button>
</div>
</div>
<div id="info_section" class="row hidden">
<div class="col-12">
<dl class="row">
<dt class="col-sm-4">Virtual number</dt>
<dd class="col-sm-8" id="virtual_number_text"></dd>
</dl>
</div>
</div>
<div class="row hidden">
<div class="col-12">
<div class="form-group">
<label for="use_case">Use case</label>
<select id="use_case" class="custom-select">
<option value="1" selected>#1</option>
<option value="2">#2</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="webhook_pathname">Webhook URL</label>
<input type="text" class="form-control" id="webhook_pathname" aria-describedby="webhook_pathname_help"
placeholder="/webhooks/calls">
<small id="webhook_pathname_help" class="form-text text-muted">This webhook URL must be relative e.g. `/sms-webhook`</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12 text-right">
<button id="configure_webhook" type="button" class="btn btn-primary">Configure webhook</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="./script.js"></script>
</body>
</html>