-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (31 loc) · 2.33 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
<!DOCTYPE html>
<html data-bs-theme="light" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Tydids-jQuery-Consent</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1>Showcase for: <a href="https://github.com/energychain/tydids-jquery-consent">Tydids-jQuery-Consent</a></h1>
<p>jQuery extension for TyDIDs Self-Sovereign Identity and Consent Management.</p>
<form>
<div class="input-group"><span class="input-group-text">Firstname</span><input class="form-control" type="text" name="firstname"></div>
<div class="input-group"><span class="input-group-text">Lastname</span><input class="form-control" type="text" name="lastname"></div>
<div class="form-check"><input class="form-check-input" type="checkbox" id="consentCheck" name="consentCheck" signature="signature" payload="payload" identity="identity" submit="submit" required=""><label class="form-check-label" for="formCheck-1">I consent ... ...the html file downloaded by checking the box allows me to revoke my consent.</label></div>
<input class="btn btn-primary" type="submit" id="submit">
</form>
<hr/>
<h2>Some fields that could be optionally used</h2>
<p>(Hint: Specify field id with attribute of checkbox)</p>
<div class="input-group"><span class="input-group-text">identity</span><input class="form-control" type="text" id="identity" name="identity" readonly></div>
<div class="input-group"><span class="input-group-text">signature</span><input class="form-control" type="text" id="signature" name="signature" readonly></div>
<div class="input-group"><span class="input-group-text">payload</span><input class="form-control" type="text" id="payload" name="payload" readonly></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://energychain.github.io/tydids-jquery-consent/dist/tydids-jquery-consent.js"></script>
<script src="./showcase.js"></script>
</body>
</html>