-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewtab.html
More file actions
62 lines (42 loc) · 1.29 KB
/
newtab.html
File metadata and controls
62 lines (42 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<title>DK New Tab</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- LEFT SECTION -->
<div class="left">
<div class="top-bar">
<h1>Bookmarks</h1>
<button id="openModalBtn">+ Add</button>
</div>
<!-- Folders + bookmarks will be rendered here -->
<div id="bookmarkGrid"></div>
</div>
<!-- RIGHT SIDEBAR -->
<div class="sidebar">
<h2>Google Apps</h2>
<div id="googleApps" class="apps"></div>
</div>
</div> <!-- END CONTAINER -->
<!-- MODAL WRAPPER -->
<div id="modal" class="modal hidden">
<div class="modal-content">
<h2 id="modalTitle">Add Bookmark</h2>
<input id="inputName" type="text" placeholder="Bookmark Name">
<input id="inputURL" type="url" placeholder="Bookmark URL">
<label>Folder (optional):</label>
<select id="folderSelect"></select>
<button id="addFolderBtn" class="small-btn">+ Add Folder</button>
<input id="newFolderInput" class="hidden" type="text" placeholder="Folder Name">
<div class="modal-actions">
<button id="cancelBtn" class="cancel">Cancel</button>
<button id="saveBtn" class="save">Save</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>