feat: search sanitized logs with source and role filters (#1083)
This commit is contained in:
@ -46,6 +46,7 @@ mod auswertung;
|
||||
mod benutzer;
|
||||
mod chat;
|
||||
mod engines;
|
||||
mod logs;
|
||||
mod verwaltung;
|
||||
|
||||
const COOKIE_NAME: &str = "nexus_ui";
|
||||
@ -148,6 +149,7 @@ pub fn routes() -> Router<Arc<AppState>> {
|
||||
.route("/ui/auswertung", get(auswertung::page))
|
||||
.route("/ui/anfragen", get(requests_page))
|
||||
.route("/ui/audit", get(audit_page))
|
||||
.route("/ui/logs", get(logs::page))
|
||||
.route("/ui/teil/uebersicht", get(overview_fragment))
|
||||
.route("/ui/app.js", get(app_js))
|
||||
.route("/ui/tabellen.js", get(tabellen_js))
|
||||
@ -454,6 +456,7 @@ pub(crate) fn layout(title: &str, active: &str, viewer: &Viewer, body: &str) ->
|
||||
("/ui/anfragen", "Anfragen"),
|
||||
("/ui/auswertung", "Auswertung"),
|
||||
("/ui/audit", "Audit"),
|
||||
("/ui/logs", "Logs"),
|
||||
];
|
||||
if viewer.admin() {
|
||||
pages.push(("/ui/keys", "Keys"));
|
||||
|
||||
Reference in New Issue
Block a user