-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
196 lines (140 loc) · 5.23 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
<title>TON Multisig</title>
<link rel="stylesheet" href="css/main.css?4">
</head>
<body>
<div class="testnet-badge" style="display: none">
ATTENTION! This is the test network — don’t send real Toncoin!
</div>
<!--Header-->
<div id="header">
<!-- Badge -->
<a href="https://ton.org">
<div id="header_logo"></div>
</a>
<div id="header_title">Multisig</div>
<div id="header_grow"></div>
<!-- TON Connect Button -->
<div id="tonConnectButton"></div>
</div>
<div id="startScreen" class="screen">
<button id="createMultisigButton">Create new multisig</button>
<button id="importMultisigButton">Import multisig</button>
</div>
<div id="importScreen" class="screen">
<div>Enter multisig address:</div>
<input id="import_input">
<button id="import_okButton">Import</button>
<button id="import_backButton">Back</button>
</div>
<div id="multisigScreen" class="screen">
<div class="panel">
<div>
<div class="label">Multisig Address:</div>
<div id="mulisig_address" class="value"></div>
<button id="multisig_logoutButton">Switch to another multisig</button>
</div>
<div id="multisig_error">
</div>
<div id="multisig_content">
<div>
<div class="label">TON Balance:</div>
<div id="multisig_tonBalance" class="value"></div>
</div>
<div>
<div class="label">Threshold:</div>
<div id="multisig_threshold" class="value"></div>
<div class="label">Signers:</div>
<div id="multisig_signersList">
</div>
<div class="label">Proposers:</div>
<div id="multisig_proposersList">
</div>
<div class="label">Order ID:</div>
<div id="multisig_orderId" class="value"></div>
<button id="multisig_updateButton">Change multisig configuration</button>
</div>
<button id="multisig_createNewOrderButton" class="btn-primary">Create new order</button>
<!-- Orders List -->
<div id="mainScreen_ordersList">
</div>
</div>
</div>
</div>
<div id="newOrderScreen" class="screen">
<div class="panel">
<div class="label">Order ID:</div>
<input id="newOrder_orderId">
<div class="label">Order Type:</div>
<select id="newOrder_typeInput">
</select>
<div id="newOrder_fieldsContainer">
</div>
<button id="newOrder_createButton">Create</button>
<button id="newOrder_backButton">Back</button>
</div>
</div>
<div id="newMultisigScreen" class="screen">
<div class="panel">
<div id="newMultisig_orderIdLabel" class="label">Order ID:</div>
<input id="newMultisig_orderId">
<div class="label">Signers:</div>
<div id="newMultisig_signersContainer"></div>
<button id="newMultisig_addSignerButton">Add signer</button>
<div class="line"></div>
<div class="label">Proposers:</div>
<div id="newMultisig_proposersContainer"></div>
<button id="newMultisig_addProposerButton">Add proposer</button>
<div class="line"></div>
<div class="label">Threshold:</div>
<input id="newMultisig_threshold">
<button id="newMultisig_createButton">Next</button>
<button id="newMultisig_backButton">Back</button>
</div>
</div>
<div id="orderScreen" class="screen">
<div class="panel">
<div>
<div class="label">Order ID:</div>
<div id="order_id" class="value"></div>
<div class="label">Order Address:</div>
<div id="order_address" class="value"></div>
</div>
<div id="order_error">
</div>
<div id="order_content">
<div>
<div class="label">TON Balance:</div>
<div id="order_tonBalance" class="value"></div>
</div>
<div>
<div class="label">Executed:</div>
<div id="order_executed" class="value"></div>
<div class="label">Approvals:</div>
<div id="order_approvals" class="value"></div>
<div class="label">Signers:</div>
<div id="order_signersList">
</div>
<div class="label">Expires At:</div>
<div id="order_expiresAt" class="value"></div>
</div>
<div id="order_actionsTitle" class="label">Actions:</div>
<div id="order_actions">
</div>
<button id="order_approveButton" class="btn-primary">Approve</button>
<div id="order_approveNote">or just send 0.1 TON with "approve" text comment to order address.</div>
</div>
<button id="order_backButton">Back</button>
</div>
</div>
<!-- Loading Screen -->
<div id="loadingScreen" class="screen">
<div class="loading"></div>
</div>
</body>
</html>