Update ui a bit more

This commit is contained in:
Jonathan Carter
2024-12-05 12:01:16 +02:00
parent 6a2dfbbde5
commit 6a5905374d
10 changed files with 105 additions and 237 deletions

15
src/templates/header.html Normal file
View File

@@ -0,0 +1,15 @@
<!-- Header -->
<div id="titlebar" class="pywebview-drag-region">
<span>
<button class="button is-link"></button>
<a href="/welcome"><button class="button is-{% if request.path == "/welcome" %}info{% else %}dark{% endif %}">Welcome</button></a>
<a href="/users"><button class="button is-{% if request.path == "/users" %}info{% else %}dark{% endif %}">Users</button></a>
<a href="/disks"><button class="button is-{% if request.path == "/disks" %}info{% else %}dark{% endif %}">Disks</button></a>
<a href="/software"><button class="button is-{% if request.path == "/software" %}info{% else %}dark{% endif %}">Software</button></a>
<a href="/summary"><button class="button is-{% if request.path == "/summary" %}info{% else %}dark{% endif %}">Summary</button></a>
<a href="/quit"> <button class="button is-danger" style="float: right;"> 🗙 </button></a>
<a href="/help"> <button class="button is-light" style="float: right; margin-right: 5px;"> <b> ? </b> </button></a>
</span>
</div> <!-- end pywebview-drag-region -->
<br>
<!-- End Header -->