frontend structiure generated
This commit is contained in:
86
wagfarm-ui/index.html
Normal file
86
wagfarm-ui/index.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Farm Work Tracker</title>
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
<link rel="stylesheet" href="css/forms.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Farm Work Tracker</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#" class="nav-link active" data-entity="logs">Logs</a></li>
|
||||
<li><a href="#" class="nav-link" data-entity="assets">Assets</a></li>
|
||||
<li><a href="#" class="nav-link" data-entity="taxonomies">Taxonomies</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="sidebar">
|
||||
<div id="logs-form-container" class="entity-form">
|
||||
<h2>Create New Log</h2>
|
||||
<form id="log-create-form">
|
||||
<div class="form-group">
|
||||
<label for="title">Title</label>
|
||||
<input type="text" id="title" name="title" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="date">Date</label>
|
||||
<input type="date" id="date" name="date" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="description">Description</label>
|
||||
<textarea id="description" name="description"></textarea>
|
||||
</div>
|
||||
<button type="submit">Create Log</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="assets-form-container" class="entity-form" style="display: none;">
|
||||
<h2>Create New Asset</h2>
|
||||
<form id="asset-create-form">
|
||||
<!-- Asset form fields -->
|
||||
<button type="submit">Create Asset</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="taxonomies-form-container" class="entity-form" style="display: none;">
|
||||
<h2>Create New Taxonomy</h2>
|
||||
<form id="taxonomy-create-form">
|
||||
<!-- Taxonomy form fields -->
|
||||
<button type="submit">Create Taxonomy</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="list-container">
|
||||
<h2>Entity List</h2>
|
||||
<div id="entity-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="detail-container">
|
||||
<h2>Details</h2>
|
||||
<div id="detail-view"></div>
|
||||
</div>
|
||||
|
||||
<div class="edit-container" style="display: none;">
|
||||
<h2>Edit</h2>
|
||||
<div id="edit-form"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Farm Work Tracker © 2025</p>
|
||||
</footer>
|
||||
|
||||
<script type="module" src="js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user