aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/about')
-rw-r--r--pkg/app/handler/about/feedback.templ6
-rw-r--r--pkg/app/handler/about/feeds.templ6
-rw-r--r--pkg/app/handler/about/help.templ6
-rw-r--r--pkg/app/handler/about/index.templ10
-rw-r--r--pkg/app/handler/about/status.templ12
5 files changed, 25 insertions, 15 deletions
diff --git a/pkg/app/handler/about/feedback.templ b/pkg/app/handler/about/feedback.templ
index f29117e..0bf6b2c 100644
--- a/pkg/app/handler/about/feedback.templ
+++ b/pkg/app/handler/about/feedback.templ
@@ -1,7 +1,9 @@
package about
-import "net/http"
-import "soko/pkg/app/layout"
+import (
+ "net/http"
+ "soko/pkg/app/layout"
+)
templ feedback() {
<div class="container mb-5">
diff --git a/pkg/app/handler/about/feeds.templ b/pkg/app/handler/about/feeds.templ
index 0116ee6..af61c7f 100644
--- a/pkg/app/handler/about/feeds.templ
+++ b/pkg/app/handler/about/feeds.templ
@@ -1,7 +1,9 @@
package about
-import "net/http"
-import "soko/pkg/app/layout"
+import (
+ "net/http"
+ "soko/pkg/app/layout"
+)
templ feeds() {
<div class="container mb-5">
diff --git a/pkg/app/handler/about/help.templ b/pkg/app/handler/about/help.templ
index 5ef1209..e00ef8c 100644
--- a/pkg/app/handler/about/help.templ
+++ b/pkg/app/handler/about/help.templ
@@ -1,7 +1,9 @@
package about
-import "net/http"
-import "soko/pkg/app/layout"
+import (
+ "net/http"
+ "soko/pkg/app/layout"
+)
templ help() {
<div class="container mb-5">
diff --git a/pkg/app/handler/about/index.templ b/pkg/app/handler/about/index.templ
index 16a0b5f..aa5130d 100644
--- a/pkg/app/handler/about/index.templ
+++ b/pkg/app/handler/about/index.templ
@@ -1,9 +1,11 @@
package about
-import "net/http"
-import "runtime/debug"
-import "soko/pkg/app/layout"
-import "soko/pkg/config"
+import (
+ "net/http"
+ "runtime/debug"
+ "soko/pkg/app/layout"
+ "soko/pkg/config"
+)
func getCommitId() string {
if info, ok := debug.ReadBuildInfo(); ok {
diff --git a/pkg/app/handler/about/status.templ b/pkg/app/handler/about/status.templ
index 9829345..f669ec4 100644
--- a/pkg/app/handler/about/status.templ
+++ b/pkg/app/handler/about/status.templ
@@ -1,10 +1,12 @@
package about
-import "net/http"
-import "soko/pkg/app/layout"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "time"
+import (
+ "net/http"
+ "soko/pkg/app/layout"
+ "soko/pkg/database"
+ "soko/pkg/models"
+ "time"
+)
templ status(applications []*models.Application) {
<div class="container mb-5">