-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (83 loc) · 3.47 KB
/
index.html
File metadata and controls
90 lines (83 loc) · 3.47 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
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Table Manager</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/table-styles.css">
</head>
<body>
<header>
<h1>Project Table Manager</h1>
</header>
<main>
<!-- Project Selector Section -->
<section id="project-selector-section">
<div class="search-container">
<label for="project-search">Project ID:</label>
<input type="text" id="project-search" placeholder="Enter 7-digit project ID" maxlength="7" pattern="\d{7}">
<div id="project-suggestions" class="suggestions-container"></div>
<button id="load-project-btn">Load Project</button>
<span id="project-not-found" class="error-message hidden">Project not found</span>
</div>
</section>
<!-- Project Table Section -->
<section id="project-table-section" class="hidden">
<div class="project-header">
<h2>Project: <span id="current-project-id"></span></h2>
<div class="table-actions">
<button id="add-entry-btn">Add New</button>
<button id="export-btn">Export</button>
<div class="export-options hidden" id="export-options">
<button data-format="csv">CSV</button>
<button data-format="json">JSON</button>
</div>
</div>
</div>
<!-- Filter Controls -->
<div class="filter-controls">
<div id="filter-container"></div>
<button id="apply-filters-btn">Apply Filters</button>
<button id="clear-filters-btn">Clear Filters</button>
</div>
<!-- Table Container -->
<div class="table-container">
<table id="entries-table">
<thead id="table-header">
<!-- Table headers will be generated dynamically -->
</thead>
<tbody id="table-body">
<!-- Table rows will be generated dynamically -->
</tbody>
</table>
<div id="no-entries-message" class="hidden">No entries found</div>
</div>
</section>
<!-- Entry Form Modal -->
<div id="entry-form-modal" class="modal hidden">
<div class="modal-content">
<div class="modal-header">
<h3 id="form-title">Add New Entry</h3>
<span class="close-modal">×</span>
</div>
<div class="modal-body">
<form id="entry-form">
<!-- Form fields will be generated dynamically -->
<div id="form-fields"></div>
<div class="form-actions">
<button type="button" id="cancel-btn">Cancel</button>
<button type="submit" id="save-btn" disabled>Save</button>
</div>
</form>
</div>
</div>
</div>
</main>
<footer>
<p>© 2025 Project Table Manager</p>
</footer>
<!-- JavaScript Files -->
<script src="js/app.js" type="module"></script>
</body>
</html>