-
Notifications
You must be signed in to change notification settings - Fork 1
/
done-en.php
58 lines (49 loc) · 1.72 KB
/
done-en.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="text/javascript">
let irma_server_url = "<?= IRMA_SERVER_URL ?>";
let lang = "<?= LANG ?>";
</script>
<link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/yivi.js" async defer></script>
<script type="text/javascript" src="../js/verify.js"></script>
<title><?= PROVIDER_NAME ?> attributes loaded</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-8 col-lg-6 col-md-offset-2 col-lg-offset-3">
<h2><?= PROVIDER_NAME ?> attributes have been loaded</h2>
<div class="alert alert-warning hide" role="alert">
<strong>Cancelled</strong><br/>
<small class="message"></small>
</div>
<div class="alert alert-danger hide" role="alert">
<strong>Error</strong>: cannot verify credential.<br/>
<small class="message"></small>
</div>
<p>
Congratulations! Your attributes have been added to your IRMA
app. They should now be visible there.
</p>
<p>
You can now use these attributes on any website that accpets them. <br/>
By clicking the button below you can test this, by disclosing your name.
</p>
<p>
<button id="verify_btn" class="btn btn-primary">Disclose name attribute</button>
<a href="/issuance/">Back to attribute issuance</a>
</p>
<div id="token-content" class="hide">
<h3>Result</h3>
<p><strong>Name</strong>: <span class="name"></span></p>
</div>
</div>
</div>
</div>
</body>
</html>