forked from diodechain/website
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvaults.html
59 lines (50 loc) · 1.73 KB
/
vaults.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
---
title: Vaults
layout: page
class: header--white
permalink: /vaults/
nav:
---
<script>
// var url = new URL(document.location.toString());
// if (url.hash.slice(1).length != 75) {
// window.location.replace((url.origin + url.pathname).replace("/vaults/", "/"));
// }
//https://diode.io/vaults?id=0x35312b6f109d32f82cfe012897bd33c05cccc0f7&ddrive=vault-23112501
function GetURLParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam)
{
return sParameterName[1];
}
}
}
</script>
<div class="text-center vaults">
<h2 class="title">Your Vault</h2>
<hr class="title_line">
<p>
Please see the <a href="https://vaults.docs.diode.io/docs/using/vault-getting-started-guide/" target="_blank">Getting Started Guide</a> for instructions on setting up your Vault.
</p>
<img style="display:block; margin-left:auto; margin-right: auto; width: 320px;" src="{{ "/vaults/vault-front-top-ortho-2312-sm.png" | prepend: site.path.images | relative_url}}" alt="Vault Model 2312-NT">
<br/>
<p>
Your Vault's Username:
<strong><script>document.write(GetURLParameter('ddrive'))</script></strong><br/>
(use this to add it to a Zone in Diode Collab™)
</p>
<p>
Your Vault's Client ID:
<strong><script>document.write(GetURLParameter('id'))</script></strong><br/>
(advanced, please see docs)
</p>
<p class="download-prompt">Need Diode Collab?</p>
<div>
<a href="#download-app" class="btn popup-open" target="">{{ site.links.download.title }}</a>
</div>
</div>