-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud.html
More file actions
87 lines (80 loc) · 3.14 KB
/
cloud.html
File metadata and controls
87 lines (80 loc) · 3.14 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Note taking tool</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="styles_side_bar.css">
<link rel="stylesheet" href="styles_windows.css">
<link rel="stylesheet" href="styles_menu.css">
<link rel="stylesheet" href="styles_pell.css">
<link rel="stylesheet" href="js/pell.min.css">
</head>
<body>
<div id="mySidenav" class="sidenav">Menu
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#" onclick="addNewNoteFunc()">Create new</a>
<a href="#" onclick="openFileMenu()">File ></a>
<a href="#">Settings</a>
<a href="#">About</a>
</div>
<div id="myFileMenu" class="sidenav">File
<a href="javascript:void(0)" class="closebtn" onclick="closeFileMenu()"><</a>
<a href="#" onclick="closeFileMenu(); closeNav(); uploadNonEncryptedFile()">Open non-encrypted</a>
<a href="#" onclick="closeFileMenu(); closeNav(); uploadEncryptedFile()">Open encrypted</a>
<a href="#">Load non-encrypted</a>
<a href="#">Load encrypted</a>
<a href="#" onclick="closeFileMenu(); closeNav(); saveFileUnencrypted()">Save non-encrypted</a>
<a href="#" onclick="closeFileMenu(); closeNav(); saveFile()">Save encrypted</a>
<a href="#">Export non-encrypted</a>
<a href="#" onclick="closeFileMenu(); closeNav(); uploadEncryptedFileFromURL()">Export encrypted</a>
</div>
<span class="menu-button" onclick="openNav()">☰</span>
<canvas id="mainCanvas"></canvas>
<div class="overlay" id="overlay"></div>
<div class="pell-container" id="pell-container">
<div class="pell-header">
<input type="text" id="pell-title" class="pell-title" placeholder="Title">
<a class="close-thik" onclick="pellCancel()" title="Close"></a>
</div>
<div class="pell-editor" id="pell-editor-id"></div>
<div class="pell-footer">
<input type="text" id="pell-tags" class="pell-tags" placeholder="Tags">
<button class="pell-create-button" onclick="createNewNoteFunc()">Save</button>
</div>
</div>
<div class="sidebar">
<div class="top_bar">
<div class="search-container">
<input type="text" id="searchBar" class="search-input" placeholder="Search..." name="search">
<div id="suggestions"></div>
</div>
<button class="search-button" onclick="doSearch()">Search</button>
</div>
<div class="cards-container" id="cards-container">
</div>
</div>
<!-- <script type="module" src="cloud_script.js"></script> -->
<script src="js/pell.min.js"></script>
<script src="script_text_editor.js"></script>
<script src="script_graph.js"></script>
<!-- <script src="script_windows.js"></script> -->
<script src="script_search.js"></script>
<script src="script_encrypted.js"></script>
<script>
function openFileMenu() {
document.getElementById("myFileMenu").style.width = "250px";
}
function closeFileMenu() {
document.getElementById("myFileMenu").style.width = "0";
}
function openNav() {
document.getElementById("mySidenav").style.width = "250px";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
</body>
</html>