forked from nathantoannguyen/ZotBoard-FrontEnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
canvas.html
62 lines (48 loc) · 2.81 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>
<head>
<link href="https://fonts.googleapis.com/css2?family=Chewy&display=swap" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="http://fabricjs.com/lib/fabric.js"></script>
<script src="https://cdn.socket.io/4.4.0/socket.io.min.js" integrity="sha384-1fOn6VtTq3PWwfsOrk45LnYcGosJwzMHv+Xh/Jx5303FVOXzEnw0EpLv30mtjmlj" crossorigin="anonymous"></script>
<title>ZotBoard</title>
<script src="canvas.js"></script>
<link type="text/css" rel="stylesheet" href="styles.css"/>
</head>
<body>
<script>
AOS.init();
</script>
<div class='canvastitle'>
<img class="peterimage" src="https://appstickers-cdn.appadvice.com/1410106976/827828369/c1d82001c783b35f3415a07a58fccbf2-4.png" alt="cutepeter">
<h1 data-aos="fade-up" data-aos-duration="1500">How to Use ZotBoard</h1>
<img class="peterimage" src="https://appstickers-cdn.appadvice.com/1410106976/827828369/79be20a3abdc1f5c89ec0208757bc92c-5.png" alt="cuterpeter">
</div>
<div class="cards2" data-aos="fade-up" data-aos-duration="1200">
<div id="card5"><p>Use the "Add Text" button to type. Double click the textbox to edit.</p></div>
<div id="card6"><p>Use the "Draw" button to use the pencil. Use the "Stop Drawing" button to switch back to a cursor.</p></div>
<div id="card7"><p>Use the insert shape buttons to add any shapes you need.</p></div>
<div id="card8"><p>Click an item to change its size and move it.</p></div>
<div id="card9"><p>To delete items, select them and drag them off the board.</p></div>
</div>
<h2 data-aos="fade-up" data-aos-duration="1200">Use the buttons below to create your board!</h2>
<div class="buttons" data-aos="fade-up" data-aos-duration="1200">
<button onclick="add_text_button()">Add Text</button>
<button onclick="draw_button()">Draw</button>
<button onclick="stop_drawing_button()">Stop Drawing</button>
<button onclick="insert_rectangle_button()">Insert Rectangle</button>
<button onclick="insert_circle_button()">Insert Circle</button>
<button onclick="insert_triangle_button()">Insert Triangle</button>
<button onclick="like_idea_emote_button()">Like Idea Emote</button>
<button onclick="love_idea_emote_button()">Love Idea Emote</button>
<button onclick="hate_idea_emote_button()">Hate Idea Emote</button>
<button onclick="dislike_idea_emote_button()">When You Dislike An Idea But Want To Be Polite Emote</button>
</div>
<!-- </div> -->
<canvas id="c" height="600" width="1400"></canvas>
<div class="centerlink">
<a href="index.html">Back to Home Page</a>
</div>
</body>
</html>