-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (76 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<title>Very Sticky Note</title>
<link rel="stylesheet" href="style.css">
<style id="base"></style>
<script src="./renderer.js"></script>
</head>
<body>
<div class="background">
<!-- Title Bar -->
<div class="title-bar">
<!-- <button class="close-button"></button> -->
</div>
<!-- Text Area -->
<textarea placeholder="This is a very sticky note." id="text" spellcheck="false">This is a very sticky note.
- Made by Janlu!</textarea>
<!-- Buttons -->
<div id="toolbar" class="buttons">
<button id="buttonNew" class="icon" onclick="prompt('Do you want to clear the entire sticky note?', 'clearText()')">
<span class="material-symbols-rounded">
note_stack
</span>
</button>
<button id="buttonSave" class="icon" onclick="saveText()">
<span class="material-symbols-rounded">
save
</span>
</button>
<button id="buttonOpen" class="icon" onclick="readText()">
<span class="material-symbols-rounded">
file_open
</span>
</button>
<button id="buttonSet" class="icon" onclick="toggleOptions()">
<span class="material-symbols-rounded">
settings
</span>
</button>
</div>
<!-- Save Prompt -->
<div id="prompt" class="new hidden">
<h id="promptText" class="confirmText">prompt_text</h>
<div id="newButtons" class="confirmButtons">
<button id="yesbutton" onclick="">Yes</button>
<button class="recommended" onclick="unprompt()">No</button>
</div>
</div>
<!-- Options Prompt -->
<div class="options hidden" id="options">
<button class="borderless left" onclick="col()">
<span class="material-symbols-rounded">
palette
</span>
Color
</button>
<!-- <button class="borderless left recommended" id="boldButton" onclick="bold()">
<span class="material-symbols-rounded">
keep
</span>
Pin to top
</button> -->
<button class="borderless left" id="italicButton" onclick="italic()">
<span class="material-symbols-rounded">
format_italic
</span>
Italic
</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>