-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./app/icon.ico" type="image/x-icon">
<link rel="stylesheet" href="./app/style.css">
<title>NoteIO</title>
<script src="./app/main.js" defer></script>
</head>
<body>
<nav>
<h1 class="blockSelection">NoteIO</h1>
<div class="size">
<button type="button" onclick="noteManager.clearAll()">clear all</button>
<button type="button" class="bt" id="newCard" onclick="noteManager.dialog.showModal()">+</button>
</div>
</nav>
<ul id="container"></ul>
<dialog oncancel="noteManager.cancelDialog()">
<nav>
<h2>Create new note</h2>
<button type="button" onclick="noteManager.cancelDialog()">close</button>
</nav>
<div>
<input type="text" name="titleCard" id="titleNote" placeholder="Title" spellcheck="false">
<br>
<textarea name="noteContent" id="noteContent" cols="30" rows="10" placeholder="write something here..."
spellcheck="false" oninput="noteManager.managerSaveButtonStatus(this)"></textarea>
<br>
<span>
<button type="button" class="bt" id="saveNewNote" onclick="noteManager.addNote()" disabled>Save new
note</button>
</span>
</div>
</dialog>
</body>
</html>