-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (30 loc) · 1.49 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
<!DOCTYPE html>
<html>
<body>
<!-- piajesse was here -->
<h2>Hello, this page will help you setup Accelerate Networks Mobile, so you can answer calls on the go!</h2>
<p>If you don't have the app already, you can download it.
</p>
<p id="appstore">Detecting device type...<p>
<p id="demo"></p>
<script>
<!-- TODO write up a javascript to detect if using Android or iOS and give them the store for their platform along with the option to see others -->
document.getElementById("appstore").innerHTML =
'We have an <a href="https://play.google.com/store/apps/details?id=com.acceleratenetworks.mobile&hl=en_US&gl=US" target="_blank" rel="noopener">Android</a>, and an <a href="https://apps.apple.com/us/app/accelerate-networks-mobile/id1560522124" target="_blank" rel="noopener">iOS app</a>'
link = window.location.href.split("?")[1].split("/")[1];
config = "acceleratenetworks-mobile-config://" + window.location.href.split("?")[1];
<!-- 'Once you have our app installed, please click <a href="' + config + '" target="_blank" rel="noopener">here</a>!';-->
document.getElementById("demo").innerHTML =
`Once you have our app installed, paste this click <a href="` + config + `" target="_blank" rel="noopener">here</a>!<br>
<br>
<br>
If this doesn't work and you need to paste a URL, you can copy the next line <br>
<br>
<br>
https://an.sip.callpipe.com/` + link + `
<!--<br>
<br>
if you have installed the beta version please click <a href="` + config + `" target="_blank" rel="noopener">here</a>!`;
</script>
</body>
</html>