From 5aca09b59e3d467df301ac29a35960354b74cf28 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:11:11 +0100 Subject: [PATCH] [chore] Rename frontend.tmpl to settings.tmpl, remove unused "lightgray" class (#2674) --- internal/web/settings-panel.go | 2 +- web/template/{frontend.tmpl => settings.tmpl} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename web/template/{frontend.tmpl => settings.tmpl} (96%) diff --git a/internal/web/settings-panel.go b/internal/web/settings-panel.go index 9de30d1f1..ec8166e95 100644 --- a/internal/web/settings-panel.go +++ b/internal/web/settings-panel.go @@ -46,7 +46,7 @@ func (m *Module) SettingsPanelHandler(c *gin.Context) { } page := apiutil.WebPage{ - Template: "frontend.tmpl", + Template: "settings.tmpl", Instance: instance, Stylesheets: []string{ cssFA, diff --git a/web/template/frontend.tmpl b/web/template/settings.tmpl similarity index 96% rename from web/template/frontend.tmpl rename to web/template/settings.tmpl index 8e5267f4a..4d03ccc9d 100644 --- a/web/template/frontend.tmpl +++ b/web/template/settings.tmpl @@ -18,7 +18,7 @@ */ -}} {{- with . }} -
+
{{- end }} \ No newline at end of file