-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpanel.html
More file actions
74 lines (63 loc) · 3.01 KB
/
Copy pathpanel.html
File metadata and controls
74 lines (63 loc) · 3.01 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>BitVote Demo</title>
<link rel="stylesheet" href="css/note.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/addr.css">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
Panel shows info on the bitvote contract. It is a control panel if you have the
the puppeteer or oneperid position privkey.
<p>In the future the dictatorial Puppeteer and
OnePerIDSet position will be filled by contracts(no privkeys) that decentralize
control. (They're still dictatorial, but the dictator is a known program that gives
no-one power)</p>
<p>→<a href="index.html">Voting panel</a></p>
<span id="message"></span>
<!--Launching and viewing non-account, non-topic state-->
<h4>Info and setting things(if allowed)</h4>
<table>
<tr><td>Bitvote addr:</td>
<td><input type="text" id="bitvote_addr_input" oninput="bitvote_addr_change();"></td>
<td><button id="bitvote_create" hidden="true" onclick="run_createNotLaunch();">Create</button></td>
<td id="bitvote_addr_note"></td>
</tr>
<tr><td>OnePerID:</td> <td id="oneperid">-</td>
<td><input type="text" id="oneperid_input" oninput="update_panel();"></td>
<td id="oneperid_note"></td>
</tr>
<tr><td>Changer:</td> <td id="changer">-</td>
<td><input type="text" id="changer_input" oninput="update_panel();"></td>
<td id="changer_note"></td></tr>
<tr><td>Puppeteer:</td> <td id="puppeteer">-</td>
<td><input type="text" id="puppeteer_input" oninput="update_panel();"></td>
<td id="puppeteer_note"></td></tr>
</table>
<button id="lock_toggle" onclick="lock_toggle();">Unlock</button>
<button id="run_change" onclick="run_change();" hidden="true">Unlock Change</button>
<span id="am_puppeteer"><h4>Puppeteering</h4>
(again.. this should be a contract passing commands after sufficiently
decentralized vote.)
<p><input id="puppeteer_to_input"> <input id="puppet_data_input" oninput="update_puppeteer()">
<button onclick="run_puppetSend();">Send</button><span id="puppet_note"></span>
<p><b>Arguments:</b> <span id="puppeteer_repeat_args"></span></p>
</p><span id="puppeteer_msg_note"></span>
</span>
<p id="Response"></p>
<script src="js/common.js"></script>
<script src="js/common-gui.js"></script>
<script src="js/contract.js"></script>
<script src="js/anyperid.js"></script>
<script src="js/do.js"></script>
<script src="build/bitvote_creator.js"></script>
<script src="js/gui.js"></script>
<script src="js/mod_panel_gui.js"></script>
<script>update_panel();</script>
</body></html>