-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
109 lines (105 loc) · 3.53 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Note Taker</title>
<!-- Load the Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<!-- Load the style.css file -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Create a div element for the title bar -->
<div id="title-bar">
<div class="draggable">
<i class="fas fa-sticky-note"></i>
<span>RememberED</span>
</div>
<div class="window-controls">
<button id="theme-button" class="window-control">
<i class="fas fa-moon"></i>
</button>
<button id="min-button" class="window-control">
<!-- We need to use the classic icons -->
<i class="far fa-window-minimize"></i>
</button>
<button id="max-button" class="window-control">
<i class="far fa-window-maximize"></i>
</button>
<button id="close-button" class="window-control">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<!-- Create a div element for the main container -->
<div id="main-container">
<!-- Create a div element for the note list -->
<div id="note-list"></div>
<!-- Create a div element for the edit area -->
<div id="edit-area">
<!-- Create an input element for the note title -->
<input id="note-title" type="text" placeholder="Note Title" />
<!-- Create a div element for the toolbar -->
<div id="toolbar">
<!-- Create a button element for the bold option -->
<button id="bold-button">
<i class="fas fa-bold"></i>
</button>
<!-- Create a button element for the italic option -->
<button id="italic-button">
<i class="fas fa-italic"></i>
</button>
<!-- Create a button element for the underline option -->
<button id="underline-button">
<i class="fas fa-underline"></i>
</button>
<!-- Create a button element for the strike-through option -->
<button id="strike-button">
<i class="fas fa-strikethrough"></i>
</button>
</div>
<!-- Create a div element for the note content -->
<div id="note-content" contenteditable="true" placeholder="Note Content"></div>
</div>
</div>
<!-- Create a div element for the button bar -->
<div id="button-bar">
<!-- Create a button element for the new note -->
<button id="new-note-button">
<i class="fas fa-plus"></i>
<span>New Note</span>
</button>
<!-- Create a button element for the save note -->
<button type="button" id="save-note-button" disabled>
<i class="fas fa-save"></i>
<span>Save Note</span>
</button>
<!-- Create a button element for the delete note -->
<button id="delete-note-button" disabled>
<i class="fas fa-trash"></i>
<span>Delete Note</span>
</button>
</div>
<button id="help-button">
<i class="fas fa-question"></i>
</button>
<div class="ctmn-bg" id="ctmn-bg-help" state="hidden"></div>
<div class="context-menu" id="context-menu-help" state="hidden">
<button id="github-button">
<i class="fab fa-github"></i>
<span>GitHub Repository</span>
</button>
<button id="about-button">
<i class="fas fa-info-circle"></i>
<span>About</span>
</button>
<button id="handbook-button">
<i class="fas fa-book"></i>
<span>Handbook</span>
</button>
</div>
</div>
<!-- Load the renderer.js file -->
<script src="renderer.js"></script>
</body>
</html>