-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (61 loc) · 3.1 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
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
<!DOCTYPE HTML>
<html>
<head>
<title>Notary</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/lumen.min.css" rel="stylesheet">
<!--<script src="wasabi.js"></script>-->
<script src="js/sha256.min.js"></script>
<script type="text/javascript" src="wasabi.js"></script>
<script type='text/javascript' src="js/jquery-3.2.1.min.js"></script>
<script type='text/javascript' src='js/knockout-3.4.2.js'></script>
<script type='text/javascript' src="js/pager.js"></script>
</head>
<body>
<div class="container" style="margin-top: 150px">
<div class="header text-center">
<h2>Notary</h2>
<p>Utilize the drop area below to generate a signature for your files, and notarize signatures on the Ethereum blockchain. Files do not leave your computer, only their signatures do.</p>
</div>
<div class="content text-center">
<small data-bind="text: status"></small>
<div class="well" id="drop_zone" dropzone="copy">
<span>Drop file to notarize</span>
<div style="height: 10px; width: 0%; background-color: red" class="percent"></div>
</div>
<div class="notary-form" data-bind="visible: file">
<div>
<strong>File signature:</strong> <span data-bind="text: fileHash"></span>
</div><br/>
<a href="#" class="btn btn-primary" data-bind="click: notarize, visible: status() == 'notfound'">Notarize signature</a>
</div>
<div class="row" style="margin-top: 25px" data-bind="visible: status() == 'found'">
<div class="notary-report col-md-offset-3 col-md-6">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">Signature found</h3>
</div>
<div class="panel-body">
<div>
<strong>Owner:</strong> <a data-bind="text: owner, attr: { href: 'https://ropsten.etherscan.io/address/' + owner() }"></a>
</div>
<div>
<strong>Timestamp:</strong> <span data-bind="text: time"></span>
</div>
</div>
</div>
</div>
</div>
<output id="list"></output>
</div>
<div class="text-center">
Made with <3 <a href="http://0x8.in" target="_blank">0x8</a> | Powered by Ethereum (Ropsten Testnet)
</div>
</div>
<script src="js/app.js"></script>
<!-- jQuery -->
<script src="vendor/jquery/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>