move routes in seperate files; better error handling for enpoint functions

This commit is contained in:
2025-01-02 15:05:20 +01:00
parent b1719704e4
commit 59222160af
5 changed files with 118 additions and 88 deletions

View File

@@ -8,8 +8,8 @@
<nav class="navbar sticky-top bg-dark">
<div class="container-fluid">
<a class="navbar-brand">crowsnest</a>
<form class="d-flex" role="search" method="post" action="/search" up-submit up-autosubmit up-target=".content">
<a class="navbar-brand text-light">crowsnest</a>
<form class="d-flex" role="search" method="post" action="/up/search" up-submit up-autosubmit up-target=".content">
<input name="search" class="form-control me-2" type="search" placeholder="Suche" aria-label="Suche">
<button class="btn btn-outline-success" type="submit">Suchen</button>
</form>