This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
forked from dedis/columbus-united
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
158 lines (147 loc) · 5.87 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<html>
<head>
<meta charset="UTF-8" />
<script
src="dist/bundle.min.js?v=VERSIONNUMBER"
type="text/javascript"
></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<link href="https://css.gg/css" rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<style>
/* 1. You define the CSS class like this: */
.custom__color path {
color: white;
}
</style>
<link rel="icon" href="assets/icon.png" />
</head>
<body>
<div class="header">
<a href="/">
<img src="assets/logo-color-small.png" alt="logo" />
</a>
<button
class="uk-button uk-button-primary"
type="button"
id="step1"
>
Get Started
</button>
<!--div uk-dropdown class="description">
The project Columbus is a project aiming to facilitate the
visualization of the blockchain of ByzCoin. <br />
You can navigate through the different blocks by dragging right
or left and by ajusting the zoom with scrollwheel. You can have
more details about one block by clicking on it. If you need to
use one of the hash value displayed in a tooltip, just click on
it to copy it to your clipboard.<br />
You can also select a transaction. You will see all instructions
with their respective type (spawn, invoke or delete). A button
is there to browse the whole blockchain in order to display the
evolution of an instance throughout the blockchain.
</div-->
<div
id="status-info"
style="text-align: center; position: relative"
>
<button
class="uk-button uk-button-primary uk-button-small"
uk-toggle="target: #select-roster"
type="button"
style="transform: translate(0, 85%)"
>
Roster
</button>
<!-- This is the modal -->
<div id="select-roster" uk-modal>
<div class="uk-modal-dialog">
<button
class="uk-modal-close-default"
type="button"
uk-close
></button>
<div class="uk-modal-header">
<p class="uk-modal-title">
Enter your Cothority Roster:
</p>
</div>
<div class="uk-modal-body">
<textarea
id="text-roster"
rows="20"
cols="50"
placeholder="roster.toml"
></textarea>
</div>
<div class="uk-modal-footer uk-text-right">
<button
class="uk-button uk-button-default uk-modal-close"
type="button"
>
Cancel
</button>
<button
class="uk-button uk-button-primary uk-modal-close"
type="button"
id="save-roster"
>
Save
</button>
</div>
</div>
</div>
<div class="info">
<div
class="info-message"
style="transform: translate(0, 10%)"
>
blocks loaded: <span id="loaded-blocks"></span>
</div>
</div>
</div>
</div>
<div class="searchbar-container">
<div class="topnav" id="step3">
<input
id="search-input"
type="input"
placeholder=" Search by block index, hash or instance"
/>
<a uk-search-icon type="submit" id="submit-button"></a>
<select class="uk-select" id="search-mode">
<option value="anything">Automatic search</option>
<option value="index">Search by block index</option>
<option value="hash">Search by block hash</option>
<option value="id">Search by instance ID</option>
</select>
</div>
</div>
<div class="blocks-container">
<svg id="svg-container"></svg>
<svg id="last-container"></svg>
</div>
<div id="block_infos" class="block-infos">
<div class="block-detail-container" id="step5"></div>
<div class="browse-container" id="step6"></div>
</div>
<ul id="status" uk-accordion></ul>
<div class="query-answer"></div>
<footer>
<span
>© DEDIS 2018 - by Rosa Jose Sara, Pilar Marxer, Lucas Trognon,
Sophia Artioli Anthony Iozzia and Julian von Felten</span
>
<span> v.1.0.11</span>
<a href="https://github.com/dedis/columbus-united"
>github repository</a
>
</footer>
</body>
<script>
jsapp.sayHi();
</script>
</html>