-
Notifications
You must be signed in to change notification settings - Fork 1
/
municipality.html
115 lines (102 loc) · 5.71 KB
/
municipality.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Registratie gemeente</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="./css/normalize.css">
<link href="https://fonts.googleapis.com/css?family=Nunito:200" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="./css/creative.css">
<link rel="stylesheet" href="./css/global.css">
<link rel="stylesheet" href="./css/municipality.css">
</head>
<body class="municipality">
<header>
<div class="container">
<h2>Gemeente App</h2>
<h1>Uitgifte stadspassen</h1>
</div>
</header>
<main>
<div class="container step1 active">
<section>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a id="gotoHome" href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Registreer</li>
</ol>
</nav>
<div class="card">
<img class="card-img-top" src="img/blockchain.jpg" alt="Card image cap" />
<div class="card-body">
<h2 class="card-title">Aanmelden</h2>
<p class="card-text">
Connect met uPort om uzelf te registeren.
</p>
<button class="btn btn-sm btn-primary btn-connect" id="connectUportBtn" onclick="uportConnect()">Connect</button>
<button type="button" class="btn btn-info btn-popup-info" data-container="body" data-toggle="popover" data-placement="bottom" data-content="">
i
</button>
</div>
</div>
</section>
</div>
<div class="container step2">
<section>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Attesteer</li>
</ol>
</nav>
<div class="card">
<img class="card-img-top" src="img/blockchain.jpg" alt="Card image cap" />
<div class="card-body">
<h2>Behandelaar</h2>
<p class="card-text">
Attesteer middels getoonde ID Card dat persoon recht heeft op een stadspas.
</p>
<button class="btn btn-sm btn-success" onclick="attest()">Uitgeven</button>
<button type="button" class="btn btn-info btn-popup-info" data-container="body" data-toggle="popover" data-placement="bottom" data-content="">
i
</button>
</div>
</div>
</section>
</div>
<div class="popover-content-container">
<div class="popover-content">
<table>
<tbody>
<tr><td><span>uPort Id: </span><span id="uportId"></span></td></tr>
<tr><td><span>uPort Name: </span><span id="uportName"></span></td></tr>
<tr><td><span>uPort Country: </span><span id="uportCountry"></span></td></tr>
<tr><td><span>uPort Phone: </span><span id="uportPhone"></span></td></tr>
<tr><td><span>ETH Address: </span><span id="ethAddress"></span></td></tr>
<tr><td><span>ETH Balance: </span><span id="ethBalance"></span></td></tr>
<tr><td><span>Current Status: </span><span id="currentStatus"></span></td></tr>
<tr><td><span>Hash Sent: </span><span id="txHashSentEth"></span></td></tr>
<tr><td><span>Hash Status: </span><span id="txHashSetStatus"></span></td></tr>
</tbody>
</table>
</div>
</div>
</main>
<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.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/uport-connect/dist/uport-connect.min.js"></script>
<script type="text/javascript" src="./js/municipality.js"></script>
<script type="text/javascript" src="./js/global.js"></script>
<script type="text/javascript">
$(document).ready(() => {
initPopover();
$(".card button.btn-primary").focus();
});
</script>
</body >
</html>