aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/useflags')
-rw-r--r--pkg/app/handler/useflags/expand.templ10
-rw-r--r--pkg/app/handler/useflags/global.templ10
-rw-r--r--pkg/app/handler/useflags/local.templ10
-rw-r--r--pkg/app/handler/useflags/search.templ10
-rw-r--r--pkg/app/handler/useflags/show.templ16
5 files changed, 33 insertions, 23 deletions
diff --git a/pkg/app/handler/useflags/expand.templ b/pkg/app/handler/useflags/expand.templ
index c73d95b..0b7a8df 100644
--- a/pkg/app/handler/useflags/expand.templ
+++ b/pkg/app/handler/useflags/expand.templ
@@ -1,9 +1,11 @@
package useflags
-import "net/http"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "github.com/go-pg/pg/v10"
+import (
+ "github.com/go-pg/pg/v10"
+ "net/http"
+ "soko/pkg/database"
+ "soko/pkg/models"
+)
templ expand(useflags []models.Useflag) {
<div class="container mb-5">
diff --git a/pkg/app/handler/useflags/global.templ b/pkg/app/handler/useflags/global.templ
index edfcda2..0289dbb 100644
--- a/pkg/app/handler/useflags/global.templ
+++ b/pkg/app/handler/useflags/global.templ
@@ -1,9 +1,11 @@
package useflags
-import "net/http"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "github.com/go-pg/pg/v10"
+import (
+ "github.com/go-pg/pg/v10"
+ "net/http"
+ "soko/pkg/database"
+ "soko/pkg/models"
+)
templ global(useflags []models.Useflag) {
<div class="container mb-5">
diff --git a/pkg/app/handler/useflags/local.templ b/pkg/app/handler/useflags/local.templ
index cdc4a53..138b493 100644
--- a/pkg/app/handler/useflags/local.templ
+++ b/pkg/app/handler/useflags/local.templ
@@ -1,9 +1,11 @@
package useflags
-import "net/http"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "github.com/go-pg/pg/v10"
+import (
+ "github.com/go-pg/pg/v10"
+ "net/http"
+ "soko/pkg/database"
+ "soko/pkg/models"
+)
templ local(useflags []models.Useflag) {
<div class="container mb-5">
diff --git a/pkg/app/handler/useflags/search.templ b/pkg/app/handler/useflags/search.templ
index bcfa88a..d989f91 100644
--- a/pkg/app/handler/useflags/search.templ
+++ b/pkg/app/handler/useflags/search.templ
@@ -1,9 +1,11 @@
package useflags
-import "net/http"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "github.com/go-pg/pg/v10"
+import (
+ "github.com/go-pg/pg/v10"
+ "net/http"
+ "soko/pkg/database"
+ "soko/pkg/models"
+)
css searchButton() {
border-top-right-radius: 0.25rem !important;
diff --git a/pkg/app/handler/useflags/show.templ b/pkg/app/handler/useflags/show.templ
index 9a2d104..ab1c861 100644
--- a/pkg/app/handler/useflags/show.templ
+++ b/pkg/app/handler/useflags/show.templ
@@ -1,12 +1,14 @@
package useflags
-import "net/http"
-import "strconv"
-import "strings"
-import "soko/pkg/app/layout"
-import "soko/pkg/database"
-import "soko/pkg/models"
-import "github.com/go-pg/pg/v10"
+import (
+ "github.com/go-pg/pg/v10"
+ "net/http"
+ "soko/pkg/app/layout"
+ "soko/pkg/database"
+ "soko/pkg/models"
+ "strconv"
+ "strings"
+)
templ showUseflagHeader(useflag models.Useflag) {
<div class="kk-header-container">