forked from RomiRand/PoapArtBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanvas.html
62 lines (62 loc) · 2.16 KB
/
canvas.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
<!DOCTYPE html>
<html>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="./styles.css">
<head>
</head>
<body>
<div id="can" class="canvas">
<canvas id="baseCanvas"></canvas>
<canvas id="drawCanvas"></canvas>
</div>
<div class="metamaskConnect">
<button class = "mmBtn" id="connectButton">Connect</button>
<button class = "mmBtn" id="hideBtn"></button>
<button class = "mmBtn" id="drawModeBtn">random</button>
<button class = "mmBtn" id="backgroundBtn">Normal</button>
</div>
<div class="btns">
<div class="afterImport">
<button class="btn" type="button" id="exportBtn">Export (paste image from url)</button>
<div id="progressbar">
<span>0% drawn</span>
<div></div>
</div>
</div>
<div class = "beforeImport">
<input type="text" id="configImport" placeholder="Import image config...">
<button class="btn" type="button" id="importBtn">Import</button>
</div>
</div>
<div>
<div id="FriendlyArtists">
<table id="FriendlyTable">
<tr>
<th colspan="2">You are drawing with</th>
</tr>
<tr>
<th>Address</th>
<th>Count</th>
</tr>
<tbody id="friendlyTableBody"></tbody>
</table>
</div>
<div id="EnemyArtists">
<table id="EnemyTable">
<tr>
<th colspan="2">You are drawing against</th>
</tr>
<tr>
<th>Address</th>
<th>Count</th>
</tr>
<tbody id="enemyTableBody"></tbody>
</table>
</div>
</div>
<script src="https://unpkg.com/@metamask/detect-provider/dist/detect-provider.min.js"></script>
<script type="text/javascript" src="ethjs-ens.js"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript" src="ethjs-util.js"></script>
</body>
</html>