...
This commit is contained in:
1
pkg/servers/ui/views/components/.gitkeep
Normal file
1
pkg/servers/ui/views/components/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
# This file is intentionally left blank to ensure the directory is tracked by Git.
|
24
pkg/servers/ui/views/components/navbar.jet
Normal file
24
pkg/servers/ui/views/components/navbar.jet
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ block navbar() }}
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="/">HeroApp UI</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<!-- Authentication status will determine which buttons to show -->
|
||||
<!-- For now, showing placeholder login/logout -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/login">Login</a> <!-- Placeholder Link -->
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/logout">Logout</a> <!-- Placeholder Link -->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- Add some padding to the body to account for the fixed-top navbar -->
|
||||
<div style="padding-top: 56px;"></div>
|
||||
{{ end }}
|
17
pkg/servers/ui/views/components/sidebar.jet
Normal file
17
pkg/servers/ui/views/components/sidebar.jet
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ block sidebar() }}
|
||||
<ul class="nav flex-column">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" aria-current="page" href="/">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/processes">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-activity"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>
|
||||
Process Manager
|
||||
</a>
|
||||
</li>
|
||||
<!-- Add more menu items here as needed -->
|
||||
</ul>
|
||||
{{ end }}
|
Reference in New Issue
Block a user