-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (56 loc) · 2.1 KB
/
index.html
File metadata and controls
60 lines (56 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LinkBox Manager</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="title-container">
<h1 id="page-title">LinkBox Manager</h1>
<button id="edit-title" class="edit-title-btn" style="display: none;">✏️</button>
</div>
<div>
<button id="importDataBtn">Import</button>
<button id="exportDataBtn">Export</button>
<button id="toggleEditMode">Edit Mode: Off</button>
<button id="addGroupBtn">+ Add Group</button>
</div>
</header>
<main id="groupsContainer"></main>
<!-- Group Modals -->
<dialog id="groupModal">
<form id="groupForm">
<label for="groupName">Group Name:</label>
<input type="text" id="groupName" required>
<label for="groupSubtitle">Subtitle:</label>
<textarea id="groupSubtitle"></textarea>
<div class="buttons">
<button type="button" id="cancelGroupBtn">Cancel</button>
<button type="submit">Save</button>
<button type="button" id="deleteGroupBtn" class="delete" style="display: none;">Delete</button>
</div>
</form>
</dialog>
<!-- Link Modals -->
<dialog id="linkModal">
<form id="linkForm">
<label for="linkTitle">Title:</label>
<input type="text" id="linkTitle" required>
<label for="linkUrl">URL:</label>
<input type="url" id="linkUrl" required>
<div class="buttons">
<button type="button" id="cancelLinkBtn">Cancel</button>
<button type="submit">Save</button>
<button type="button" id="deleteLinkBtn" class="delete" style="display: none;">Delete</button>
</div>
</form>
</dialog>
<script src="app.js"></script>
<footer>
<p>MIT License - Author: Ton Snoei</p>
</footer>
</body>
</html>