chore(deps): update Go dependencies and templ to v0.3.1070
Bump direct deps (templ, brotli, dbus, goose, x/image, x/net, x/sys) and indirect deps, then regenerate systemviews templ output.
- commit
- 031f2c562ec89e13ef8708ea705bccd1011648e8
- author
- brice · · 2026-10-14 09:30 UTC
- parent
- 2c3af17
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email - refs
- chore/deps-update-2026-10
4 files · +246 -272
M go.mod +19 -21
| @@ -3,8 +3,8 @@ module github.com/bnema/dumber | |||
| 3 | 3 | go 1.27 | |
| 4 | 4 | ||
| 5 | 5 | require ( | |
| 6 | - | github.com/a-h/templ v0.3.1020 | |
| 7 | - | github.com/andybalholm/brotli v1.2.5 | |
| 6 | + | github.com/a-h/templ v0.3.1070 | |
| 7 | + | github.com/andybalholm/brotli v1.2.6 | |
| 8 | 8 | github.com/bnema/purego v0.13.0-bnema.1 | |
| 9 | 9 | github.com/bnema/purego-cef v0.14.4 | |
| 10 | 10 | github.com/bnema/purego-cef2gtk v0.11.4 | |
| @@ -16,17 +16,17 @@ require ( | |||
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| 18 | 18 | github.com/fsnotify/fsnotify v1.10.1 | |
| 19 | - | github.com/godbus/dbus/v5 v5.2.2 | |
| 19 | + | github.com/godbus/dbus/v5 v5.2.4 | |
| 20 | 20 | github.com/pelletier/go-toml/v2 v2.4.3 | |
| 21 | - | github.com/pressly/goose/v3 v3.28.0 | |
| 21 | + | github.com/pressly/goose/v3 v3.29.0 | |
| 22 | 22 | github.com/rs/zerolog v1.35.1 | |
| 23 | 23 | github.com/spf13/cobra v1.10.2 | |
| 24 | 24 | github.com/spf13/pflag v1.0.10 | |
| 25 | 25 | github.com/spf13/viper v1.21.0 | |
| 26 | 26 | github.com/stretchr/testify v1.12.1 | |
| 27 | - | golang.org/x/image v0.46.0 | |
| 28 | - | golang.org/x/net v0.59.0 | |
| 29 | - | golang.org/x/sys v0.48.0 | |
| 27 | + | golang.org/x/image v0.47.0 | |
| 28 | + | golang.org/x/net v0.61.0 | |
| 29 | + | golang.org/x/sys v0.49.0 | |
| 30 | 30 | gopkg.in/yaml.v3 v3.0.1 | |
| 31 | 31 | ) | |
| 32 | 32 | ||
| @@ -36,7 +36,7 @@ require ( | |||
| 36 | 36 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | |
| 37 | 37 | github.com/cenkalti/backoff/v4 v4.3.0 // indirect | |
| 38 | 38 | github.com/charmbracelet/colorprofile v0.4.3 // indirect | |
| 39 | - | github.com/charmbracelet/x/ansi v0.11.7 // indirect | |
| 39 | + | github.com/charmbracelet/x/ansi v0.11.9 // indirect | |
| 40 | 40 | github.com/charmbracelet/x/cellbuf v0.0.15 // indirect | |
| 41 | 41 | github.com/charmbracelet/x/exp/golden v0.0.0-20260511125431-fe5d686e0c99 // indirect | |
| 42 | 42 | github.com/charmbracelet/x/term v0.2.2 // indirect | |
| @@ -47,13 +47,12 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | - | github.com/google/go-cmp v0.7.0 // indirect | |
| 51 | 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 52 | - | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 53 | - | github.com/mattn/go-colorable v0.1.14 // indirect | |
| 51 | + | github.com/lucasb-eyer/go-colorful v1.4.1 // indirect | |
| 52 | + | github.com/mattn/go-colorable v0.1.16 // indirect | |
| 54 | 53 | github.com/mattn/go-isatty v0.0.24 // indirect | |
| 55 | 54 | github.com/mattn/go-localereader v0.0.1 // indirect | |
| 56 | - | github.com/mattn/go-runewidth v0.0.23 // indirect | |
| 55 | + | github.com/mattn/go-runewidth v0.0.31 // indirect | |
| 57 | 56 | github.com/mfridman/interpolate v0.0.2 // indirect | |
| 58 | 57 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | |
| 59 | 58 | github.com/muesli/cancelreader v0.2.2 // indirect | |
| @@ -63,22 +62,21 @@ require ( | |||
| 63 | 62 | github.com/rogpeppe/go-internal v1.14.1 // indirect | |
| 64 | 63 | github.com/russross/blackfriday/v2 v2.1.0 // indirect | |
| 65 | 64 | github.com/sagikazarmark/locafero v0.12.0 // indirect | |
| 66 | - | github.com/sahilm/fuzzy v0.1.2 // indirect | |
| 67 | - | github.com/sethvargo/go-retry v0.4.0 // indirect | |
| 65 | + | github.com/sahilm/fuzzy v0.1.3 // indirect | |
| 66 | + | github.com/sethvargo/go-retry v0.5.0 // indirect | |
| 68 | 67 | github.com/spf13/afero v1.15.0 // indirect | |
| 69 | 68 | github.com/spf13/cast v1.10.0 // indirect | |
| 70 | - | github.com/stretchr/objx v0.5.3 // indirect | |
| 69 | + | github.com/stretchr/objx v0.7.0 // indirect | |
| 71 | 70 | github.com/subosito/gotenv v1.6.0 // indirect | |
| 72 | - | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | |
| 71 | + | github.com/xo/terminfo v1.2.0 // indirect | |
| 73 | 72 | github.com/xyproto/randomstring v1.2.0 // indirect | |
| 74 | 73 | go.uber.org/multierr v1.11.0 // indirect | |
| 75 | 74 | go.yaml.in/yaml/v3 v3.0.5 // indirect | |
| 76 | - | golang.org/x/mod v0.41.0 // indirect | |
| 77 | - | golang.org/x/sync v0.23.0 // indirect | |
| 78 | - | golang.org/x/text v0.42.0 // indirect | |
| 79 | - | golang.org/x/tools v0.49.0 // indirect | |
| 75 | + | golang.org/x/mod v0.42.0 // indirect | |
| 76 | + | golang.org/x/sync v0.24.0 // indirect | |
| 77 | + | golang.org/x/text v0.43.0 // indirect | |
| 78 | + | golang.org/x/tools v0.52.0 // indirect | |
| 80 | 79 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 81 | - | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 82 | 80 | ) | |
| 83 | 81 | ||
| 84 | 82 | tool github.com/a-h/templ/cmd/templ | |
| @@ -3,8 +3,8 @@ module github.com/bnema/dumber | |||||
| 3 | go 1.27 | 3 | go 1.27 | ||
| 4 | 4 | ||||
| 5 | require ( | 5 | require ( | ||
| 6 | - | github.com/a-h/templ v0.3.1020 | 6 | + | github.com/a-h/templ v0.3.1070 |
| 7 | - | github.com/andybalholm/brotli v1.2.5 | 7 | + | github.com/andybalholm/brotli v1.2.6 |
| 8 | github.com/bnema/purego v0.13.0-bnema.1 | 8 | github.com/bnema/purego v0.13.0-bnema.1 | ||
| 9 | github.com/bnema/purego-cef v0.14.4 | 9 | github.com/bnema/purego-cef v0.14.4 | ||
| 10 | github.com/bnema/purego-cef2gtk v0.11.4 | 10 | github.com/bnema/purego-cef2gtk v0.11.4 | ||
| @@ -16,17 +16,17 @@ require ( | |||||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| 18 | github.com/fsnotify/fsnotify v1.10.1 | 18 | github.com/fsnotify/fsnotify v1.10.1 | ||
| 19 | - | github.com/godbus/dbus/v5 v5.2.2 | 19 | + | github.com/godbus/dbus/v5 v5.2.4 |
| 20 | github.com/pelletier/go-toml/v2 v2.4.3 | 20 | github.com/pelletier/go-toml/v2 v2.4.3 | ||
| 21 | - | github.com/pressly/goose/v3 v3.28.0 | 21 | + | github.com/pressly/goose/v3 v3.29.0 |
| 22 | github.com/rs/zerolog v1.35.1 | 22 | github.com/rs/zerolog v1.35.1 | ||
| 23 | github.com/spf13/cobra v1.10.2 | 23 | github.com/spf13/cobra v1.10.2 | ||
| 24 | github.com/spf13/pflag v1.0.10 | 24 | github.com/spf13/pflag v1.0.10 | ||
| 25 | github.com/spf13/viper v1.21.0 | 25 | github.com/spf13/viper v1.21.0 | ||
| 26 | github.com/stretchr/testify v1.12.1 | 26 | github.com/stretchr/testify v1.12.1 | ||
| 27 | - | golang.org/x/image v0.46.0 | 27 | + | golang.org/x/image v0.47.0 |
| 28 | - | golang.org/x/net v0.59.0 | 28 | + | golang.org/x/net v0.61.0 |
| 29 | - | golang.org/x/sys v0.48.0 | 29 | + | golang.org/x/sys v0.49.0 |
| 30 | gopkg.in/yaml.v3 v3.0.1 | 30 | gopkg.in/yaml.v3 v3.0.1 | ||
| 31 | ) | 31 | ) | ||
| 32 | 32 | ||||
| @@ -36,7 +36,7 @@ require ( | |||||
| 36 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | 36 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
| 37 | github.com/cenkalti/backoff/v4 v4.3.0 // indirect | 37 | github.com/cenkalti/backoff/v4 v4.3.0 // indirect | ||
| 38 | github.com/charmbracelet/colorprofile v0.4.3 // indirect | 38 | github.com/charmbracelet/colorprofile v0.4.3 // indirect | ||
| 39 | - | github.com/charmbracelet/x/ansi v0.11.7 // indirect | 39 | + | github.com/charmbracelet/x/ansi v0.11.9 // indirect |
| 40 | github.com/charmbracelet/x/cellbuf v0.0.15 // indirect | 40 | github.com/charmbracelet/x/cellbuf v0.0.15 // indirect | ||
| 41 | github.com/charmbracelet/x/exp/golden v0.0.0-20260511125431-fe5d686e0c99 // indirect | 41 | github.com/charmbracelet/x/exp/golden v0.0.0-20260511125431-fe5d686e0c99 // indirect | ||
| 42 | github.com/charmbracelet/x/term v0.2.2 // indirect | 42 | github.com/charmbracelet/x/term v0.2.2 // indirect | ||
| @@ -47,13 +47,12 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | - | github.com/google/go-cmp v0.7.0 // indirect | |||
| 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 52 | - | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 51 | + | github.com/lucasb-eyer/go-colorful v1.4.1 // indirect |
| 53 | - | github.com/mattn/go-colorable v0.1.14 // indirect | 52 | + | github.com/mattn/go-colorable v0.1.16 // indirect |
| 54 | github.com/mattn/go-isatty v0.0.24 // indirect | 53 | github.com/mattn/go-isatty v0.0.24 // indirect | ||
| 55 | github.com/mattn/go-localereader v0.0.1 // indirect | 54 | github.com/mattn/go-localereader v0.0.1 // indirect | ||
| 56 | - | github.com/mattn/go-runewidth v0.0.23 // indirect | 55 | + | github.com/mattn/go-runewidth v0.0.31 // indirect |
| 57 | github.com/mfridman/interpolate v0.0.2 // indirect | 56 | github.com/mfridman/interpolate v0.0.2 // indirect | ||
| 58 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | 57 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | ||
| 59 | github.com/muesli/cancelreader v0.2.2 // indirect | 58 | github.com/muesli/cancelreader v0.2.2 // indirect | ||
| @@ -63,22 +62,21 @@ require ( | |||||
| 63 | github.com/rogpeppe/go-internal v1.14.1 // indirect | 62 | github.com/rogpeppe/go-internal v1.14.1 // indirect | ||
| 64 | github.com/russross/blackfriday/v2 v2.1.0 // indirect | 63 | github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
| 65 | github.com/sagikazarmark/locafero v0.12.0 // indirect | 64 | github.com/sagikazarmark/locafero v0.12.0 // indirect | ||
| 66 | - | github.com/sahilm/fuzzy v0.1.2 // indirect | 65 | + | github.com/sahilm/fuzzy v0.1.3 // indirect |
| 67 | - | github.com/sethvargo/go-retry v0.4.0 // indirect | 66 | + | github.com/sethvargo/go-retry v0.5.0 // indirect |
| 68 | github.com/spf13/afero v1.15.0 // indirect | 67 | github.com/spf13/afero v1.15.0 // indirect | ||
| 69 | github.com/spf13/cast v1.10.0 // indirect | 68 | github.com/spf13/cast v1.10.0 // indirect | ||
| 70 | - | github.com/stretchr/objx v0.5.3 // indirect | 69 | + | github.com/stretchr/objx v0.7.0 // indirect |
| 71 | github.com/subosito/gotenv v1.6.0 // indirect | 70 | github.com/subosito/gotenv v1.6.0 // indirect | ||
| 72 | - | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | 71 | + | github.com/xo/terminfo v1.2.0 // indirect |
| 73 | github.com/xyproto/randomstring v1.2.0 // indirect | 72 | github.com/xyproto/randomstring v1.2.0 // indirect | ||
| 74 | go.uber.org/multierr v1.11.0 // indirect | 73 | go.uber.org/multierr v1.11.0 // indirect | ||
| 75 | go.yaml.in/yaml/v3 v3.0.5 // indirect | 74 | go.yaml.in/yaml/v3 v3.0.5 // indirect | ||
| 76 | - | golang.org/x/mod v0.41.0 // indirect | 75 | + | golang.org/x/mod v0.42.0 // indirect |
| 77 | - | golang.org/x/sync v0.23.0 // indirect | 76 | + | golang.org/x/sync v0.24.0 // indirect |
| 78 | - | golang.org/x/text v0.42.0 // indirect | 77 | + | golang.org/x/text v0.43.0 // indirect |
| 79 | - | golang.org/x/tools v0.49.0 // indirect | 78 | + | golang.org/x/tools v0.52.0 // indirect |
| 80 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 79 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 81 | - | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 82 | ) | 80 | ) | ||
| 83 | 81 | ||||
| 84 | tool github.com/a-h/templ/cmd/templ | 82 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +46 -54 generated file: collapsed
M internal/ui/systemviews/config_templ.go +110 -114 generated file: collapsed
M internal/ui/systemviews/favorites_templ.go +71 -83
| @@ -79,17 +79,13 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||
| 79 | 79 | if templ_7745c5c3_Err != nil { | |
| 80 | 80 | return templ_7745c5c3_Err | |
| 81 | 81 | } | |
| 82 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " ") | |
| 83 | - | if templ_7745c5c3_Err != nil { | |
| 84 | - | return templ_7745c5c3_Err | |
| 85 | - | } | |
| 86 | 82 | if len(data.Favorites) == 0 { | |
| 87 | 83 | templ_7745c5c3_Err = EmptyState("No favorites").Render(ctx, templ_7745c5c3_Buffer) | |
| 88 | 84 | if templ_7745c5c3_Err != nil { | |
| 89 | 85 | return templ_7745c5c3_Err | |
| 90 | 86 | } | |
| 91 | 87 | } else { | |
| 92 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<ul class=\"sv-list\">") | |
| 88 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<ul class=\"sv-list\">") | |
| 93 | 89 | if templ_7745c5c3_Err != nil { | |
| 94 | 90 | return templ_7745c5c3_Err | |
| 95 | 91 | } | |
| @@ -101,7 +97,7 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||
| 101 | 97 | } | |
| 102 | 98 | } | |
| 103 | 99 | } | |
| 104 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "</ul>") | |
| 100 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "</ul>") | |
| 105 | 101 | if templ_7745c5c3_Err != nil { | |
| 106 | 102 | return templ_7745c5c3_Err | |
| 107 | 103 | } | |
| @@ -128,25 +124,17 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||
| 128 | 124 | if templ_7745c5c3_Err != nil { | |
| 129 | 125 | return templ_7745c5c3_Err | |
| 130 | 126 | } | |
| 131 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " ") | |
| 132 | - | if templ_7745c5c3_Err != nil { | |
| 133 | - | return templ_7745c5c3_Err | |
| 134 | - | } | |
| 135 | 127 | templ_7745c5c3_Err = TagCreateForm().Render(ctx, templ_7745c5c3_Buffer) | |
| 136 | 128 | if templ_7745c5c3_Err != nil { | |
| 137 | 129 | return templ_7745c5c3_Err | |
| 138 | 130 | } | |
| 139 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, " ") | |
| 140 | - | if templ_7745c5c3_Err != nil { | |
| 141 | - | return templ_7745c5c3_Err | |
| 142 | - | } | |
| 143 | 131 | if len(data.Tags) == 0 { | |
| 144 | 132 | templ_7745c5c3_Err = EmptyState("No tags").Render(ctx, templ_7745c5c3_Buffer) | |
| 145 | 133 | if templ_7745c5c3_Err != nil { | |
| 146 | 134 | return templ_7745c5c3_Err | |
| 147 | 135 | } | |
| 148 | 136 | } else { | |
| 149 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "<ul class=\"sv-list\">") | |
| 137 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "<ul class=\"sv-list\">") | |
| 150 | 138 | if templ_7745c5c3_Err != nil { | |
| 151 | 139 | return templ_7745c5c3_Err | |
| 152 | 140 | } | |
| @@ -158,7 +146,7 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||
| 158 | 146 | } | |
| 159 | 147 | } | |
| 160 | 148 | } | |
| 161 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "</ul>") | |
| 149 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "</ul>") | |
| 162 | 150 | if templ_7745c5c3_Err != nil { | |
| 163 | 151 | return templ_7745c5c3_Err | |
| 164 | 152 | } | |
| @@ -194,7 +182,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 194 | 182 | templ_7745c5c3_Var5 = templ.NopComponent | |
| 195 | 183 | } | |
| 196 | 184 | ctx = templ.ClearChildren(ctx) | |
| 197 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<form class=\"sv-card-form\" data-sv-action=\"favorite.create\"><label><span>URL</span><input name=\"url\" type=\"url\" placeholder=\"https://example.com\" required></label> <label><span>Title</span><input name=\"title\" type=\"text\" placeholder=\"Optional title\"></label>") | |
| 185 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "<form class=\"sv-card-form\" data-sv-action=\"favorite.create\"><label><span>URL</span><input name=\"url\" type=\"url\" placeholder=\"https://example.com\" required></label> <label><span>Title</span><input name=\"title\" type=\"text\" placeholder=\"Optional title\"></label>") | |
| 198 | 186 | if templ_7745c5c3_Err != nil { | |
| 199 | 187 | return templ_7745c5c3_Err | |
| 200 | 188 | } | |
| @@ -202,7 +190,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 202 | 190 | if templ_7745c5c3_Err != nil { | |
| 203 | 191 | return templ_7745c5c3_Err | |
| 204 | 192 | } | |
| 205 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "<button class=\"sv-button\" type=\"submit\">") | |
| 193 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "<button class=\"sv-button\" type=\"submit\">") | |
| 206 | 194 | if templ_7745c5c3_Err != nil { | |
| 207 | 195 | return templ_7745c5c3_Err | |
| 208 | 196 | } | |
| @@ -210,7 +198,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 210 | 198 | if templ_7745c5c3_Err != nil { | |
| 211 | 199 | return templ_7745c5c3_Err | |
| 212 | 200 | } | |
| 213 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "</button></form><div class=\"sv-filter-panel\"><div class=\"sv-button-row\"><span class=\"sv-meta\">Tags</span> ") | |
| 201 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "</button></form><div class=\"sv-filter-panel\"><div class=\"sv-button-row\"><span class=\"sv-meta\">Tags</span> ") | |
| 214 | 202 | if templ_7745c5c3_Err != nil { | |
| 215 | 203 | return templ_7745c5c3_Err | |
| 216 | 204 | } | |
| @@ -219,7 +207,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 219 | 207 | if templ_7745c5c3_Err != nil { | |
| 220 | 208 | return templ_7745c5c3_Err | |
| 221 | 209 | } | |
| 222 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "<button type=\"button\" class=\"") | |
| 210 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<button type=\"button\" class=\"") | |
| 223 | 211 | if templ_7745c5c3_Err != nil { | |
| 224 | 212 | return templ_7745c5c3_Err | |
| 225 | 213 | } | |
| @@ -232,7 +220,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 232 | 220 | if templ_7745c5c3_Err != nil { | |
| 233 | 221 | return templ_7745c5c3_Err | |
| 234 | 222 | } | |
| 235 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "\" aria-pressed=\"") | |
| 223 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\" aria-pressed=\"") | |
| 236 | 224 | if templ_7745c5c3_Err != nil { | |
| 237 | 225 | return templ_7745c5c3_Err | |
| 238 | 226 | } | |
| @@ -245,7 +233,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 245 | 233 | if templ_7745c5c3_Err != nil { | |
| 246 | 234 | return templ_7745c5c3_Err | |
| 247 | 235 | } | |
| 248 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\" data-sv-action=\"favorite.clearFilters\">All</button> ") | |
| 236 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "\" data-sv-action=\"favorite.clearFilters\">All</button> ") | |
| 249 | 237 | if templ_7745c5c3_Err != nil { | |
| 250 | 238 | return templ_7745c5c3_Err | |
| 251 | 239 | } | |
| @@ -254,7 +242,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 254 | 242 | if templ_7745c5c3_Err != nil { | |
| 255 | 243 | return templ_7745c5c3_Err | |
| 256 | 244 | } | |
| 257 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "<button type=\"button\" class=\"") | |
| 245 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "<button type=\"button\" class=\"") | |
| 258 | 246 | if templ_7745c5c3_Err != nil { | |
| 259 | 247 | return templ_7745c5c3_Err | |
| 260 | 248 | } | |
| @@ -267,7 +255,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 267 | 255 | if templ_7745c5c3_Err != nil { | |
| 268 | 256 | return templ_7745c5c3_Err | |
| 269 | 257 | } | |
| 270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "\" aria-pressed=\"") | |
| 258 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "\" aria-pressed=\"") | |
| 271 | 259 | if templ_7745c5c3_Err != nil { | |
| 272 | 260 | return templ_7745c5c3_Err | |
| 273 | 261 | } | |
| @@ -280,7 +268,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 280 | 268 | if templ_7745c5c3_Err != nil { | |
| 281 | 269 | return templ_7745c5c3_Err | |
| 282 | 270 | } | |
| 283 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" data-sv-action=\"favorite.filterUntagged\">Untagged</button> ") | |
| 271 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\" data-sv-action=\"favorite.filterUntagged\">Untagged</button> ") | |
| 284 | 272 | if templ_7745c5c3_Err != nil { | |
| 285 | 273 | return templ_7745c5c3_Err | |
| 286 | 274 | } | |
| @@ -291,7 +279,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 291 | 279 | if templ_7745c5c3_Err != nil { | |
| 292 | 280 | return templ_7745c5c3_Err | |
| 293 | 281 | } | |
| 294 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "<button type=\"button\" class=\"") | |
| 282 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "<button type=\"button\" class=\"") | |
| 295 | 283 | if templ_7745c5c3_Err != nil { | |
| 296 | 284 | return templ_7745c5c3_Err | |
| 297 | 285 | } | |
| @@ -304,7 +292,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 304 | 292 | if templ_7745c5c3_Err != nil { | |
| 305 | 293 | return templ_7745c5c3_Err | |
| 306 | 294 | } | |
| 307 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" aria-pressed=\"") | |
| 295 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "\" aria-pressed=\"") | |
| 308 | 296 | if templ_7745c5c3_Err != nil { | |
| 309 | 297 | return templ_7745c5c3_Err | |
| 310 | 298 | } | |
| @@ -317,7 +305,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 317 | 305 | if templ_7745c5c3_Err != nil { | |
| 318 | 306 | return templ_7745c5c3_Err | |
| 319 | 307 | } | |
| 320 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "\" data-sv-action=\"favorite.filterTag\" data-tag-id=\"") | |
| 308 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" data-sv-action=\"favorite.filterTag\" data-tag-id=\"") | |
| 321 | 309 | if templ_7745c5c3_Err != nil { | |
| 322 | 310 | return templ_7745c5c3_Err | |
| 323 | 311 | } | |
| @@ -330,7 +318,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 330 | 318 | if templ_7745c5c3_Err != nil { | |
| 331 | 319 | return templ_7745c5c3_Err | |
| 332 | 320 | } | |
| 333 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "\"><span class=\"sv-tag-dot\" style=\"") | |
| 321 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\"><span class=\"sv-tag-dot\" style=\"") | |
| 334 | 322 | if templ_7745c5c3_Err != nil { | |
| 335 | 323 | return templ_7745c5c3_Err | |
| 336 | 324 | } | |
| @@ -343,7 +331,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 343 | 331 | if templ_7745c5c3_Err != nil { | |
| 344 | 332 | return templ_7745c5c3_Err | |
| 345 | 333 | } | |
| 346 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "\"></span>") | |
| 334 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\"></span>") | |
| 347 | 335 | if templ_7745c5c3_Err != nil { | |
| 348 | 336 | return templ_7745c5c3_Err | |
| 349 | 337 | } | |
| @@ -356,13 +344,13 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||
| 356 | 344 | if templ_7745c5c3_Err != nil { | |
| 357 | 345 | return templ_7745c5c3_Err | |
| 358 | 346 | } | |
| 359 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "</button>") | |
| 347 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "</button>") | |
| 360 | 348 | if templ_7745c5c3_Err != nil { | |
| 361 | 349 | return templ_7745c5c3_Err | |
| 362 | 350 | } | |
| 363 | 351 | } | |
| 364 | 352 | } | |
| 365 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "</div></div><p class=\"sv-meta sv-key-hints\">Keys: <kbd>j</kbd>/<kbd>k</kbd> move, <kbd>Enter</kbd> open, <kbd>e</kbd> edit title, <kbd>d</kbd> delete focused favorite.</p>") | |
| 353 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "</div></div><p class=\"sv-meta sv-key-hints\">Keys: <kbd>j</kbd>/<kbd>k</kbd> move, <kbd>Enter</kbd> open, <kbd>e</kbd> edit title, <kbd>d</kbd> delete focused favorite.</p>") | |
| 366 | 354 | if templ_7745c5c3_Err != nil { | |
| 367 | 355 | return templ_7745c5c3_Err | |
| 368 | 356 | } | |
| @@ -392,13 +380,13 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||
| 392 | 380 | } | |
| 393 | 381 | ctx = templ.ClearChildren(ctx) | |
| 394 | 382 | if len(tags) > 0 { | |
| 395 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "<fieldset class=\"sv-tag-picker\"><legend>Tags</legend><div class=\"sv-tag-controls\">") | |
| 383 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "<fieldset class=\"sv-tag-picker\"><legend>Tags</legend><div class=\"sv-tag-controls\">") | |
| 396 | 384 | if templ_7745c5c3_Err != nil { | |
| 397 | 385 | return templ_7745c5c3_Err | |
| 398 | 386 | } | |
| 399 | 387 | for _, tag := range tags { | |
| 400 | 388 | if tag != nil { | |
| 401 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "<label class=\"sv-tag-toggle\"><input type=\"checkbox\" name=\"tags\" value=\"") | |
| 389 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<label class=\"sv-tag-toggle\"><input type=\"checkbox\" name=\"tags\" value=\"") | |
| 402 | 390 | if templ_7745c5c3_Err != nil { | |
| 403 | 391 | return templ_7745c5c3_Err | |
| 404 | 392 | } | |
| @@ -411,7 +399,7 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||
| 411 | 399 | if templ_7745c5c3_Err != nil { | |
| 412 | 400 | return templ_7745c5c3_Err | |
| 413 | 401 | } | |
| 414 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\"> <span><span class=\"sv-tag-dot\" style=\"") | |
| 402 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "\"> <span><span class=\"sv-tag-dot\" style=\"") | |
| 415 | 403 | if templ_7745c5c3_Err != nil { | |
| 416 | 404 | return templ_7745c5c3_Err | |
| 417 | 405 | } | |
| @@ -424,7 +412,7 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||
| 424 | 412 | if templ_7745c5c3_Err != nil { | |
| 425 | 413 | return templ_7745c5c3_Err | |
| 426 | 414 | } | |
| 427 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\"></span>") | |
| 415 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\"></span>") | |
| 428 | 416 | if templ_7745c5c3_Err != nil { | |
| 429 | 417 | return templ_7745c5c3_Err | |
| 430 | 418 | } | |
| @@ -437,13 +425,13 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||
| 437 | 425 | if templ_7745c5c3_Err != nil { | |
| 438 | 426 | return templ_7745c5c3_Err | |
| 439 | 427 | } | |
| 440 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "</span></label>") | |
| 428 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "</span></label>") | |
| 441 | 429 | if templ_7745c5c3_Err != nil { | |
| 442 | 430 | return templ_7745c5c3_Err | |
| 443 | 431 | } | |
| 444 | 432 | } | |
| 445 | 433 | } | |
| 446 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "</div></fieldset>") | |
| 434 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "</div></fieldset>") | |
| 447 | 435 | if templ_7745c5c3_Err != nil { | |
| 448 | 436 | return templ_7745c5c3_Err | |
| 449 | 437 | } | |
| @@ -473,7 +461,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 473 | 461 | templ_7745c5c3_Var22 = templ.NopComponent | |
| 474 | 462 | } | |
| 475 | 463 | ctx = templ.ClearChildren(ctx) | |
| 476 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "<li class=\"sv-list-row\"><article class=\"sv-favorite-item\" data-sv-favorite-row data-favorite-id=\"") | |
| 464 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "<li class=\"sv-list-row\"><article class=\"sv-favorite-item\" data-sv-favorite-row data-favorite-id=\"") | |
| 477 | 465 | if templ_7745c5c3_Err != nil { | |
| 478 | 466 | return templ_7745c5c3_Err | |
| 479 | 467 | } | |
| @@ -486,7 +474,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 486 | 474 | if templ_7745c5c3_Err != nil { | |
| 487 | 475 | return templ_7745c5c3_Err | |
| 488 | 476 | } | |
| 489 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\"><div class=\"sv-favorite-header\"><div><a class=\"sv-link sv-favorite-open\" href=\"") | |
| 477 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\"><div class=\"sv-favorite-header\"><div><a class=\"sv-link sv-favorite-open\" href=\"") | |
| 490 | 478 | if templ_7745c5c3_Err != nil { | |
| 491 | 479 | return templ_7745c5c3_Err | |
| 492 | 480 | } | |
| @@ -499,7 +487,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 499 | 487 | if templ_7745c5c3_Err != nil { | |
| 500 | 488 | return templ_7745c5c3_Err | |
| 501 | 489 | } | |
| 502 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\">") | |
| 490 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\">") | |
| 503 | 491 | if templ_7745c5c3_Err != nil { | |
| 504 | 492 | return templ_7745c5c3_Err | |
| 505 | 493 | } | |
| @@ -512,7 +500,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 512 | 500 | if templ_7745c5c3_Err != nil { | |
| 513 | 501 | return templ_7745c5c3_Err | |
| 514 | 502 | } | |
| 515 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "</a><p class=\"sv-history-url\">") | |
| 503 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "</a><p class=\"sv-history-url\">") | |
| 516 | 504 | if templ_7745c5c3_Err != nil { | |
| 517 | 505 | return templ_7745c5c3_Err | |
| 518 | 506 | } | |
| @@ -525,12 +513,12 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 525 | 513 | if templ_7745c5c3_Err != nil { | |
| 526 | 514 | return templ_7745c5c3_Err | |
| 527 | 515 | } | |
| 528 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</p>") | |
| 516 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "</p>") | |
| 529 | 517 | if templ_7745c5c3_Err != nil { | |
| 530 | 518 | return templ_7745c5c3_Err | |
| 531 | 519 | } | |
| 532 | 520 | if favoriteMetaText(favorite) != "" { | |
| 533 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "<p class=\"sv-meta\">") | |
| 521 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "<p class=\"sv-meta\">") | |
| 534 | 522 | if templ_7745c5c3_Err != nil { | |
| 535 | 523 | return templ_7745c5c3_Err | |
| 536 | 524 | } | |
| @@ -543,12 +531,12 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 543 | 531 | if templ_7745c5c3_Err != nil { | |
| 544 | 532 | return templ_7745c5c3_Err | |
| 545 | 533 | } | |
| 546 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "</p>") | |
| 534 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "</p>") | |
| 547 | 535 | if templ_7745c5c3_Err != nil { | |
| 548 | 536 | return templ_7745c5c3_Err | |
| 549 | 537 | } | |
| 550 | 538 | } | |
| 551 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "</div><div class=\"sv-history-row-actions\"><a class=\"sv-button sv-button-secondary\" href=\"") | |
| 539 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</div><div class=\"sv-history-row-actions\"><a class=\"sv-button sv-button-secondary\" href=\"") | |
| 552 | 540 | if templ_7745c5c3_Err != nil { | |
| 553 | 541 | return templ_7745c5c3_Err | |
| 554 | 542 | } | |
| @@ -561,7 +549,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 561 | 549 | if templ_7745c5c3_Err != nil { | |
| 562 | 550 | return templ_7745c5c3_Err | |
| 563 | 551 | } | |
| 564 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "\">") | |
| 552 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\">") | |
| 565 | 553 | if templ_7745c5c3_Err != nil { | |
| 566 | 554 | return templ_7745c5c3_Err | |
| 567 | 555 | } | |
| @@ -569,7 +557,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 569 | 557 | if templ_7745c5c3_Err != nil { | |
| 570 | 558 | return templ_7745c5c3_Err | |
| 571 | 559 | } | |
| 572 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "</a> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"favorite.delete\" data-id=\"") | |
| 560 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "</a> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"favorite.delete\" data-id=\"") | |
| 573 | 561 | if templ_7745c5c3_Err != nil { | |
| 574 | 562 | return templ_7745c5c3_Err | |
| 575 | 563 | } | |
| @@ -582,7 +570,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 582 | 570 | if templ_7745c5c3_Err != nil { | |
| 583 | 571 | return templ_7745c5c3_Err | |
| 584 | 572 | } | |
| 585 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "\" data-sv-confirm=\"Delete this favorite?\" aria-label=\"Delete this favorite\">") | |
| 573 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" data-sv-confirm=\"Delete this favorite?\" aria-label=\"Delete this favorite\">") | |
| 586 | 574 | if templ_7745c5c3_Err != nil { | |
| 587 | 575 | return templ_7745c5c3_Err | |
| 588 | 576 | } | |
| @@ -590,7 +578,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 590 | 578 | if templ_7745c5c3_Err != nil { | |
| 591 | 579 | return templ_7745c5c3_Err | |
| 592 | 580 | } | |
| 593 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></div></div>") | |
| 581 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "</button></div></div>") | |
| 594 | 582 | if templ_7745c5c3_Err != nil { | |
| 595 | 583 | return templ_7745c5c3_Err | |
| 596 | 584 | } | |
| @@ -602,7 +590,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||
| 602 | 590 | if templ_7745c5c3_Err != nil { | |
| 603 | 591 | return templ_7745c5c3_Err | |
| 604 | 592 | } | |
| 605 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</article></li>") | |
| 593 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "</article></li>") | |
| 606 | 594 | if templ_7745c5c3_Err != nil { | |
| 607 | 595 | return templ_7745c5c3_Err | |
| 608 | 596 | } | |
| @@ -631,7 +619,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 631 | 619 | templ_7745c5c3_Var30 = templ.NopComponent | |
| 632 | 620 | } | |
| 633 | 621 | ctx = templ.ClearChildren(ctx) | |
| 634 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<form class=\"sv-inline-form\" data-sv-action=\"favorite.update\"><input type=\"hidden\" name=\"id\" value=\"") | |
| 622 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<form class=\"sv-inline-form\" data-sv-action=\"favorite.update\"><input type=\"hidden\" name=\"id\" value=\"") | |
| 635 | 623 | if templ_7745c5c3_Err != nil { | |
| 636 | 624 | return templ_7745c5c3_Err | |
| 637 | 625 | } | |
| @@ -644,7 +632,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 644 | 632 | if templ_7745c5c3_Err != nil { | |
| 645 | 633 | return templ_7745c5c3_Err | |
| 646 | 634 | } | |
| 647 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "\"> <label><span>Title</span><input name=\"title\" type=\"text\" value=\"") | |
| 635 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "\"> <label><span>Title</span><input name=\"title\" type=\"text\" value=\"") | |
| 648 | 636 | if templ_7745c5c3_Err != nil { | |
| 649 | 637 | return templ_7745c5c3_Err | |
| 650 | 638 | } | |
| @@ -657,7 +645,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 657 | 645 | if templ_7745c5c3_Err != nil { | |
| 658 | 646 | return templ_7745c5c3_Err | |
| 659 | 647 | } | |
| 660 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "\"></label> <label><span>Favicon</span><input name=\"favicon_url\" type=\"url\" value=\"") | |
| 648 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "\"></label> <label><span>Favicon</span><input name=\"favicon_url\" type=\"url\" value=\"") | |
| 661 | 649 | if templ_7745c5c3_Err != nil { | |
| 662 | 650 | return templ_7745c5c3_Err | |
| 663 | 651 | } | |
| @@ -670,7 +658,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 670 | 658 | if templ_7745c5c3_Err != nil { | |
| 671 | 659 | return templ_7745c5c3_Err | |
| 672 | 660 | } | |
| 673 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"></label>") | |
| 661 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "\"></label>") | |
| 674 | 662 | if templ_7745c5c3_Err != nil { | |
| 675 | 663 | return templ_7745c5c3_Err | |
| 676 | 664 | } | |
| @@ -678,7 +666,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 678 | 666 | if templ_7745c5c3_Err != nil { | |
| 679 | 667 | return templ_7745c5c3_Err | |
| 680 | 668 | } | |
| 681 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "<button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 669 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "<button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 682 | 670 | if templ_7745c5c3_Err != nil { | |
| 683 | 671 | return templ_7745c5c3_Err | |
| 684 | 672 | } | |
| @@ -686,7 +674,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||
| 686 | 674 | if templ_7745c5c3_Err != nil { | |
| 687 | 675 | return templ_7745c5c3_Err | |
| 688 | 676 | } | |
| 689 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</button></form>") | |
| 677 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "</button></form>") | |
| 690 | 678 | if templ_7745c5c3_Err != nil { | |
| 691 | 679 | return templ_7745c5c3_Err | |
| 692 | 680 | } | |
| @@ -716,7 +704,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 716 | 704 | } | |
| 717 | 705 | ctx = templ.ClearChildren(ctx) | |
| 718 | 706 | if len(tags) > 0 { | |
| 719 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "<div class=\"sv-tag-controls\"><span class=\"sv-meta\">Tags</span> ") | |
| 707 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "<div class=\"sv-tag-controls\"><span class=\"sv-meta\">Tags</span> ") | |
| 720 | 708 | if templ_7745c5c3_Err != nil { | |
| 721 | 709 | return templ_7745c5c3_Err | |
| 722 | 710 | } | |
| @@ -727,7 +715,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 727 | 715 | if templ_7745c5c3_Err != nil { | |
| 728 | 716 | return templ_7745c5c3_Err | |
| 729 | 717 | } | |
| 730 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "<button type=\"button\" class=\"") | |
| 718 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "<button type=\"button\" class=\"") | |
| 731 | 719 | if templ_7745c5c3_Err != nil { | |
| 732 | 720 | return templ_7745c5c3_Err | |
| 733 | 721 | } | |
| @@ -740,7 +728,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 740 | 728 | if templ_7745c5c3_Err != nil { | |
| 741 | 729 | return templ_7745c5c3_Err | |
| 742 | 730 | } | |
| 743 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\" data-sv-action=\"") | |
| 731 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" data-sv-action=\"") | |
| 744 | 732 | if templ_7745c5c3_Err != nil { | |
| 745 | 733 | return templ_7745c5c3_Err | |
| 746 | 734 | } | |
| @@ -753,7 +741,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 753 | 741 | if templ_7745c5c3_Err != nil { | |
| 754 | 742 | return templ_7745c5c3_Err | |
| 755 | 743 | } | |
| 756 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\" data-favorite-id=\"") | |
| 744 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\" data-favorite-id=\"") | |
| 757 | 745 | if templ_7745c5c3_Err != nil { | |
| 758 | 746 | return templ_7745c5c3_Err | |
| 759 | 747 | } | |
| @@ -766,7 +754,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 766 | 754 | if templ_7745c5c3_Err != nil { | |
| 767 | 755 | return templ_7745c5c3_Err | |
| 768 | 756 | } | |
| 769 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\" data-tag-id=\"") | |
| 757 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "\" data-tag-id=\"") | |
| 770 | 758 | if templ_7745c5c3_Err != nil { | |
| 771 | 759 | return templ_7745c5c3_Err | |
| 772 | 760 | } | |
| @@ -779,7 +767,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 779 | 767 | if templ_7745c5c3_Err != nil { | |
| 780 | 768 | return templ_7745c5c3_Err | |
| 781 | 769 | } | |
| 782 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "\"><span class=\"sv-tag-dot\" style=\"") | |
| 770 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\"><span class=\"sv-tag-dot\" style=\"") | |
| 783 | 771 | if templ_7745c5c3_Err != nil { | |
| 784 | 772 | return templ_7745c5c3_Err | |
| 785 | 773 | } | |
| @@ -792,7 +780,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 792 | 780 | if templ_7745c5c3_Err != nil { | |
| 793 | 781 | return templ_7745c5c3_Err | |
| 794 | 782 | } | |
| 795 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "\"></span>") | |
| 783 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\"></span>") | |
| 796 | 784 | if templ_7745c5c3_Err != nil { | |
| 797 | 785 | return templ_7745c5c3_Err | |
| 798 | 786 | } | |
| @@ -805,13 +793,13 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||
| 805 | 793 | if templ_7745c5c3_Err != nil { | |
| 806 | 794 | return templ_7745c5c3_Err | |
| 807 | 795 | } | |
| 808 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</button>") | |
| 796 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</button>") | |
| 809 | 797 | if templ_7745c5c3_Err != nil { | |
| 810 | 798 | return templ_7745c5c3_Err | |
| 811 | 799 | } | |
| 812 | 800 | } | |
| 813 | 801 | } | |
| 814 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "</div>") | |
| 802 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</div>") | |
| 815 | 803 | if templ_7745c5c3_Err != nil { | |
| 816 | 804 | return templ_7745c5c3_Err | |
| 817 | 805 | } | |
| @@ -841,7 +829,7 @@ func TagCreateForm() templ.Component { | |||
| 841 | 829 | templ_7745c5c3_Var42 = templ.NopComponent | |
| 842 | 830 | } | |
| 843 | 831 | ctx = templ.ClearChildren(ctx) | |
| 844 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "<form class=\"sv-inline-form\" data-sv-action=\"tag.create\"><label><span>Name</span><input name=\"name\" type=\"text\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" placeholder=\"#808080\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 832 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<form class=\"sv-inline-form\" data-sv-action=\"tag.create\"><label><span>Name</span><input name=\"name\" type=\"text\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" placeholder=\"#808080\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 845 | 833 | if templ_7745c5c3_Err != nil { | |
| 846 | 834 | return templ_7745c5c3_Err | |
| 847 | 835 | } | |
| @@ -849,7 +837,7 @@ func TagCreateForm() templ.Component { | |||
| 849 | 837 | if templ_7745c5c3_Err != nil { | |
| 850 | 838 | return templ_7745c5c3_Err | |
| 851 | 839 | } | |
| 852 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</button></form>") | |
| 840 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</button></form>") | |
| 853 | 841 | if templ_7745c5c3_Err != nil { | |
| 854 | 842 | return templ_7745c5c3_Err | |
| 855 | 843 | } | |
| @@ -878,7 +866,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 878 | 866 | templ_7745c5c3_Var43 = templ.NopComponent | |
| 879 | 867 | } | |
| 880 | 868 | ctx = templ.ClearChildren(ctx) | |
| 881 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"tag.update\"><input type=\"hidden\" name=\"id\" value=\"") | |
| 869 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"tag.update\"><input type=\"hidden\" name=\"id\" value=\"") | |
| 882 | 870 | if templ_7745c5c3_Err != nil { | |
| 883 | 871 | return templ_7745c5c3_Err | |
| 884 | 872 | } | |
| @@ -891,7 +879,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 891 | 879 | if templ_7745c5c3_Err != nil { | |
| 892 | 880 | return templ_7745c5c3_Err | |
| 893 | 881 | } | |
| 894 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\"> <span class=\"sv-tag-dot\" style=\"") | |
| 882 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\"> <span class=\"sv-tag-dot\" style=\"") | |
| 895 | 883 | if templ_7745c5c3_Err != nil { | |
| 896 | 884 | return templ_7745c5c3_Err | |
| 897 | 885 | } | |
| @@ -904,7 +892,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 904 | 892 | if templ_7745c5c3_Err != nil { | |
| 905 | 893 | return templ_7745c5c3_Err | |
| 906 | 894 | } | |
| 907 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "\"></span> <label><span>Name</span><input name=\"name\" type=\"text\" value=\"") | |
| 895 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "\"></span> <label><span>Name</span><input name=\"name\" type=\"text\" value=\"") | |
| 908 | 896 | if templ_7745c5c3_Err != nil { | |
| 909 | 897 | return templ_7745c5c3_Err | |
| 910 | 898 | } | |
| @@ -917,7 +905,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 917 | 905 | if templ_7745c5c3_Err != nil { | |
| 918 | 906 | return templ_7745c5c3_Err | |
| 919 | 907 | } | |
| 920 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" value=\"") | |
| 908 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" value=\"") | |
| 921 | 909 | if templ_7745c5c3_Err != nil { | |
| 922 | 910 | return templ_7745c5c3_Err | |
| 923 | 911 | } | |
| @@ -930,7 +918,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 930 | 918 | if templ_7745c5c3_Err != nil { | |
| 931 | 919 | return templ_7745c5c3_Err | |
| 932 | 920 | } | |
| 933 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 921 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 934 | 922 | if templ_7745c5c3_Err != nil { | |
| 935 | 923 | return templ_7745c5c3_Err | |
| 936 | 924 | } | |
| @@ -938,7 +926,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 938 | 926 | if templ_7745c5c3_Err != nil { | |
| 939 | 927 | return templ_7745c5c3_Err | |
| 940 | 928 | } | |
| 941 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "</button> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"tag.delete\" data-id=\"") | |
| 929 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "</button> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"tag.delete\" data-id=\"") | |
| 942 | 930 | if templ_7745c5c3_Err != nil { | |
| 943 | 931 | return templ_7745c5c3_Err | |
| 944 | 932 | } | |
| @@ -951,7 +939,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 951 | 939 | if templ_7745c5c3_Err != nil { | |
| 952 | 940 | return templ_7745c5c3_Err | |
| 953 | 941 | } | |
| 954 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\" data-sv-confirm=\"Delete this tag?\" aria-label=\"Delete this tag\">") | |
| 942 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" data-sv-confirm=\"Delete this tag?\" aria-label=\"Delete this tag\">") | |
| 955 | 943 | if templ_7745c5c3_Err != nil { | |
| 956 | 944 | return templ_7745c5c3_Err | |
| 957 | 945 | } | |
| @@ -959,7 +947,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||
| 959 | 947 | if templ_7745c5c3_Err != nil { | |
| 960 | 948 | return templ_7745c5c3_Err | |
| 961 | 949 | } | |
| 962 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</button></form></li>") | |
| 950 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "</button></form></li>") | |
| 963 | 951 | if templ_7745c5c3_Err != nil { | |
| 964 | 952 | return templ_7745c5c3_Err | |
| 965 | 953 | } | |
| @@ -988,12 +976,12 @@ func ShortcutSelect(selected *int) templ.Component { | |||
| 988 | 976 | templ_7745c5c3_Var49 = templ.NopComponent | |
| 989 | 977 | } | |
| 990 | 978 | ctx = templ.ClearChildren(ctx) | |
| 991 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<label><span>Shortcut</span><select name=\"shortcut_key\"><option value=\"\">None</option> ") | |
| 979 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "<label><span>Shortcut</span><select name=\"shortcut_key\"><option value=\"\">None</option> ") | |
| 992 | 980 | if templ_7745c5c3_Err != nil { | |
| 993 | 981 | return templ_7745c5c3_Err | |
| 994 | 982 | } | |
| 995 | 983 | for i := 1; i <= 9; i++ { | |
| 996 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<option value=\"") | |
| 984 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "<option value=\"") | |
| 997 | 985 | if templ_7745c5c3_Err != nil { | |
| 998 | 986 | return templ_7745c5c3_Err | |
| 999 | 987 | } | |
| @@ -1006,17 +994,17 @@ func ShortcutSelect(selected *int) templ.Component { | |||
| 1006 | 994 | if templ_7745c5c3_Err != nil { | |
| 1007 | 995 | return templ_7745c5c3_Err | |
| 1008 | 996 | } | |
| 1009 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "\"") | |
| 997 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "\"") | |
| 1010 | 998 | if templ_7745c5c3_Err != nil { | |
| 1011 | 999 | return templ_7745c5c3_Err | |
| 1012 | 1000 | } | |
| 1013 | 1001 | if shortcutSelected(selected, i) { | |
| 1014 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, " selected") | |
| 1002 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " selected") | |
| 1015 | 1003 | if templ_7745c5c3_Err != nil { | |
| 1016 | 1004 | return templ_7745c5c3_Err | |
| 1017 | 1005 | } | |
| 1018 | 1006 | } | |
| 1019 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, ">") | |
| 1007 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, ">") | |
| 1020 | 1008 | if templ_7745c5c3_Err != nil { | |
| 1021 | 1009 | return templ_7745c5c3_Err | |
| 1022 | 1010 | } | |
| @@ -1029,12 +1017,12 @@ func ShortcutSelect(selected *int) templ.Component { | |||
| 1029 | 1017 | if templ_7745c5c3_Err != nil { | |
| 1030 | 1018 | return templ_7745c5c3_Err | |
| 1031 | 1019 | } | |
| 1032 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</option>") | |
| 1020 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "</option>") | |
| 1033 | 1021 | if templ_7745c5c3_Err != nil { | |
| 1034 | 1022 | return templ_7745c5c3_Err | |
| 1035 | 1023 | } | |
| 1036 | 1024 | } | |
| 1037 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "</select></label>") | |
| 1025 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "</select></label>") | |
| 1038 | 1026 | if templ_7745c5c3_Err != nil { | |
| 1039 | 1027 | return templ_7745c5c3_Err | |
| 1040 | 1028 | } | |
| @@ -79,17 +79,13 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||||
| 79 | if templ_7745c5c3_Err != nil { | 79 | if templ_7745c5c3_Err != nil { | ||
| 80 | return templ_7745c5c3_Err | 80 | return templ_7745c5c3_Err | ||
| 81 | } | 81 | } | ||
| 82 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " ") | |||
| 83 | - | if templ_7745c5c3_Err != nil { | |||
| 84 | - | return templ_7745c5c3_Err | |||
| 85 | - | } | |||
| 86 | if len(data.Favorites) == 0 { | 82 | if len(data.Favorites) == 0 { | ||
| 87 | templ_7745c5c3_Err = EmptyState("No favorites").Render(ctx, templ_7745c5c3_Buffer) | 83 | templ_7745c5c3_Err = EmptyState("No favorites").Render(ctx, templ_7745c5c3_Buffer) | ||
| 88 | if templ_7745c5c3_Err != nil { | 84 | if templ_7745c5c3_Err != nil { | ||
| 89 | return templ_7745c5c3_Err | 85 | return templ_7745c5c3_Err | ||
| 90 | } | 86 | } | ||
| 91 | } else { | 87 | } else { | ||
| 92 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<ul class=\"sv-list\">") | 88 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<ul class=\"sv-list\">") |
| 93 | if templ_7745c5c3_Err != nil { | 89 | if templ_7745c5c3_Err != nil { | ||
| 94 | return templ_7745c5c3_Err | 90 | return templ_7745c5c3_Err | ||
| 95 | } | 91 | } | ||
| @@ -101,7 +97,7 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||||
| 101 | } | 97 | } | ||
| 102 | } | 98 | } | ||
| 103 | } | 99 | } | ||
| 104 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "</ul>") | 100 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "</ul>") |
| 105 | if templ_7745c5c3_Err != nil { | 101 | if templ_7745c5c3_Err != nil { | ||
| 106 | return templ_7745c5c3_Err | 102 | return templ_7745c5c3_Err | ||
| 107 | } | 103 | } | ||
| @@ -128,25 +124,17 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||||
| 128 | if templ_7745c5c3_Err != nil { | 124 | if templ_7745c5c3_Err != nil { | ||
| 129 | return templ_7745c5c3_Err | 125 | return templ_7745c5c3_Err | ||
| 130 | } | 126 | } | ||
| 131 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " ") | |||
| 132 | - | if templ_7745c5c3_Err != nil { | |||
| 133 | - | return templ_7745c5c3_Err | |||
| 134 | - | } | |||
| 135 | templ_7745c5c3_Err = TagCreateForm().Render(ctx, templ_7745c5c3_Buffer) | 127 | templ_7745c5c3_Err = TagCreateForm().Render(ctx, templ_7745c5c3_Buffer) | ||
| 136 | if templ_7745c5c3_Err != nil { | 128 | if templ_7745c5c3_Err != nil { | ||
| 137 | return templ_7745c5c3_Err | 129 | return templ_7745c5c3_Err | ||
| 138 | } | 130 | } | ||
| 139 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, " ") | |||
| 140 | - | if templ_7745c5c3_Err != nil { | |||
| 141 | - | return templ_7745c5c3_Err | |||
| 142 | - | } | |||
| 143 | if len(data.Tags) == 0 { | 131 | if len(data.Tags) == 0 { | ||
| 144 | templ_7745c5c3_Err = EmptyState("No tags").Render(ctx, templ_7745c5c3_Buffer) | 132 | templ_7745c5c3_Err = EmptyState("No tags").Render(ctx, templ_7745c5c3_Buffer) | ||
| 145 | if templ_7745c5c3_Err != nil { | 133 | if templ_7745c5c3_Err != nil { | ||
| 146 | return templ_7745c5c3_Err | 134 | return templ_7745c5c3_Err | ||
| 147 | } | 135 | } | ||
| 148 | } else { | 136 | } else { | ||
| 149 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "<ul class=\"sv-list\">") | 137 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "<ul class=\"sv-list\">") |
| 150 | if templ_7745c5c3_Err != nil { | 138 | if templ_7745c5c3_Err != nil { | ||
| 151 | return templ_7745c5c3_Err | 139 | return templ_7745c5c3_Err | ||
| 152 | } | 140 | } | ||
| @@ -158,7 +146,7 @@ func FavoritesView(data favoritesRenderData) templ.Component { | |||||
| 158 | } | 146 | } | ||
| 159 | } | 147 | } | ||
| 160 | } | 148 | } | ||
| 161 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "</ul>") | 149 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "</ul>") |
| 162 | if templ_7745c5c3_Err != nil { | 150 | if templ_7745c5c3_Err != nil { | ||
| 163 | return templ_7745c5c3_Err | 151 | return templ_7745c5c3_Err | ||
| 164 | } | 152 | } | ||
| @@ -194,7 +182,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 194 | templ_7745c5c3_Var5 = templ.NopComponent | 182 | templ_7745c5c3_Var5 = templ.NopComponent | ||
| 195 | } | 183 | } | ||
| 196 | ctx = templ.ClearChildren(ctx) | 184 | ctx = templ.ClearChildren(ctx) | ||
| 197 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<form class=\"sv-card-form\" data-sv-action=\"favorite.create\"><label><span>URL</span><input name=\"url\" type=\"url\" placeholder=\"https://example.com\" required></label> <label><span>Title</span><input name=\"title\" type=\"text\" placeholder=\"Optional title\"></label>") | 185 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "<form class=\"sv-card-form\" data-sv-action=\"favorite.create\"><label><span>URL</span><input name=\"url\" type=\"url\" placeholder=\"https://example.com\" required></label> <label><span>Title</span><input name=\"title\" type=\"text\" placeholder=\"Optional title\"></label>") |
| 198 | if templ_7745c5c3_Err != nil { | 186 | if templ_7745c5c3_Err != nil { | ||
| 199 | return templ_7745c5c3_Err | 187 | return templ_7745c5c3_Err | ||
| 200 | } | 188 | } | ||
| @@ -202,7 +190,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 202 | if templ_7745c5c3_Err != nil { | 190 | if templ_7745c5c3_Err != nil { | ||
| 203 | return templ_7745c5c3_Err | 191 | return templ_7745c5c3_Err | ||
| 204 | } | 192 | } | ||
| 205 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "<button class=\"sv-button\" type=\"submit\">") | 193 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "<button class=\"sv-button\" type=\"submit\">") |
| 206 | if templ_7745c5c3_Err != nil { | 194 | if templ_7745c5c3_Err != nil { | ||
| 207 | return templ_7745c5c3_Err | 195 | return templ_7745c5c3_Err | ||
| 208 | } | 196 | } | ||
| @@ -210,7 +198,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 210 | if templ_7745c5c3_Err != nil { | 198 | if templ_7745c5c3_Err != nil { | ||
| 211 | return templ_7745c5c3_Err | 199 | return templ_7745c5c3_Err | ||
| 212 | } | 200 | } | ||
| 213 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "</button></form><div class=\"sv-filter-panel\"><div class=\"sv-button-row\"><span class=\"sv-meta\">Tags</span> ") | 201 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "</button></form><div class=\"sv-filter-panel\"><div class=\"sv-button-row\"><span class=\"sv-meta\">Tags</span> ") |
| 214 | if templ_7745c5c3_Err != nil { | 202 | if templ_7745c5c3_Err != nil { | ||
| 215 | return templ_7745c5c3_Err | 203 | return templ_7745c5c3_Err | ||
| 216 | } | 204 | } | ||
| @@ -219,7 +207,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 219 | if templ_7745c5c3_Err != nil { | 207 | if templ_7745c5c3_Err != nil { | ||
| 220 | return templ_7745c5c3_Err | 208 | return templ_7745c5c3_Err | ||
| 221 | } | 209 | } | ||
| 222 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "<button type=\"button\" class=\"") | 210 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<button type=\"button\" class=\"") |
| 223 | if templ_7745c5c3_Err != nil { | 211 | if templ_7745c5c3_Err != nil { | ||
| 224 | return templ_7745c5c3_Err | 212 | return templ_7745c5c3_Err | ||
| 225 | } | 213 | } | ||
| @@ -232,7 +220,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 232 | if templ_7745c5c3_Err != nil { | 220 | if templ_7745c5c3_Err != nil { | ||
| 233 | return templ_7745c5c3_Err | 221 | return templ_7745c5c3_Err | ||
| 234 | } | 222 | } | ||
| 235 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "\" aria-pressed=\"") | 223 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\" aria-pressed=\"") |
| 236 | if templ_7745c5c3_Err != nil { | 224 | if templ_7745c5c3_Err != nil { | ||
| 237 | return templ_7745c5c3_Err | 225 | return templ_7745c5c3_Err | ||
| 238 | } | 226 | } | ||
| @@ -245,7 +233,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 245 | if templ_7745c5c3_Err != nil { | 233 | if templ_7745c5c3_Err != nil { | ||
| 246 | return templ_7745c5c3_Err | 234 | return templ_7745c5c3_Err | ||
| 247 | } | 235 | } | ||
| 248 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\" data-sv-action=\"favorite.clearFilters\">All</button> ") | 236 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "\" data-sv-action=\"favorite.clearFilters\">All</button> ") |
| 249 | if templ_7745c5c3_Err != nil { | 237 | if templ_7745c5c3_Err != nil { | ||
| 250 | return templ_7745c5c3_Err | 238 | return templ_7745c5c3_Err | ||
| 251 | } | 239 | } | ||
| @@ -254,7 +242,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 254 | if templ_7745c5c3_Err != nil { | 242 | if templ_7745c5c3_Err != nil { | ||
| 255 | return templ_7745c5c3_Err | 243 | return templ_7745c5c3_Err | ||
| 256 | } | 244 | } | ||
| 257 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "<button type=\"button\" class=\"") | 245 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "<button type=\"button\" class=\"") |
| 258 | if templ_7745c5c3_Err != nil { | 246 | if templ_7745c5c3_Err != nil { | ||
| 259 | return templ_7745c5c3_Err | 247 | return templ_7745c5c3_Err | ||
| 260 | } | 248 | } | ||
| @@ -267,7 +255,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 267 | if templ_7745c5c3_Err != nil { | 255 | if templ_7745c5c3_Err != nil { | ||
| 268 | return templ_7745c5c3_Err | 256 | return templ_7745c5c3_Err | ||
| 269 | } | 257 | } | ||
| 270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "\" aria-pressed=\"") | 258 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "\" aria-pressed=\"") |
| 271 | if templ_7745c5c3_Err != nil { | 259 | if templ_7745c5c3_Err != nil { | ||
| 272 | return templ_7745c5c3_Err | 260 | return templ_7745c5c3_Err | ||
| 273 | } | 261 | } | ||
| @@ -280,7 +268,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 280 | if templ_7745c5c3_Err != nil { | 268 | if templ_7745c5c3_Err != nil { | ||
| 281 | return templ_7745c5c3_Err | 269 | return templ_7745c5c3_Err | ||
| 282 | } | 270 | } | ||
| 283 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" data-sv-action=\"favorite.filterUntagged\">Untagged</button> ") | 271 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\" data-sv-action=\"favorite.filterUntagged\">Untagged</button> ") |
| 284 | if templ_7745c5c3_Err != nil { | 272 | if templ_7745c5c3_Err != nil { | ||
| 285 | return templ_7745c5c3_Err | 273 | return templ_7745c5c3_Err | ||
| 286 | } | 274 | } | ||
| @@ -291,7 +279,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 291 | if templ_7745c5c3_Err != nil { | 279 | if templ_7745c5c3_Err != nil { | ||
| 292 | return templ_7745c5c3_Err | 280 | return templ_7745c5c3_Err | ||
| 293 | } | 281 | } | ||
| 294 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "<button type=\"button\" class=\"") | 282 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "<button type=\"button\" class=\"") |
| 295 | if templ_7745c5c3_Err != nil { | 283 | if templ_7745c5c3_Err != nil { | ||
| 296 | return templ_7745c5c3_Err | 284 | return templ_7745c5c3_Err | ||
| 297 | } | 285 | } | ||
| @@ -304,7 +292,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 304 | if templ_7745c5c3_Err != nil { | 292 | if templ_7745c5c3_Err != nil { | ||
| 305 | return templ_7745c5c3_Err | 293 | return templ_7745c5c3_Err | ||
| 306 | } | 294 | } | ||
| 307 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" aria-pressed=\"") | 295 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "\" aria-pressed=\"") |
| 308 | if templ_7745c5c3_Err != nil { | 296 | if templ_7745c5c3_Err != nil { | ||
| 309 | return templ_7745c5c3_Err | 297 | return templ_7745c5c3_Err | ||
| 310 | } | 298 | } | ||
| @@ -317,7 +305,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 317 | if templ_7745c5c3_Err != nil { | 305 | if templ_7745c5c3_Err != nil { | ||
| 318 | return templ_7745c5c3_Err | 306 | return templ_7745c5c3_Err | ||
| 319 | } | 307 | } | ||
| 320 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "\" data-sv-action=\"favorite.filterTag\" data-tag-id=\"") | 308 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" data-sv-action=\"favorite.filterTag\" data-tag-id=\"") |
| 321 | if templ_7745c5c3_Err != nil { | 309 | if templ_7745c5c3_Err != nil { | ||
| 322 | return templ_7745c5c3_Err | 310 | return templ_7745c5c3_Err | ||
| 323 | } | 311 | } | ||
| @@ -330,7 +318,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 330 | if templ_7745c5c3_Err != nil { | 318 | if templ_7745c5c3_Err != nil { | ||
| 331 | return templ_7745c5c3_Err | 319 | return templ_7745c5c3_Err | ||
| 332 | } | 320 | } | ||
| 333 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "\"><span class=\"sv-tag-dot\" style=\"") | 321 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\"><span class=\"sv-tag-dot\" style=\"") |
| 334 | if templ_7745c5c3_Err != nil { | 322 | if templ_7745c5c3_Err != nil { | ||
| 335 | return templ_7745c5c3_Err | 323 | return templ_7745c5c3_Err | ||
| 336 | } | 324 | } | ||
| @@ -343,7 +331,7 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 343 | if templ_7745c5c3_Err != nil { | 331 | if templ_7745c5c3_Err != nil { | ||
| 344 | return templ_7745c5c3_Err | 332 | return templ_7745c5c3_Err | ||
| 345 | } | 333 | } | ||
| 346 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "\"></span>") | 334 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\"></span>") |
| 347 | if templ_7745c5c3_Err != nil { | 335 | if templ_7745c5c3_Err != nil { | ||
| 348 | return templ_7745c5c3_Err | 336 | return templ_7745c5c3_Err | ||
| 349 | } | 337 | } | ||
| @@ -356,13 +344,13 @@ func FavoritesControls(data favoritesRenderData) templ.Component { | |||||
| 356 | if templ_7745c5c3_Err != nil { | 344 | if templ_7745c5c3_Err != nil { | ||
| 357 | return templ_7745c5c3_Err | 345 | return templ_7745c5c3_Err | ||
| 358 | } | 346 | } | ||
| 359 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "</button>") | 347 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "</button>") |
| 360 | if templ_7745c5c3_Err != nil { | 348 | if templ_7745c5c3_Err != nil { | ||
| 361 | return templ_7745c5c3_Err | 349 | return templ_7745c5c3_Err | ||
| 362 | } | 350 | } | ||
| 363 | } | 351 | } | ||
| 364 | } | 352 | } | ||
| 365 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "</div></div><p class=\"sv-meta sv-key-hints\">Keys: <kbd>j</kbd>/<kbd>k</kbd> move, <kbd>Enter</kbd> open, <kbd>e</kbd> edit title, <kbd>d</kbd> delete focused favorite.</p>") | 353 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "</div></div><p class=\"sv-meta sv-key-hints\">Keys: <kbd>j</kbd>/<kbd>k</kbd> move, <kbd>Enter</kbd> open, <kbd>e</kbd> edit title, <kbd>d</kbd> delete focused favorite.</p>") |
| 366 | if templ_7745c5c3_Err != nil { | 354 | if templ_7745c5c3_Err != nil { | ||
| 367 | return templ_7745c5c3_Err | 355 | return templ_7745c5c3_Err | ||
| 368 | } | 356 | } | ||
| @@ -392,13 +380,13 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||||
| 392 | } | 380 | } | ||
| 393 | ctx = templ.ClearChildren(ctx) | 381 | ctx = templ.ClearChildren(ctx) | ||
| 394 | if len(tags) > 0 { | 382 | if len(tags) > 0 { | ||
| 395 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "<fieldset class=\"sv-tag-picker\"><legend>Tags</legend><div class=\"sv-tag-controls\">") | 383 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "<fieldset class=\"sv-tag-picker\"><legend>Tags</legend><div class=\"sv-tag-controls\">") |
| 396 | if templ_7745c5c3_Err != nil { | 384 | if templ_7745c5c3_Err != nil { | ||
| 397 | return templ_7745c5c3_Err | 385 | return templ_7745c5c3_Err | ||
| 398 | } | 386 | } | ||
| 399 | for _, tag := range tags { | 387 | for _, tag := range tags { | ||
| 400 | if tag != nil { | 388 | if tag != nil { | ||
| 401 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "<label class=\"sv-tag-toggle\"><input type=\"checkbox\" name=\"tags\" value=\"") | 389 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<label class=\"sv-tag-toggle\"><input type=\"checkbox\" name=\"tags\" value=\"") |
| 402 | if templ_7745c5c3_Err != nil { | 390 | if templ_7745c5c3_Err != nil { | ||
| 403 | return templ_7745c5c3_Err | 391 | return templ_7745c5c3_Err | ||
| 404 | } | 392 | } | ||
| @@ -411,7 +399,7 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||||
| 411 | if templ_7745c5c3_Err != nil { | 399 | if templ_7745c5c3_Err != nil { | ||
| 412 | return templ_7745c5c3_Err | 400 | return templ_7745c5c3_Err | ||
| 413 | } | 401 | } | ||
| 414 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\"> <span><span class=\"sv-tag-dot\" style=\"") | 402 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "\"> <span><span class=\"sv-tag-dot\" style=\"") |
| 415 | if templ_7745c5c3_Err != nil { | 403 | if templ_7745c5c3_Err != nil { | ||
| 416 | return templ_7745c5c3_Err | 404 | return templ_7745c5c3_Err | ||
| 417 | } | 405 | } | ||
| @@ -424,7 +412,7 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||||
| 424 | if templ_7745c5c3_Err != nil { | 412 | if templ_7745c5c3_Err != nil { | ||
| 425 | return templ_7745c5c3_Err | 413 | return templ_7745c5c3_Err | ||
| 426 | } | 414 | } | ||
| 427 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\"></span>") | 415 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\"></span>") |
| 428 | if templ_7745c5c3_Err != nil { | 416 | if templ_7745c5c3_Err != nil { | ||
| 429 | return templ_7745c5c3_Err | 417 | return templ_7745c5c3_Err | ||
| 430 | } | 418 | } | ||
| @@ -437,13 +425,13 @@ func FavoriteCreateTagPicker(tags []*entity.Tag) templ.Component { | |||||
| 437 | if templ_7745c5c3_Err != nil { | 425 | if templ_7745c5c3_Err != nil { | ||
| 438 | return templ_7745c5c3_Err | 426 | return templ_7745c5c3_Err | ||
| 439 | } | 427 | } | ||
| 440 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "</span></label>") | 428 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "</span></label>") |
| 441 | if templ_7745c5c3_Err != nil { | 429 | if templ_7745c5c3_Err != nil { | ||
| 442 | return templ_7745c5c3_Err | 430 | return templ_7745c5c3_Err | ||
| 443 | } | 431 | } | ||
| 444 | } | 432 | } | ||
| 445 | } | 433 | } | ||
| 446 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "</div></fieldset>") | 434 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "</div></fieldset>") |
| 447 | if templ_7745c5c3_Err != nil { | 435 | if templ_7745c5c3_Err != nil { | ||
| 448 | return templ_7745c5c3_Err | 436 | return templ_7745c5c3_Err | ||
| 449 | } | 437 | } | ||
| @@ -473,7 +461,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 473 | templ_7745c5c3_Var22 = templ.NopComponent | 461 | templ_7745c5c3_Var22 = templ.NopComponent | ||
| 474 | } | 462 | } | ||
| 475 | ctx = templ.ClearChildren(ctx) | 463 | ctx = templ.ClearChildren(ctx) | ||
| 476 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "<li class=\"sv-list-row\"><article class=\"sv-favorite-item\" data-sv-favorite-row data-favorite-id=\"") | 464 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "<li class=\"sv-list-row\"><article class=\"sv-favorite-item\" data-sv-favorite-row data-favorite-id=\"") |
| 477 | if templ_7745c5c3_Err != nil { | 465 | if templ_7745c5c3_Err != nil { | ||
| 478 | return templ_7745c5c3_Err | 466 | return templ_7745c5c3_Err | ||
| 479 | } | 467 | } | ||
| @@ -486,7 +474,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 486 | if templ_7745c5c3_Err != nil { | 474 | if templ_7745c5c3_Err != nil { | ||
| 487 | return templ_7745c5c3_Err | 475 | return templ_7745c5c3_Err | ||
| 488 | } | 476 | } | ||
| 489 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\"><div class=\"sv-favorite-header\"><div><a class=\"sv-link sv-favorite-open\" href=\"") | 477 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\"><div class=\"sv-favorite-header\"><div><a class=\"sv-link sv-favorite-open\" href=\"") |
| 490 | if templ_7745c5c3_Err != nil { | 478 | if templ_7745c5c3_Err != nil { | ||
| 491 | return templ_7745c5c3_Err | 479 | return templ_7745c5c3_Err | ||
| 492 | } | 480 | } | ||
| @@ -499,7 +487,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 499 | if templ_7745c5c3_Err != nil { | 487 | if templ_7745c5c3_Err != nil { | ||
| 500 | return templ_7745c5c3_Err | 488 | return templ_7745c5c3_Err | ||
| 501 | } | 489 | } | ||
| 502 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\">") | 490 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\">") |
| 503 | if templ_7745c5c3_Err != nil { | 491 | if templ_7745c5c3_Err != nil { | ||
| 504 | return templ_7745c5c3_Err | 492 | return templ_7745c5c3_Err | ||
| 505 | } | 493 | } | ||
| @@ -512,7 +500,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 512 | if templ_7745c5c3_Err != nil { | 500 | if templ_7745c5c3_Err != nil { | ||
| 513 | return templ_7745c5c3_Err | 501 | return templ_7745c5c3_Err | ||
| 514 | } | 502 | } | ||
| 515 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "</a><p class=\"sv-history-url\">") | 503 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "</a><p class=\"sv-history-url\">") |
| 516 | if templ_7745c5c3_Err != nil { | 504 | if templ_7745c5c3_Err != nil { | ||
| 517 | return templ_7745c5c3_Err | 505 | return templ_7745c5c3_Err | ||
| 518 | } | 506 | } | ||
| @@ -525,12 +513,12 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 525 | if templ_7745c5c3_Err != nil { | 513 | if templ_7745c5c3_Err != nil { | ||
| 526 | return templ_7745c5c3_Err | 514 | return templ_7745c5c3_Err | ||
| 527 | } | 515 | } | ||
| 528 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</p>") | 516 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "</p>") |
| 529 | if templ_7745c5c3_Err != nil { | 517 | if templ_7745c5c3_Err != nil { | ||
| 530 | return templ_7745c5c3_Err | 518 | return templ_7745c5c3_Err | ||
| 531 | } | 519 | } | ||
| 532 | if favoriteMetaText(favorite) != "" { | 520 | if favoriteMetaText(favorite) != "" { | ||
| 533 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "<p class=\"sv-meta\">") | 521 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "<p class=\"sv-meta\">") |
| 534 | if templ_7745c5c3_Err != nil { | 522 | if templ_7745c5c3_Err != nil { | ||
| 535 | return templ_7745c5c3_Err | 523 | return templ_7745c5c3_Err | ||
| 536 | } | 524 | } | ||
| @@ -543,12 +531,12 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 543 | if templ_7745c5c3_Err != nil { | 531 | if templ_7745c5c3_Err != nil { | ||
| 544 | return templ_7745c5c3_Err | 532 | return templ_7745c5c3_Err | ||
| 545 | } | 533 | } | ||
| 546 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "</p>") | 534 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "</p>") |
| 547 | if templ_7745c5c3_Err != nil { | 535 | if templ_7745c5c3_Err != nil { | ||
| 548 | return templ_7745c5c3_Err | 536 | return templ_7745c5c3_Err | ||
| 549 | } | 537 | } | ||
| 550 | } | 538 | } | ||
| 551 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "</div><div class=\"sv-history-row-actions\"><a class=\"sv-button sv-button-secondary\" href=\"") | 539 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</div><div class=\"sv-history-row-actions\"><a class=\"sv-button sv-button-secondary\" href=\"") |
| 552 | if templ_7745c5c3_Err != nil { | 540 | if templ_7745c5c3_Err != nil { | ||
| 553 | return templ_7745c5c3_Err | 541 | return templ_7745c5c3_Err | ||
| 554 | } | 542 | } | ||
| @@ -561,7 +549,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 561 | if templ_7745c5c3_Err != nil { | 549 | if templ_7745c5c3_Err != nil { | ||
| 562 | return templ_7745c5c3_Err | 550 | return templ_7745c5c3_Err | ||
| 563 | } | 551 | } | ||
| 564 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "\">") | 552 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\">") |
| 565 | if templ_7745c5c3_Err != nil { | 553 | if templ_7745c5c3_Err != nil { | ||
| 566 | return templ_7745c5c3_Err | 554 | return templ_7745c5c3_Err | ||
| 567 | } | 555 | } | ||
| @@ -569,7 +557,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 569 | if templ_7745c5c3_Err != nil { | 557 | if templ_7745c5c3_Err != nil { | ||
| 570 | return templ_7745c5c3_Err | 558 | return templ_7745c5c3_Err | ||
| 571 | } | 559 | } | ||
| 572 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "</a> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"favorite.delete\" data-id=\"") | 560 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "</a> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"favorite.delete\" data-id=\"") |
| 573 | if templ_7745c5c3_Err != nil { | 561 | if templ_7745c5c3_Err != nil { | ||
| 574 | return templ_7745c5c3_Err | 562 | return templ_7745c5c3_Err | ||
| 575 | } | 563 | } | ||
| @@ -582,7 +570,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 582 | if templ_7745c5c3_Err != nil { | 570 | if templ_7745c5c3_Err != nil { | ||
| 583 | return templ_7745c5c3_Err | 571 | return templ_7745c5c3_Err | ||
| 584 | } | 572 | } | ||
| 585 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "\" data-sv-confirm=\"Delete this favorite?\" aria-label=\"Delete this favorite\">") | 573 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" data-sv-confirm=\"Delete this favorite?\" aria-label=\"Delete this favorite\">") |
| 586 | if templ_7745c5c3_Err != nil { | 574 | if templ_7745c5c3_Err != nil { | ||
| 587 | return templ_7745c5c3_Err | 575 | return templ_7745c5c3_Err | ||
| 588 | } | 576 | } | ||
| @@ -590,7 +578,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 590 | if templ_7745c5c3_Err != nil { | 578 | if templ_7745c5c3_Err != nil { | ||
| 591 | return templ_7745c5c3_Err | 579 | return templ_7745c5c3_Err | ||
| 592 | } | 580 | } | ||
| 593 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></div></div>") | 581 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "</button></div></div>") |
| 594 | if templ_7745c5c3_Err != nil { | 582 | if templ_7745c5c3_Err != nil { | ||
| 595 | return templ_7745c5c3_Err | 583 | return templ_7745c5c3_Err | ||
| 596 | } | 584 | } | ||
| @@ -602,7 +590,7 @@ func FavoriteItem(favorite *entity.Favorite, tags []*entity.Tag) templ.Component | |||||
| 602 | if templ_7745c5c3_Err != nil { | 590 | if templ_7745c5c3_Err != nil { | ||
| 603 | return templ_7745c5c3_Err | 591 | return templ_7745c5c3_Err | ||
| 604 | } | 592 | } | ||
| 605 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</article></li>") | 593 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "</article></li>") |
| 606 | if templ_7745c5c3_Err != nil { | 594 | if templ_7745c5c3_Err != nil { | ||
| 607 | return templ_7745c5c3_Err | 595 | return templ_7745c5c3_Err | ||
| 608 | } | 596 | } | ||
| @@ -631,7 +619,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 631 | templ_7745c5c3_Var30 = templ.NopComponent | 619 | templ_7745c5c3_Var30 = templ.NopComponent | ||
| 632 | } | 620 | } | ||
| 633 | ctx = templ.ClearChildren(ctx) | 621 | ctx = templ.ClearChildren(ctx) | ||
| 634 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<form class=\"sv-inline-form\" data-sv-action=\"favorite.update\"><input type=\"hidden\" name=\"id\" value=\"") | 622 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<form class=\"sv-inline-form\" data-sv-action=\"favorite.update\"><input type=\"hidden\" name=\"id\" value=\"") |
| 635 | if templ_7745c5c3_Err != nil { | 623 | if templ_7745c5c3_Err != nil { | ||
| 636 | return templ_7745c5c3_Err | 624 | return templ_7745c5c3_Err | ||
| 637 | } | 625 | } | ||
| @@ -644,7 +632,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 644 | if templ_7745c5c3_Err != nil { | 632 | if templ_7745c5c3_Err != nil { | ||
| 645 | return templ_7745c5c3_Err | 633 | return templ_7745c5c3_Err | ||
| 646 | } | 634 | } | ||
| 647 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "\"> <label><span>Title</span><input name=\"title\" type=\"text\" value=\"") | 635 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "\"> <label><span>Title</span><input name=\"title\" type=\"text\" value=\"") |
| 648 | if templ_7745c5c3_Err != nil { | 636 | if templ_7745c5c3_Err != nil { | ||
| 649 | return templ_7745c5c3_Err | 637 | return templ_7745c5c3_Err | ||
| 650 | } | 638 | } | ||
| @@ -657,7 +645,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 657 | if templ_7745c5c3_Err != nil { | 645 | if templ_7745c5c3_Err != nil { | ||
| 658 | return templ_7745c5c3_Err | 646 | return templ_7745c5c3_Err | ||
| 659 | } | 647 | } | ||
| 660 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "\"></label> <label><span>Favicon</span><input name=\"favicon_url\" type=\"url\" value=\"") | 648 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "\"></label> <label><span>Favicon</span><input name=\"favicon_url\" type=\"url\" value=\"") |
| 661 | if templ_7745c5c3_Err != nil { | 649 | if templ_7745c5c3_Err != nil { | ||
| 662 | return templ_7745c5c3_Err | 650 | return templ_7745c5c3_Err | ||
| 663 | } | 651 | } | ||
| @@ -670,7 +658,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 670 | if templ_7745c5c3_Err != nil { | 658 | if templ_7745c5c3_Err != nil { | ||
| 671 | return templ_7745c5c3_Err | 659 | return templ_7745c5c3_Err | ||
| 672 | } | 660 | } | ||
| 673 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"></label>") | 661 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "\"></label>") |
| 674 | if templ_7745c5c3_Err != nil { | 662 | if templ_7745c5c3_Err != nil { | ||
| 675 | return templ_7745c5c3_Err | 663 | return templ_7745c5c3_Err | ||
| 676 | } | 664 | } | ||
| @@ -678,7 +666,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 678 | if templ_7745c5c3_Err != nil { | 666 | if templ_7745c5c3_Err != nil { | ||
| 679 | return templ_7745c5c3_Err | 667 | return templ_7745c5c3_Err | ||
| 680 | } | 668 | } | ||
| 681 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "<button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 669 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "<button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 682 | if templ_7745c5c3_Err != nil { | 670 | if templ_7745c5c3_Err != nil { | ||
| 683 | return templ_7745c5c3_Err | 671 | return templ_7745c5c3_Err | ||
| 684 | } | 672 | } | ||
| @@ -686,7 +674,7 @@ func FavoriteEditForm(favorite *entity.Favorite) templ.Component { | |||||
| 686 | if templ_7745c5c3_Err != nil { | 674 | if templ_7745c5c3_Err != nil { | ||
| 687 | return templ_7745c5c3_Err | 675 | return templ_7745c5c3_Err | ||
| 688 | } | 676 | } | ||
| 689 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</button></form>") | 677 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "</button></form>") |
| 690 | if templ_7745c5c3_Err != nil { | 678 | if templ_7745c5c3_Err != nil { | ||
| 691 | return templ_7745c5c3_Err | 679 | return templ_7745c5c3_Err | ||
| 692 | } | 680 | } | ||
| @@ -716,7 +704,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 716 | } | 704 | } | ||
| 717 | ctx = templ.ClearChildren(ctx) | 705 | ctx = templ.ClearChildren(ctx) | ||
| 718 | if len(tags) > 0 { | 706 | if len(tags) > 0 { | ||
| 719 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "<div class=\"sv-tag-controls\"><span class=\"sv-meta\">Tags</span> ") | 707 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "<div class=\"sv-tag-controls\"><span class=\"sv-meta\">Tags</span> ") |
| 720 | if templ_7745c5c3_Err != nil { | 708 | if templ_7745c5c3_Err != nil { | ||
| 721 | return templ_7745c5c3_Err | 709 | return templ_7745c5c3_Err | ||
| 722 | } | 710 | } | ||
| @@ -727,7 +715,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 727 | if templ_7745c5c3_Err != nil { | 715 | if templ_7745c5c3_Err != nil { | ||
| 728 | return templ_7745c5c3_Err | 716 | return templ_7745c5c3_Err | ||
| 729 | } | 717 | } | ||
| 730 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "<button type=\"button\" class=\"") | 718 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "<button type=\"button\" class=\"") |
| 731 | if templ_7745c5c3_Err != nil { | 719 | if templ_7745c5c3_Err != nil { | ||
| 732 | return templ_7745c5c3_Err | 720 | return templ_7745c5c3_Err | ||
| 733 | } | 721 | } | ||
| @@ -740,7 +728,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 740 | if templ_7745c5c3_Err != nil { | 728 | if templ_7745c5c3_Err != nil { | ||
| 741 | return templ_7745c5c3_Err | 729 | return templ_7745c5c3_Err | ||
| 742 | } | 730 | } | ||
| 743 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\" data-sv-action=\"") | 731 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" data-sv-action=\"") |
| 744 | if templ_7745c5c3_Err != nil { | 732 | if templ_7745c5c3_Err != nil { | ||
| 745 | return templ_7745c5c3_Err | 733 | return templ_7745c5c3_Err | ||
| 746 | } | 734 | } | ||
| @@ -753,7 +741,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 753 | if templ_7745c5c3_Err != nil { | 741 | if templ_7745c5c3_Err != nil { | ||
| 754 | return templ_7745c5c3_Err | 742 | return templ_7745c5c3_Err | ||
| 755 | } | 743 | } | ||
| 756 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\" data-favorite-id=\"") | 744 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\" data-favorite-id=\"") |
| 757 | if templ_7745c5c3_Err != nil { | 745 | if templ_7745c5c3_Err != nil { | ||
| 758 | return templ_7745c5c3_Err | 746 | return templ_7745c5c3_Err | ||
| 759 | } | 747 | } | ||
| @@ -766,7 +754,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 766 | if templ_7745c5c3_Err != nil { | 754 | if templ_7745c5c3_Err != nil { | ||
| 767 | return templ_7745c5c3_Err | 755 | return templ_7745c5c3_Err | ||
| 768 | } | 756 | } | ||
| 769 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\" data-tag-id=\"") | 757 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "\" data-tag-id=\"") |
| 770 | if templ_7745c5c3_Err != nil { | 758 | if templ_7745c5c3_Err != nil { | ||
| 771 | return templ_7745c5c3_Err | 759 | return templ_7745c5c3_Err | ||
| 772 | } | 760 | } | ||
| @@ -779,7 +767,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 779 | if templ_7745c5c3_Err != nil { | 767 | if templ_7745c5c3_Err != nil { | ||
| 780 | return templ_7745c5c3_Err | 768 | return templ_7745c5c3_Err | ||
| 781 | } | 769 | } | ||
| 782 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "\"><span class=\"sv-tag-dot\" style=\"") | 770 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\"><span class=\"sv-tag-dot\" style=\"") |
| 783 | if templ_7745c5c3_Err != nil { | 771 | if templ_7745c5c3_Err != nil { | ||
| 784 | return templ_7745c5c3_Err | 772 | return templ_7745c5c3_Err | ||
| 785 | } | 773 | } | ||
| @@ -792,7 +780,7 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 792 | if templ_7745c5c3_Err != nil { | 780 | if templ_7745c5c3_Err != nil { | ||
| 793 | return templ_7745c5c3_Err | 781 | return templ_7745c5c3_Err | ||
| 794 | } | 782 | } | ||
| 795 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "\"></span>") | 783 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\"></span>") |
| 796 | if templ_7745c5c3_Err != nil { | 784 | if templ_7745c5c3_Err != nil { | ||
| 797 | return templ_7745c5c3_Err | 785 | return templ_7745c5c3_Err | ||
| 798 | } | 786 | } | ||
| @@ -805,13 +793,13 @@ func FavoriteTagControls(favorite *entity.Favorite, tags []*entity.Tag) templ.Co | |||||
| 805 | if templ_7745c5c3_Err != nil { | 793 | if templ_7745c5c3_Err != nil { | ||
| 806 | return templ_7745c5c3_Err | 794 | return templ_7745c5c3_Err | ||
| 807 | } | 795 | } | ||
| 808 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</button>") | 796 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</button>") |
| 809 | if templ_7745c5c3_Err != nil { | 797 | if templ_7745c5c3_Err != nil { | ||
| 810 | return templ_7745c5c3_Err | 798 | return templ_7745c5c3_Err | ||
| 811 | } | 799 | } | ||
| 812 | } | 800 | } | ||
| 813 | } | 801 | } | ||
| 814 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "</div>") | 802 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</div>") |
| 815 | if templ_7745c5c3_Err != nil { | 803 | if templ_7745c5c3_Err != nil { | ||
| 816 | return templ_7745c5c3_Err | 804 | return templ_7745c5c3_Err | ||
| 817 | } | 805 | } | ||
| @@ -841,7 +829,7 @@ func TagCreateForm() templ.Component { | |||||
| 841 | templ_7745c5c3_Var42 = templ.NopComponent | 829 | templ_7745c5c3_Var42 = templ.NopComponent | ||
| 842 | } | 830 | } | ||
| 843 | ctx = templ.ClearChildren(ctx) | 831 | ctx = templ.ClearChildren(ctx) | ||
| 844 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "<form class=\"sv-inline-form\" data-sv-action=\"tag.create\"><label><span>Name</span><input name=\"name\" type=\"text\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" placeholder=\"#808080\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 832 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<form class=\"sv-inline-form\" data-sv-action=\"tag.create\"><label><span>Name</span><input name=\"name\" type=\"text\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" placeholder=\"#808080\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 845 | if templ_7745c5c3_Err != nil { | 833 | if templ_7745c5c3_Err != nil { | ||
| 846 | return templ_7745c5c3_Err | 834 | return templ_7745c5c3_Err | ||
| 847 | } | 835 | } | ||
| @@ -849,7 +837,7 @@ func TagCreateForm() templ.Component { | |||||
| 849 | if templ_7745c5c3_Err != nil { | 837 | if templ_7745c5c3_Err != nil { | ||
| 850 | return templ_7745c5c3_Err | 838 | return templ_7745c5c3_Err | ||
| 851 | } | 839 | } | ||
| 852 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</button></form>") | 840 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</button></form>") |
| 853 | if templ_7745c5c3_Err != nil { | 841 | if templ_7745c5c3_Err != nil { | ||
| 854 | return templ_7745c5c3_Err | 842 | return templ_7745c5c3_Err | ||
| 855 | } | 843 | } | ||
| @@ -878,7 +866,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 878 | templ_7745c5c3_Var43 = templ.NopComponent | 866 | templ_7745c5c3_Var43 = templ.NopComponent | ||
| 879 | } | 867 | } | ||
| 880 | ctx = templ.ClearChildren(ctx) | 868 | ctx = templ.ClearChildren(ctx) | ||
| 881 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"tag.update\"><input type=\"hidden\" name=\"id\" value=\"") | 869 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"tag.update\"><input type=\"hidden\" name=\"id\" value=\"") |
| 882 | if templ_7745c5c3_Err != nil { | 870 | if templ_7745c5c3_Err != nil { | ||
| 883 | return templ_7745c5c3_Err | 871 | return templ_7745c5c3_Err | ||
| 884 | } | 872 | } | ||
| @@ -891,7 +879,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 891 | if templ_7745c5c3_Err != nil { | 879 | if templ_7745c5c3_Err != nil { | ||
| 892 | return templ_7745c5c3_Err | 880 | return templ_7745c5c3_Err | ||
| 893 | } | 881 | } | ||
| 894 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\"> <span class=\"sv-tag-dot\" style=\"") | 882 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\"> <span class=\"sv-tag-dot\" style=\"") |
| 895 | if templ_7745c5c3_Err != nil { | 883 | if templ_7745c5c3_Err != nil { | ||
| 896 | return templ_7745c5c3_Err | 884 | return templ_7745c5c3_Err | ||
| 897 | } | 885 | } | ||
| @@ -904,7 +892,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 904 | if templ_7745c5c3_Err != nil { | 892 | if templ_7745c5c3_Err != nil { | ||
| 905 | return templ_7745c5c3_Err | 893 | return templ_7745c5c3_Err | ||
| 906 | } | 894 | } | ||
| 907 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "\"></span> <label><span>Name</span><input name=\"name\" type=\"text\" value=\"") | 895 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "\"></span> <label><span>Name</span><input name=\"name\" type=\"text\" value=\"") |
| 908 | if templ_7745c5c3_Err != nil { | 896 | if templ_7745c5c3_Err != nil { | ||
| 909 | return templ_7745c5c3_Err | 897 | return templ_7745c5c3_Err | ||
| 910 | } | 898 | } | ||
| @@ -917,7 +905,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 917 | if templ_7745c5c3_Err != nil { | 905 | if templ_7745c5c3_Err != nil { | ||
| 918 | return templ_7745c5c3_Err | 906 | return templ_7745c5c3_Err | ||
| 919 | } | 907 | } | ||
| 920 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" value=\"") | 908 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "\" required></label> <label><span>Color</span><input name=\"color\" type=\"text\" value=\"") |
| 921 | if templ_7745c5c3_Err != nil { | 909 | if templ_7745c5c3_Err != nil { | ||
| 922 | return templ_7745c5c3_Err | 910 | return templ_7745c5c3_Err | ||
| 923 | } | 911 | } | ||
| @@ -930,7 +918,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 930 | if templ_7745c5c3_Err != nil { | 918 | if templ_7745c5c3_Err != nil { | ||
| 931 | return templ_7745c5c3_Err | 919 | return templ_7745c5c3_Err | ||
| 932 | } | 920 | } | ||
| 933 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 921 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 934 | if templ_7745c5c3_Err != nil { | 922 | if templ_7745c5c3_Err != nil { | ||
| 935 | return templ_7745c5c3_Err | 923 | return templ_7745c5c3_Err | ||
| 936 | } | 924 | } | ||
| @@ -938,7 +926,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 938 | if templ_7745c5c3_Err != nil { | 926 | if templ_7745c5c3_Err != nil { | ||
| 939 | return templ_7745c5c3_Err | 927 | return templ_7745c5c3_Err | ||
| 940 | } | 928 | } | ||
| 941 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "</button> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"tag.delete\" data-id=\"") | 929 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "</button> <button type=\"button\" class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" data-sv-action=\"tag.delete\" data-id=\"") |
| 942 | if templ_7745c5c3_Err != nil { | 930 | if templ_7745c5c3_Err != nil { | ||
| 943 | return templ_7745c5c3_Err | 931 | return templ_7745c5c3_Err | ||
| 944 | } | 932 | } | ||
| @@ -951,7 +939,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 951 | if templ_7745c5c3_Err != nil { | 939 | if templ_7745c5c3_Err != nil { | ||
| 952 | return templ_7745c5c3_Err | 940 | return templ_7745c5c3_Err | ||
| 953 | } | 941 | } | ||
| 954 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\" data-sv-confirm=\"Delete this tag?\" aria-label=\"Delete this tag\">") | 942 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" data-sv-confirm=\"Delete this tag?\" aria-label=\"Delete this tag\">") |
| 955 | if templ_7745c5c3_Err != nil { | 943 | if templ_7745c5c3_Err != nil { | ||
| 956 | return templ_7745c5c3_Err | 944 | return templ_7745c5c3_Err | ||
| 957 | } | 945 | } | ||
| @@ -959,7 +947,7 @@ func TagItem(tag *entity.Tag) templ.Component { | |||||
| 959 | if templ_7745c5c3_Err != nil { | 947 | if templ_7745c5c3_Err != nil { | ||
| 960 | return templ_7745c5c3_Err | 948 | return templ_7745c5c3_Err | ||
| 961 | } | 949 | } | ||
| 962 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</button></form></li>") | 950 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "</button></form></li>") |
| 963 | if templ_7745c5c3_Err != nil { | 951 | if templ_7745c5c3_Err != nil { | ||
| 964 | return templ_7745c5c3_Err | 952 | return templ_7745c5c3_Err | ||
| 965 | } | 953 | } | ||
| @@ -988,12 +976,12 @@ func ShortcutSelect(selected *int) templ.Component { | |||||
| 988 | templ_7745c5c3_Var49 = templ.NopComponent | 976 | templ_7745c5c3_Var49 = templ.NopComponent | ||
| 989 | } | 977 | } | ||
| 990 | ctx = templ.ClearChildren(ctx) | 978 | ctx = templ.ClearChildren(ctx) | ||
| 991 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<label><span>Shortcut</span><select name=\"shortcut_key\"><option value=\"\">None</option> ") | 979 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "<label><span>Shortcut</span><select name=\"shortcut_key\"><option value=\"\">None</option> ") |
| 992 | if templ_7745c5c3_Err != nil { | 980 | if templ_7745c5c3_Err != nil { | ||
| 993 | return templ_7745c5c3_Err | 981 | return templ_7745c5c3_Err | ||
| 994 | } | 982 | } | ||
| 995 | for i := 1; i <= 9; i++ { | 983 | for i := 1; i <= 9; i++ { | ||
| 996 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<option value=\"") | 984 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "<option value=\"") |
| 997 | if templ_7745c5c3_Err != nil { | 985 | if templ_7745c5c3_Err != nil { | ||
| 998 | return templ_7745c5c3_Err | 986 | return templ_7745c5c3_Err | ||
| 999 | } | 987 | } | ||
| @@ -1006,17 +994,17 @@ func ShortcutSelect(selected *int) templ.Component { | |||||
| 1006 | if templ_7745c5c3_Err != nil { | 994 | if templ_7745c5c3_Err != nil { | ||
| 1007 | return templ_7745c5c3_Err | 995 | return templ_7745c5c3_Err | ||
| 1008 | } | 996 | } | ||
| 1009 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "\"") | 997 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "\"") |
| 1010 | if templ_7745c5c3_Err != nil { | 998 | if templ_7745c5c3_Err != nil { | ||
| 1011 | return templ_7745c5c3_Err | 999 | return templ_7745c5c3_Err | ||
| 1012 | } | 1000 | } | ||
| 1013 | if shortcutSelected(selected, i) { | 1001 | if shortcutSelected(selected, i) { | ||
| 1014 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, " selected") | 1002 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " selected") |
| 1015 | if templ_7745c5c3_Err != nil { | 1003 | if templ_7745c5c3_Err != nil { | ||
| 1016 | return templ_7745c5c3_Err | 1004 | return templ_7745c5c3_Err | ||
| 1017 | } | 1005 | } | ||
| 1018 | } | 1006 | } | ||
| 1019 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, ">") | 1007 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, ">") |
| 1020 | if templ_7745c5c3_Err != nil { | 1008 | if templ_7745c5c3_Err != nil { | ||
| 1021 | return templ_7745c5c3_Err | 1009 | return templ_7745c5c3_Err | ||
| 1022 | } | 1010 | } | ||
| @@ -1029,12 +1017,12 @@ func ShortcutSelect(selected *int) templ.Component { | |||||
| 1029 | if templ_7745c5c3_Err != nil { | 1017 | if templ_7745c5c3_Err != nil { | ||
| 1030 | return templ_7745c5c3_Err | 1018 | return templ_7745c5c3_Err | ||
| 1031 | } | 1019 | } | ||
| 1032 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</option>") | 1020 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "</option>") |
| 1033 | if templ_7745c5c3_Err != nil { | 1021 | if templ_7745c5c3_Err != nil { | ||
| 1034 | return templ_7745c5c3_Err | 1022 | return templ_7745c5c3_Err | ||
| 1035 | } | 1023 | } | ||
| 1036 | } | 1024 | } | ||
| 1037 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "</select></label>") | 1025 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "</select></label>") |
| 1038 | if templ_7745c5c3_Err != nil { | 1026 | if templ_7745c5c3_Err != nil { | ||
| 1039 | return templ_7745c5c3_Err | 1027 | return templ_7745c5c3_Err | ||
| 1040 | } | 1028 | } | ||