Phase 2: services/web-ui/public/index.html
This commit is contained in:
parent
aa4baca091
commit
0e86cbb1f3
1 changed files with 7 additions and 1 deletions
|
|
@ -203,7 +203,8 @@
|
||||||
<nav class="header-nav">
|
<nav class="header-nav">
|
||||||
<div class="nav-item active" data-page="assets">Assets</div>
|
<div class="nav-item active" data-page="assets">Assets</div>
|
||||||
<div class="nav-item" data-page="capture">Capture</div>
|
<div class="nav-item" data-page="capture">Capture</div>
|
||||||
<div class="nav-item" data-page="projects">Projects</div>
|
<div class="nav-item" data-page="upload">Upload</div>
|
||||||
|
<div class="nav-item" data-page="recorders">Recorders</div>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
@ -229,6 +230,7 @@
|
||||||
<h1>Assets</h1>
|
<h1>Assets</h1>
|
||||||
<div class="assets-controls">
|
<div class="assets-controls">
|
||||||
<button class="btn btn-secondary" id="refreshBtn">↻ Refresh</button>
|
<button class="btn btn-secondary" id="refreshBtn">↻ Refresh</button>
|
||||||
|
<button class="btn btn-primary" onclick="navigateTo('upload')">↑ Upload</button>
|
||||||
<button class="btn btn-primary" onclick="navigateTo('capture')">+ New Capture</button>
|
<button class="btn btn-primary" onclick="navigateTo('capture')">+ New Capture</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -608,6 +610,10 @@
|
||||||
function navigateTo(page) {
|
function navigateTo(page) {
|
||||||
if (page === 'capture') {
|
if (page === 'capture') {
|
||||||
window.location.href = '/capture.html';
|
window.location.href = '/capture.html';
|
||||||
|
} else if (page === 'upload') {
|
||||||
|
window.location.href = '/upload.html';
|
||||||
|
} else if (page === 'recorders') {
|
||||||
|
window.location.href = '/recorders.html';
|
||||||
} else if (page === 'projects') {
|
} else if (page === 'projects') {
|
||||||
alert('Projects page coming soon');
|
alert('Projects page coming soon');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue