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
| @@ -123,10 +123,6 @@ func ConfigView(data configRenderData) templ.Component { | |||
| 123 | 123 | if templ_7745c5c3_Err != nil { | |
| 124 | 124 | return templ_7745c5c3_Err | |
| 125 | 125 | } | |
| 126 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " ") | |
| 127 | - | if templ_7745c5c3_Err != nil { | |
| 128 | - | return templ_7745c5c3_Err | |
| 129 | - | } | |
| 130 | 126 | templ_7745c5c3_Err = ConfigKeybindings(data.Keybindings).Render(ctx, templ_7745c5c3_Buffer) | |
| 131 | 127 | if templ_7745c5c3_Err != nil { | |
| 132 | 128 | return templ_7745c5c3_Err | |
| @@ -184,7 +180,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 184 | 180 | templ_7745c5c3_Var7 = templ.NopComponent | |
| 185 | 181 | } | |
| 186 | 182 | ctx = templ.ClearChildren(ctx) | |
| 187 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.appearance.save\"><label><span>Sans font</span><input name=\"sans_font\" type=\"text\" value=\"") | |
| 183 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.appearance.save\"><label><span>Sans font</span><input name=\"sans_font\" type=\"text\" value=\"") | |
| 188 | 184 | if templ_7745c5c3_Err != nil { | |
| 189 | 185 | return templ_7745c5c3_Err | |
| 190 | 186 | } | |
| @@ -197,7 +193,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 197 | 193 | if templ_7745c5c3_Err != nil { | |
| 198 | 194 | return templ_7745c5c3_Err | |
| 199 | 195 | } | |
| 200 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" required></label> <label><span>Serif font</span><input name=\"serif_font\" type=\"text\" value=\"") | |
| 196 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "\" required></label> <label><span>Serif font</span><input name=\"serif_font\" type=\"text\" value=\"") | |
| 201 | 197 | if templ_7745c5c3_Err != nil { | |
| 202 | 198 | return templ_7745c5c3_Err | |
| 203 | 199 | } | |
| @@ -210,7 +206,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 210 | 206 | if templ_7745c5c3_Err != nil { | |
| 211 | 207 | return templ_7745c5c3_Err | |
| 212 | 208 | } | |
| 213 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\" required></label> <label><span>Monospace font</span><input name=\"monospace_font\" type=\"text\" value=\"") | |
| 209 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" required></label> <label><span>Monospace font</span><input name=\"monospace_font\" type=\"text\" value=\"") | |
| 214 | 210 | if templ_7745c5c3_Err != nil { | |
| 215 | 211 | return templ_7745c5c3_Err | |
| 216 | 212 | } | |
| @@ -223,7 +219,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 223 | 219 | if templ_7745c5c3_Err != nil { | |
| 224 | 220 | return templ_7745c5c3_Err | |
| 225 | 221 | } | |
| 226 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "\" required></label> <label><span>GTK UI font</span><input name=\"gtk_font\" type=\"text\" value=\"") | |
| 222 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\" required></label> <label><span>GTK UI font</span><input name=\"gtk_font\" type=\"text\" value=\"") | |
| 227 | 223 | if templ_7745c5c3_Err != nil { | |
| 228 | 224 | return templ_7745c5c3_Err | |
| 229 | 225 | } | |
| @@ -236,7 +232,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 236 | 232 | if templ_7745c5c3_Err != nil { | |
| 237 | 233 | return templ_7745c5c3_Err | |
| 238 | 234 | } | |
| 239 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "\" required></label> <label><span>Default font size</span><input name=\"default_font_size\" type=\"number\" min=\"1\" max=\"72\" value=\"") | |
| 235 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "\" required></label> <label><span>Default font size</span><input name=\"default_font_size\" type=\"number\" min=\"1\" max=\"72\" value=\"") | |
| 240 | 236 | if templ_7745c5c3_Err != nil { | |
| 241 | 237 | return templ_7745c5c3_Err | |
| 242 | 238 | } | |
| @@ -249,7 +245,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 249 | 245 | if templ_7745c5c3_Err != nil { | |
| 250 | 246 | return templ_7745c5c3_Err | |
| 251 | 247 | } | |
| 252 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\" required></label> <label><span>UI scale</span><input name=\"default_ui_scale\" type=\"number\" min=\"0.5\" max=\"3\" step=\"0.05\" value=\"") | |
| 248 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "\" required></label> <label><span>UI scale</span><input name=\"default_ui_scale\" type=\"number\" min=\"0.5\" max=\"3\" step=\"0.05\" value=\"") | |
| 253 | 249 | if templ_7745c5c3_Err != nil { | |
| 254 | 250 | return templ_7745c5c3_Err | |
| 255 | 251 | } | |
| @@ -262,47 +258,47 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 262 | 258 | if templ_7745c5c3_Err != nil { | |
| 263 | 259 | return templ_7745c5c3_Err | |
| 264 | 260 | } | |
| 265 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "\" required></label> <label><span>Color scheme</span><select name=\"color_scheme\"><option value=\"default\"") | |
| 261 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\" required></label> <label><span>Color scheme</span><select name=\"color_scheme\"><option value=\"default\"") | |
| 266 | 262 | if templ_7745c5c3_Err != nil { | |
| 267 | 263 | return templ_7745c5c3_Err | |
| 268 | 264 | } | |
| 269 | 265 | if colorSchemeSelected(config.Appearance.ColorScheme, "default") { | |
| 270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, " selected") | |
| 266 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, " selected") | |
| 271 | 267 | if templ_7745c5c3_Err != nil { | |
| 272 | 268 | return templ_7745c5c3_Err | |
| 273 | 269 | } | |
| 274 | 270 | } | |
| 275 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, ">System default</option> <option value=\"prefer-light\"") | |
| 271 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, ">System default</option> <option value=\"prefer-light\"") | |
| 276 | 272 | if templ_7745c5c3_Err != nil { | |
| 277 | 273 | return templ_7745c5c3_Err | |
| 278 | 274 | } | |
| 279 | 275 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-light") { | |
| 280 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, " selected") | |
| 276 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " selected") | |
| 281 | 277 | if templ_7745c5c3_Err != nil { | |
| 282 | 278 | return templ_7745c5c3_Err | |
| 283 | 279 | } | |
| 284 | 280 | } | |
| 285 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, ">Prefer light</option> <option value=\"prefer-dark\"") | |
| 281 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, ">Prefer light</option> <option value=\"prefer-dark\"") | |
| 286 | 282 | if templ_7745c5c3_Err != nil { | |
| 287 | 283 | return templ_7745c5c3_Err | |
| 288 | 284 | } | |
| 289 | 285 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-dark") { | |
| 290 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, " selected") | |
| 286 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " selected") | |
| 291 | 287 | if templ_7745c5c3_Err != nil { | |
| 292 | 288 | return templ_7745c5c3_Err | |
| 293 | 289 | } | |
| 294 | 290 | } | |
| 295 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, ">Prefer dark</option></select></label><fieldset class=\"sv-fieldset\"><legend>External theme</legend><p class=\"sv-meta\">Provider noctalia supports colors-json (default Noctalia colors.json) and dumber-json (advanced user template).</p><label><span>Enable external theme</span><input name=\"external_theme_enabled\" type=\"checkbox\"") | |
| 291 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, ">Prefer dark</option></select></label><fieldset class=\"sv-fieldset\"><legend>External theme</legend><p class=\"sv-meta\">Provider noctalia supports colors-json (default Noctalia colors.json) and dumber-json (advanced user template).</p><label><span>Enable external theme</span><input name=\"external_theme_enabled\" type=\"checkbox\"") | |
| 296 | 292 | if templ_7745c5c3_Err != nil { | |
| 297 | 293 | return templ_7745c5c3_Err | |
| 298 | 294 | } | |
| 299 | 295 | if config.Appearance.ExternalTheme.Enabled { | |
| 300 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, " checked") | |
| 296 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, " checked") | |
| 301 | 297 | if templ_7745c5c3_Err != nil { | |
| 302 | 298 | return templ_7745c5c3_Err | |
| 303 | 299 | } | |
| 304 | 300 | } | |
| 305 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "></label> <label><span>Provider</span><input name=\"external_theme_provider\" type=\"text\" value=\"") | |
| 301 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "></label> <label><span>Provider</span><input name=\"external_theme_provider\" type=\"text\" value=\"") | |
| 306 | 302 | if templ_7745c5c3_Err != nil { | |
| 307 | 303 | return templ_7745c5c3_Err | |
| 308 | 304 | } | |
| @@ -315,7 +311,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 315 | 311 | if templ_7745c5c3_Err != nil { | |
| 316 | 312 | return templ_7745c5c3_Err | |
| 317 | 313 | } | |
| 318 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\" placeholder=\"noctalia\"></label> <label><span>Format</span><input name=\"external_theme_format\" type=\"text\" value=\"") | |
| 314 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" placeholder=\"noctalia\"></label> <label><span>Format</span><input name=\"external_theme_format\" type=\"text\" value=\"") | |
| 319 | 315 | if templ_7745c5c3_Err != nil { | |
| 320 | 316 | return templ_7745c5c3_Err | |
| 321 | 317 | } | |
| @@ -328,7 +324,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 328 | 324 | if templ_7745c5c3_Err != nil { | |
| 329 | 325 | return templ_7745c5c3_Err | |
| 330 | 326 | } | |
| 331 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" placeholder=\"colors-json\"></label> <label><span>Path</span><input name=\"external_theme_path\" type=\"text\" value=\"") | |
| 327 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\" placeholder=\"colors-json\"></label> <label><span>Path</span><input name=\"external_theme_path\" type=\"text\" value=\"") | |
| 332 | 328 | if templ_7745c5c3_Err != nil { | |
| 333 | 329 | return templ_7745c5c3_Err | |
| 334 | 330 | } | |
| @@ -341,7 +337,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 341 | 337 | if templ_7745c5c3_Err != nil { | |
| 342 | 338 | return templ_7745c5c3_Err | |
| 343 | 339 | } | |
| 344 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "\" placeholder=\"~/.config/noctalia/colors.json\"></label></fieldset>") | |
| 340 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" placeholder=\"~/.config/noctalia/colors.json\"></label></fieldset>") | |
| 345 | 341 | if templ_7745c5c3_Err != nil { | |
| 346 | 342 | return templ_7745c5c3_Err | |
| 347 | 343 | } | |
| @@ -353,7 +349,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 353 | 349 | if templ_7745c5c3_Err != nil { | |
| 354 | 350 | return templ_7745c5c3_Err | |
| 355 | 351 | } | |
| 356 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "<div class=\"sv-button-row sv-form-actions\"><button class=\"sv-button\" type=\"submit\">") | |
| 352 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "<div class=\"sv-button-row sv-form-actions\"><button class=\"sv-button\" type=\"submit\">") | |
| 357 | 353 | if templ_7745c5c3_Err != nil { | |
| 358 | 354 | return templ_7745c5c3_Err | |
| 359 | 355 | } | |
| @@ -361,7 +357,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 361 | 357 | if templ_7745c5c3_Err != nil { | |
| 362 | 358 | return templ_7745c5c3_Err | |
| 363 | 359 | } | |
| 364 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.appearance.reset\" data-sv-confirm=\"Reset appearance settings to defaults?\">") | |
| 360 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.appearance.reset\" data-sv-confirm=\"Reset appearance settings to defaults?\">") | |
| 365 | 361 | if templ_7745c5c3_Err != nil { | |
| 366 | 362 | return templ_7745c5c3_Err | |
| 367 | 363 | } | |
| @@ -369,7 +365,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||
| 369 | 365 | if templ_7745c5c3_Err != nil { | |
| 370 | 366 | return templ_7745c5c3_Err | |
| 371 | 367 | } | |
| 372 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "</button></div></form>") | |
| 368 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "</button></div></form>") | |
| 373 | 369 | if templ_7745c5c3_Err != nil { | |
| 374 | 370 | return templ_7745c5c3_Err | |
| 375 | 371 | } | |
| @@ -398,7 +394,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 398 | 394 | templ_7745c5c3_Var17 = templ.NopComponent | |
| 399 | 395 | } | |
| 400 | 396 | ctx = templ.ClearChildren(ctx) | |
| 401 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "<fieldset class=\"sv-fieldset\"><legend>") | |
| 397 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<fieldset class=\"sv-fieldset\"><legend>") | |
| 402 | 398 | if templ_7745c5c3_Err != nil { | |
| 403 | 399 | return templ_7745c5c3_Err | |
| 404 | 400 | } | |
| @@ -411,7 +407,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 411 | 407 | if templ_7745c5c3_Err != nil { | |
| 412 | 408 | return templ_7745c5c3_Err | |
| 413 | 409 | } | |
| 414 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "</legend> <label><span>Background</span><input name=\"") | |
| 410 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "</legend> <label><span>Background</span><input name=\"") | |
| 415 | 411 | if templ_7745c5c3_Err != nil { | |
| 416 | 412 | return templ_7745c5c3_Err | |
| 417 | 413 | } | |
| @@ -424,7 +420,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 424 | 420 | if templ_7745c5c3_Err != nil { | |
| 425 | 421 | return templ_7745c5c3_Err | |
| 426 | 422 | } | |
| 427 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "\" type=\"text\" value=\"") | |
| 423 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\" type=\"text\" value=\"") | |
| 428 | 424 | if templ_7745c5c3_Err != nil { | |
| 429 | 425 | return templ_7745c5c3_Err | |
| 430 | 426 | } | |
| @@ -437,7 +433,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 437 | 433 | if templ_7745c5c3_Err != nil { | |
| 438 | 434 | return templ_7745c5c3_Err | |
| 439 | 435 | } | |
| 440 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\" required></label> <label><span>Surface</span><input name=\"") | |
| 436 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "\" required></label> <label><span>Surface</span><input name=\"") | |
| 441 | 437 | if templ_7745c5c3_Err != nil { | |
| 442 | 438 | return templ_7745c5c3_Err | |
| 443 | 439 | } | |
| @@ -450,7 +446,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 450 | 446 | if templ_7745c5c3_Err != nil { | |
| 451 | 447 | return templ_7745c5c3_Err | |
| 452 | 448 | } | |
| 453 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" type=\"text\" value=\"") | |
| 449 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\" type=\"text\" value=\"") | |
| 454 | 450 | if templ_7745c5c3_Err != nil { | |
| 455 | 451 | return templ_7745c5c3_Err | |
| 456 | 452 | } | |
| @@ -463,7 +459,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 463 | 459 | if templ_7745c5c3_Err != nil { | |
| 464 | 460 | return templ_7745c5c3_Err | |
| 465 | 461 | } | |
| 466 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\" required></label> <label><span>Surface variant</span><input name=\"") | |
| 462 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" required></label> <label><span>Surface variant</span><input name=\"") | |
| 467 | 463 | if templ_7745c5c3_Err != nil { | |
| 468 | 464 | return templ_7745c5c3_Err | |
| 469 | 465 | } | |
| @@ -476,7 +472,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 476 | 472 | if templ_7745c5c3_Err != nil { | |
| 477 | 473 | return templ_7745c5c3_Err | |
| 478 | 474 | } | |
| 479 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\" type=\"text\" value=\"") | |
| 475 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\" type=\"text\" value=\"") | |
| 480 | 476 | if templ_7745c5c3_Err != nil { | |
| 481 | 477 | return templ_7745c5c3_Err | |
| 482 | 478 | } | |
| @@ -489,7 +485,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 489 | 485 | if templ_7745c5c3_Err != nil { | |
| 490 | 486 | return templ_7745c5c3_Err | |
| 491 | 487 | } | |
| 492 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "\" required></label> <label><span>Text</span><input name=\"") | |
| 488 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\" required></label> <label><span>Text</span><input name=\"") | |
| 493 | 489 | if templ_7745c5c3_Err != nil { | |
| 494 | 490 | return templ_7745c5c3_Err | |
| 495 | 491 | } | |
| @@ -502,7 +498,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 502 | 498 | if templ_7745c5c3_Err != nil { | |
| 503 | 499 | return templ_7745c5c3_Err | |
| 504 | 500 | } | |
| 505 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\" type=\"text\" value=\"") | |
| 501 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "\" type=\"text\" value=\"") | |
| 506 | 502 | if templ_7745c5c3_Err != nil { | |
| 507 | 503 | return templ_7745c5c3_Err | |
| 508 | 504 | } | |
| @@ -515,7 +511,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 515 | 511 | if templ_7745c5c3_Err != nil { | |
| 516 | 512 | return templ_7745c5c3_Err | |
| 517 | 513 | } | |
| 518 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\" required></label> <label><span>Muted</span><input name=\"") | |
| 514 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\" required></label> <label><span>Muted</span><input name=\"") | |
| 519 | 515 | if templ_7745c5c3_Err != nil { | |
| 520 | 516 | return templ_7745c5c3_Err | |
| 521 | 517 | } | |
| @@ -528,7 +524,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 528 | 524 | if templ_7745c5c3_Err != nil { | |
| 529 | 525 | return templ_7745c5c3_Err | |
| 530 | 526 | } | |
| 531 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\" type=\"text\" value=\"") | |
| 527 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\" type=\"text\" value=\"") | |
| 532 | 528 | if templ_7745c5c3_Err != nil { | |
| 533 | 529 | return templ_7745c5c3_Err | |
| 534 | 530 | } | |
| @@ -541,7 +537,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 541 | 537 | if templ_7745c5c3_Err != nil { | |
| 542 | 538 | return templ_7745c5c3_Err | |
| 543 | 539 | } | |
| 544 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "\" required></label> <label><span>Accent</span><input name=\"") | |
| 540 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\" required></label> <label><span>Accent</span><input name=\"") | |
| 545 | 541 | if templ_7745c5c3_Err != nil { | |
| 546 | 542 | return templ_7745c5c3_Err | |
| 547 | 543 | } | |
| @@ -554,7 +550,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 554 | 550 | if templ_7745c5c3_Err != nil { | |
| 555 | 551 | return templ_7745c5c3_Err | |
| 556 | 552 | } | |
| 557 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\" type=\"text\" value=\"") | |
| 553 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "\" type=\"text\" value=\"") | |
| 558 | 554 | if templ_7745c5c3_Err != nil { | |
| 559 | 555 | return templ_7745c5c3_Err | |
| 560 | 556 | } | |
| @@ -567,7 +563,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 567 | 563 | if templ_7745c5c3_Err != nil { | |
| 568 | 564 | return templ_7745c5c3_Err | |
| 569 | 565 | } | |
| 570 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "\" required></label> <label><span>Border</span><input name=\"") | |
| 566 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\" required></label> <label><span>Border</span><input name=\"") | |
| 571 | 567 | if templ_7745c5c3_Err != nil { | |
| 572 | 568 | return templ_7745c5c3_Err | |
| 573 | 569 | } | |
| @@ -580,7 +576,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 580 | 576 | if templ_7745c5c3_Err != nil { | |
| 581 | 577 | return templ_7745c5c3_Err | |
| 582 | 578 | } | |
| 583 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" type=\"text\" value=\"") | |
| 579 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "\" type=\"text\" value=\"") | |
| 584 | 580 | if templ_7745c5c3_Err != nil { | |
| 585 | 581 | return templ_7745c5c3_Err | |
| 586 | 582 | } | |
| @@ -593,7 +589,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||
| 593 | 589 | if templ_7745c5c3_Err != nil { | |
| 594 | 590 | return templ_7745c5c3_Err | |
| 595 | 591 | } | |
| 596 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "\" required></label></fieldset>") | |
| 592 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" required></label></fieldset>") | |
| 597 | 593 | if templ_7745c5c3_Err != nil { | |
| 598 | 594 | return templ_7745c5c3_Err | |
| 599 | 595 | } | |
| @@ -622,7 +618,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 622 | 618 | templ_7745c5c3_Var33 = templ.NopComponent | |
| 623 | 619 | } | |
| 624 | 620 | ctx = templ.ClearChildren(ctx) | |
| 625 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "<form class=\"sv-card-form\" data-sv-action=\"config.search.save\"><label><span>Default search engine</span><input name=\"default_search_engine\" type=\"text\" value=\"") | |
| 621 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<form class=\"sv-card-form\" data-sv-action=\"config.search.save\"><label><span>Default search engine</span><input name=\"default_search_engine\" type=\"text\" value=\"") | |
| 626 | 622 | if templ_7745c5c3_Err != nil { | |
| 627 | 623 | return templ_7745c5c3_Err | |
| 628 | 624 | } | |
| @@ -635,7 +631,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 635 | 631 | if templ_7745c5c3_Err != nil { | |
| 636 | 632 | return templ_7745c5c3_Err | |
| 637 | 633 | } | |
| 638 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "\" placeholder=\"https://duckduckgo.com/?q=%s\" required></label> <button class=\"sv-button\" type=\"submit\">") | |
| 634 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "\" placeholder=\"https://duckduckgo.com/?q=%s\" required></label> <button class=\"sv-button\" type=\"submit\">") | |
| 639 | 635 | if templ_7745c5c3_Err != nil { | |
| 640 | 636 | return templ_7745c5c3_Err | |
| 641 | 637 | } | |
| @@ -643,7 +639,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 643 | 639 | if templ_7745c5c3_Err != nil { | |
| 644 | 640 | return templ_7745c5c3_Err | |
| 645 | 641 | } | |
| 646 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></form><div class=\"sv-group\"><div class=\"sv-group-header\"><h4>Search shortcuts</h4></div><p class=\"sv-meta\">Shortcut URLs must include the %s placeholder for the search query.</p><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.create\"><label><span>Key</span><input name=\"key\" type=\"text\" placeholder=\"ddg\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" placeholder=\"https://duckduckgo.com/?q=%s\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" placeholder=\"DuckDuckGo\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 642 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "</button></form><div class=\"sv-group\"><div class=\"sv-group-header\"><h4>Search shortcuts</h4></div><p class=\"sv-meta\">Shortcut URLs must include the %s placeholder for the search query.</p><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.create\"><label><span>Key</span><input name=\"key\" type=\"text\" placeholder=\"ddg\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" placeholder=\"https://duckduckgo.com/?q=%s\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" placeholder=\"DuckDuckGo\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 647 | 643 | if templ_7745c5c3_Err != nil { | |
| 648 | 644 | return templ_7745c5c3_Err | |
| 649 | 645 | } | |
| @@ -651,7 +647,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 651 | 647 | if templ_7745c5c3_Err != nil { | |
| 652 | 648 | return templ_7745c5c3_Err | |
| 653 | 649 | } | |
| 654 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</button></form>") | |
| 650 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></form>") | |
| 655 | 651 | if templ_7745c5c3_Err != nil { | |
| 656 | 652 | return templ_7745c5c3_Err | |
| 657 | 653 | } | |
| @@ -662,7 +658,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 662 | 658 | return templ_7745c5c3_Err | |
| 663 | 659 | } | |
| 664 | 660 | } else { | |
| 665 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<ul class=\"sv-list\">") | |
| 661 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "<ul class=\"sv-list\">") | |
| 666 | 662 | if templ_7745c5c3_Err != nil { | |
| 667 | 663 | return templ_7745c5c3_Err | |
| 668 | 664 | } | |
| @@ -672,12 +668,12 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 672 | 668 | return templ_7745c5c3_Err | |
| 673 | 669 | } | |
| 674 | 670 | } | |
| 675 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</ul>") | |
| 671 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "</ul>") | |
| 676 | 672 | if templ_7745c5c3_Err != nil { | |
| 677 | 673 | return templ_7745c5c3_Err | |
| 678 | 674 | } | |
| 679 | 675 | } | |
| 680 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "</div>") | |
| 676 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</div>") | |
| 681 | 677 | if templ_7745c5c3_Err != nil { | |
| 682 | 678 | return templ_7745c5c3_Err | |
| 683 | 679 | } | |
| @@ -706,7 +702,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 706 | 702 | templ_7745c5c3_Var35 = templ.NopComponent | |
| 707 | 703 | } | |
| 708 | 704 | ctx = templ.ClearChildren(ctx) | |
| 709 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.update\"><input type=\"hidden\" name=\"key\" value=\"") | |
| 705 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.update\"><input type=\"hidden\" name=\"key\" value=\"") | |
| 710 | 706 | if templ_7745c5c3_Err != nil { | |
| 711 | 707 | return templ_7745c5c3_Err | |
| 712 | 708 | } | |
| @@ -719,7 +715,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 719 | 715 | if templ_7745c5c3_Err != nil { | |
| 720 | 716 | return templ_7745c5c3_Err | |
| 721 | 717 | } | |
| 722 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "\"> <label><span>Key</span><input name=\"new_key\" type=\"text\" value=\"") | |
| 718 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"> <label><span>Key</span><input name=\"new_key\" type=\"text\" value=\"") | |
| 723 | 719 | if templ_7745c5c3_Err != nil { | |
| 724 | 720 | return templ_7745c5c3_Err | |
| 725 | 721 | } | |
| @@ -732,7 +728,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 732 | 728 | if templ_7745c5c3_Err != nil { | |
| 733 | 729 | return templ_7745c5c3_Err | |
| 734 | 730 | } | |
| 735 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" value=\"") | |
| 731 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" value=\"") | |
| 736 | 732 | if templ_7745c5c3_Err != nil { | |
| 737 | 733 | return templ_7745c5c3_Err | |
| 738 | 734 | } | |
| @@ -745,7 +741,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 745 | 741 | if templ_7745c5c3_Err != nil { | |
| 746 | 742 | return templ_7745c5c3_Err | |
| 747 | 743 | } | |
| 748 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" value=\"") | |
| 744 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" value=\"") | |
| 749 | 745 | if templ_7745c5c3_Err != nil { | |
| 750 | 746 | return templ_7745c5c3_Err | |
| 751 | 747 | } | |
| @@ -758,7 +754,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 758 | 754 | if templ_7745c5c3_Err != nil { | |
| 759 | 755 | return templ_7745c5c3_Err | |
| 760 | 756 | } | |
| 761 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 757 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 762 | 758 | if templ_7745c5c3_Err != nil { | |
| 763 | 759 | return templ_7745c5c3_Err | |
| 764 | 760 | } | |
| @@ -766,7 +762,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 766 | 762 | if templ_7745c5c3_Err != nil { | |
| 767 | 763 | return templ_7745c5c3_Err | |
| 768 | 764 | } | |
| 769 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "</button> <button class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" type=\"button\" data-sv-action=\"config.searchShortcut.delete\" data-key=\"") | |
| 765 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</button> <button class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" type=\"button\" data-sv-action=\"config.searchShortcut.delete\" data-key=\"") | |
| 770 | 766 | if templ_7745c5c3_Err != nil { | |
| 771 | 767 | return templ_7745c5c3_Err | |
| 772 | 768 | } | |
| @@ -779,7 +775,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 779 | 775 | if templ_7745c5c3_Err != nil { | |
| 780 | 776 | return templ_7745c5c3_Err | |
| 781 | 777 | } | |
| 782 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\" data-sv-confirm=\"Delete this search shortcut?\" aria-label=\"") | |
| 778 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\" data-sv-confirm=\"Delete this search shortcut?\" aria-label=\"") | |
| 783 | 779 | if templ_7745c5c3_Err != nil { | |
| 784 | 780 | return templ_7745c5c3_Err | |
| 785 | 781 | } | |
| @@ -792,7 +788,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 792 | 788 | if templ_7745c5c3_Err != nil { | |
| 793 | 789 | return templ_7745c5c3_Err | |
| 794 | 790 | } | |
| 795 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\">") | |
| 791 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\">") | |
| 796 | 792 | if templ_7745c5c3_Err != nil { | |
| 797 | 793 | return templ_7745c5c3_Err | |
| 798 | 794 | } | |
| @@ -800,7 +796,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||
| 800 | 796 | if templ_7745c5c3_Err != nil { | |
| 801 | 797 | return templ_7745c5c3_Err | |
| 802 | 798 | } | |
| 803 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</button></form></li>") | |
| 799 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</button></form></li>") | |
| 804 | 800 | if templ_7745c5c3_Err != nil { | |
| 805 | 801 | return templ_7745c5c3_Err | |
| 806 | 802 | } | |
| @@ -830,57 +826,57 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 830 | 826 | } | |
| 831 | 827 | ctx = templ.ClearChildren(ctx) | |
| 832 | 828 | customProfile := performanceProfileSelected(config.Performance.Profile, "custom") | |
| 833 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.performance.save\" data-sv-performance-form><label><span>Profile</span><select name=\"profile\" data-sv-performance-profile><option value=\"default\"") | |
| 829 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.performance.save\" data-sv-performance-form><label><span>Profile</span><select name=\"profile\" data-sv-performance-profile><option value=\"default\"") | |
| 834 | 830 | if templ_7745c5c3_Err != nil { | |
| 835 | 831 | return templ_7745c5c3_Err | |
| 836 | 832 | } | |
| 837 | 833 | if performanceProfileSelected(config.Performance.Profile, "default") { | |
| 838 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, " selected") | |
| 834 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, " selected") | |
| 839 | 835 | if templ_7745c5c3_Err != nil { | |
| 840 | 836 | return templ_7745c5c3_Err | |
| 841 | 837 | } | |
| 842 | 838 | } | |
| 843 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, ">Default</option> <option value=\"balanced\"") | |
| 839 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, ">Default</option> <option value=\"balanced\"") | |
| 844 | 840 | if templ_7745c5c3_Err != nil { | |
| 845 | 841 | return templ_7745c5c3_Err | |
| 846 | 842 | } | |
| 847 | 843 | if performanceProfileSelected(config.Performance.Profile, "balanced") { | |
| 848 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, " selected") | |
| 844 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, " selected") | |
| 849 | 845 | if templ_7745c5c3_Err != nil { | |
| 850 | 846 | return templ_7745c5c3_Err | |
| 851 | 847 | } | |
| 852 | 848 | } | |
| 853 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, ">Balanced</option> <option value=\"lite\"") | |
| 849 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, ">Balanced</option> <option value=\"lite\"") | |
| 854 | 850 | if templ_7745c5c3_Err != nil { | |
| 855 | 851 | return templ_7745c5c3_Err | |
| 856 | 852 | } | |
| 857 | 853 | if performanceProfileSelected(config.Performance.Profile, "lite") { | |
| 858 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, " selected") | |
| 854 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, " selected") | |
| 859 | 855 | if templ_7745c5c3_Err != nil { | |
| 860 | 856 | return templ_7745c5c3_Err | |
| 861 | 857 | } | |
| 862 | 858 | } | |
| 863 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, ">Lite</option> <option value=\"max\"") | |
| 859 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, ">Lite</option> <option value=\"max\"") | |
| 864 | 860 | if templ_7745c5c3_Err != nil { | |
| 865 | 861 | return templ_7745c5c3_Err | |
| 866 | 862 | } | |
| 867 | 863 | if performanceProfileSelected(config.Performance.Profile, "max") { | |
| 868 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, " selected") | |
| 864 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, " selected") | |
| 869 | 865 | if templ_7745c5c3_Err != nil { | |
| 870 | 866 | return templ_7745c5c3_Err | |
| 871 | 867 | } | |
| 872 | 868 | } | |
| 873 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, ">Max</option> <option value=\"custom\"") | |
| 869 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, ">Max</option> <option value=\"custom\"") | |
| 874 | 870 | if templ_7745c5c3_Err != nil { | |
| 875 | 871 | return templ_7745c5c3_Err | |
| 876 | 872 | } | |
| 877 | 873 | if performanceProfileSelected(config.Performance.Profile, "custom") { | |
| 878 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, " selected") | |
| 874 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, " selected") | |
| 879 | 875 | if templ_7745c5c3_Err != nil { | |
| 880 | 876 | return templ_7745c5c3_Err | |
| 881 | 877 | } | |
| 882 | 878 | } | |
| 883 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, ">Custom</option></select></label><p class=\"sv-meta\">Choose Custom to edit individual performance values.</p><label><span>Skia CPU threads</span><input name=\"skia_cpu_threads\" type=\"number\" min=\"0\" max=\"8\" value=\"") | |
| 879 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, ">Custom</option></select></label><p class=\"sv-meta\">Choose Custom to edit individual performance values.</p><label><span>Skia CPU threads</span><input name=\"skia_cpu_threads\" type=\"number\" min=\"0\" max=\"8\" value=\"") | |
| 884 | 880 | if templ_7745c5c3_Err != nil { | |
| 885 | 881 | return templ_7745c5c3_Err | |
| 886 | 882 | } | |
| @@ -893,17 +889,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 893 | 889 | if templ_7745c5c3_Err != nil { | |
| 894 | 890 | return templ_7745c5c3_Err | |
| 895 | 891 | } | |
| 896 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\"") | |
| 892 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "\"") | |
| 897 | 893 | if templ_7745c5c3_Err != nil { | |
| 898 | 894 | return templ_7745c5c3_Err | |
| 899 | 895 | } | |
| 900 | 896 | if !customProfile { | |
| 901 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, " disabled") | |
| 897 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, " disabled") | |
| 902 | 898 | if templ_7745c5c3_Err != nil { | |
| 903 | 899 | return templ_7745c5c3_Err | |
| 904 | 900 | } | |
| 905 | 901 | } | |
| 906 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " data-sv-performance-custom></label> <label><span>Skia GPU threads</span><input name=\"skia_gpu_threads\" type=\"number\" min=\"-1\" max=\"8\" value=\"") | |
| 902 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, " data-sv-performance-custom></label> <label><span>Skia GPU threads</span><input name=\"skia_gpu_threads\" type=\"number\" min=\"-1\" max=\"8\" value=\"") | |
| 907 | 903 | if templ_7745c5c3_Err != nil { | |
| 908 | 904 | return templ_7745c5c3_Err | |
| 909 | 905 | } | |
| @@ -916,17 +912,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 916 | 912 | if templ_7745c5c3_Err != nil { | |
| 917 | 913 | return templ_7745c5c3_Err | |
| 918 | 914 | } | |
| 919 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "\"") | |
| 915 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "\"") | |
| 920 | 916 | if templ_7745c5c3_Err != nil { | |
| 921 | 917 | return templ_7745c5c3_Err | |
| 922 | 918 | } | |
| 923 | 919 | if !customProfile { | |
| 924 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " disabled") | |
| 920 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, " disabled") | |
| 925 | 921 | if templ_7745c5c3_Err != nil { | |
| 926 | 922 | return templ_7745c5c3_Err | |
| 927 | 923 | } | |
| 928 | 924 | } | |
| 929 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, " data-sv-performance-custom></label> <label><span>Web process memory MB</span><input name=\"web_process_memory_mb\" type=\"number\" min=\"0\" max=\"16384\" value=\"") | |
| 925 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " data-sv-performance-custom></label> <label><span>Web process memory MB</span><input name=\"web_process_memory_mb\" type=\"number\" min=\"0\" max=\"16384\" value=\"") | |
| 930 | 926 | if templ_7745c5c3_Err != nil { | |
| 931 | 927 | return templ_7745c5c3_Err | |
| 932 | 928 | } | |
| @@ -939,17 +935,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 939 | 935 | if templ_7745c5c3_Err != nil { | |
| 940 | 936 | return templ_7745c5c3_Err | |
| 941 | 937 | } | |
| 942 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "\"") | |
| 938 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "\"") | |
| 943 | 939 | if templ_7745c5c3_Err != nil { | |
| 944 | 940 | return templ_7745c5c3_Err | |
| 945 | 941 | } | |
| 946 | 942 | if !customProfile { | |
| 947 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " disabled") | |
| 943 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, " disabled") | |
| 948 | 944 | if templ_7745c5c3_Err != nil { | |
| 949 | 945 | return templ_7745c5c3_Err | |
| 950 | 946 | } | |
| 951 | 947 | } | |
| 952 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, " data-sv-performance-custom></label> <label><span>Network process memory MB</span><input name=\"network_process_memory_mb\" type=\"number\" min=\"0\" max=\"4096\" value=\"") | |
| 948 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " data-sv-performance-custom></label> <label><span>Network process memory MB</span><input name=\"network_process_memory_mb\" type=\"number\" min=\"0\" max=\"4096\" value=\"") | |
| 953 | 949 | if templ_7745c5c3_Err != nil { | |
| 954 | 950 | return templ_7745c5c3_Err | |
| 955 | 951 | } | |
| @@ -962,17 +958,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 962 | 958 | if templ_7745c5c3_Err != nil { | |
| 963 | 959 | return templ_7745c5c3_Err | |
| 964 | 960 | } | |
| 965 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "\"") | |
| 961 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "\"") | |
| 966 | 962 | if templ_7745c5c3_Err != nil { | |
| 967 | 963 | return templ_7745c5c3_Err | |
| 968 | 964 | } | |
| 969 | 965 | if !customProfile { | |
| 970 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, " disabled") | |
| 966 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, " disabled") | |
| 971 | 967 | if templ_7745c5c3_Err != nil { | |
| 972 | 968 | return templ_7745c5c3_Err | |
| 973 | 969 | } | |
| 974 | 970 | } | |
| 975 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, " data-sv-performance-custom></label> <label><span>WebView pool prewarm</span><input name=\"webview_pool_prewarm\" type=\"number\" min=\"0\" max=\"20\" value=\"") | |
| 971 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, " data-sv-performance-custom></label> <label><span>WebView pool prewarm</span><input name=\"webview_pool_prewarm\" type=\"number\" min=\"0\" max=\"20\" value=\"") | |
| 976 | 972 | if templ_7745c5c3_Err != nil { | |
| 977 | 973 | return templ_7745c5c3_Err | |
| 978 | 974 | } | |
| @@ -985,17 +981,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 985 | 981 | if templ_7745c5c3_Err != nil { | |
| 986 | 982 | return templ_7745c5c3_Err | |
| 987 | 983 | } | |
| 988 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "\"") | |
| 984 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "\"") | |
| 989 | 985 | if templ_7745c5c3_Err != nil { | |
| 990 | 986 | return templ_7745c5c3_Err | |
| 991 | 987 | } | |
| 992 | 988 | if !customProfile { | |
| 993 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, " disabled") | |
| 989 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, " disabled") | |
| 994 | 990 | if templ_7745c5c3_Err != nil { | |
| 995 | 991 | return templ_7745c5c3_Err | |
| 996 | 992 | } | |
| 997 | 993 | } | |
| 998 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, " data-sv-performance-custom></label> <button class=\"sv-button\" type=\"submit\">") | |
| 994 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, " data-sv-performance-custom></label> <button class=\"sv-button\" type=\"submit\">") | |
| 999 | 995 | if templ_7745c5c3_Err != nil { | |
| 1000 | 996 | return templ_7745c5c3_Err | |
| 1001 | 997 | } | |
| @@ -1003,7 +999,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 1003 | 999 | if templ_7745c5c3_Err != nil { | |
| 1004 | 1000 | return templ_7745c5c3_Err | |
| 1005 | 1001 | } | |
| 1006 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</button></form><div class=\"sv-stat-grid\"><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1002 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</button></form><div class=\"sv-stat-grid\"><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1007 | 1003 | if templ_7745c5c3_Err != nil { | |
| 1008 | 1004 | return templ_7745c5c3_Err | |
| 1009 | 1005 | } | |
| @@ -1016,7 +1012,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 1016 | 1012 | if templ_7745c5c3_Err != nil { | |
| 1017 | 1013 | return templ_7745c5c3_Err | |
| 1018 | 1014 | } | |
| 1019 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</span><span class=\"sv-stat-label\">CPU threads</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1015 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</span><span class=\"sv-stat-label\">CPU threads</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1020 | 1016 | if templ_7745c5c3_Err != nil { | |
| 1021 | 1017 | return templ_7745c5c3_Err | |
| 1022 | 1018 | } | |
| @@ -1029,7 +1025,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 1029 | 1025 | if templ_7745c5c3_Err != nil { | |
| 1030 | 1026 | return templ_7745c5c3_Err | |
| 1031 | 1027 | } | |
| 1032 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "</span><span class=\"sv-stat-label\">RAM MB</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1028 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</span><span class=\"sv-stat-label\">RAM MB</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1033 | 1029 | if templ_7745c5c3_Err != nil { | |
| 1034 | 1030 | return templ_7745c5c3_Err | |
| 1035 | 1031 | } | |
| @@ -1042,7 +1038,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 1042 | 1038 | if templ_7745c5c3_Err != nil { | |
| 1043 | 1039 | return templ_7745c5c3_Err | |
| 1044 | 1040 | } | |
| 1045 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span><span class=\"sv-stat-label\">GPU</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1041 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "</span><span class=\"sv-stat-label\">GPU</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | |
| 1046 | 1042 | if templ_7745c5c3_Err != nil { | |
| 1047 | 1043 | return templ_7745c5c3_Err | |
| 1048 | 1044 | } | |
| @@ -1055,17 +1051,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||
| 1055 | 1051 | if templ_7745c5c3_Err != nil { | |
| 1056 | 1052 | return templ_7745c5c3_Err | |
| 1057 | 1053 | } | |
| 1058 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "</span><span class=\"sv-stat-label\">Engine</span></div></div>") | |
| 1054 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span><span class=\"sv-stat-label\">Engine</span></div></div>") | |
| 1059 | 1055 | if templ_7745c5c3_Err != nil { | |
| 1060 | 1056 | return templ_7745c5c3_Err | |
| 1061 | 1057 | } | |
| 1062 | 1058 | if !engineIsWebKit(config.EngineType) { | |
| 1063 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<p class=\"sv-meta\">Performance tuning applies only to the WebKit engine.</p>") | |
| 1059 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "<p class=\"sv-meta\">Performance tuning applies only to the WebKit engine.</p>") | |
| 1064 | 1060 | if templ_7745c5c3_Err != nil { | |
| 1065 | 1061 | return templ_7745c5c3_Err | |
| 1066 | 1062 | } | |
| 1067 | 1063 | } else { | |
| 1068 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<p class=\"sv-meta\">Performance profile changes may require restarting the browser to affect existing engine processes.</p>") | |
| 1064 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<p class=\"sv-meta\">Performance profile changes may require restarting the browser to affect existing engine processes.</p>") | |
| 1069 | 1065 | if templ_7745c5c3_Err != nil { | |
| 1070 | 1066 | return templ_7745c5c3_Err | |
| 1071 | 1067 | } | |
| @@ -1107,7 +1103,7 @@ func ConfigKeybindings(keybindings port.KeybindingsConfig) templ.Component { | |||
| 1107 | 1103 | return templ_7745c5c3_Err | |
| 1108 | 1104 | } | |
| 1109 | 1105 | } else { | |
| 1110 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "<div class=\"sv-button-row\"><button class=\"sv-button sv-button-secondary sv-button-danger\" type=\"button\" data-sv-action=\"config.keybinding.resetAll\" data-sv-confirm=\"Reset all keybindings to defaults?\">") | |
| 1106 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<div class=\"sv-button-row\"><button class=\"sv-button sv-button-secondary sv-button-danger\" type=\"button\" data-sv-action=\"config.keybinding.resetAll\" data-sv-confirm=\"Reset all keybindings to defaults?\">") | |
| 1111 | 1107 | if templ_7745c5c3_Err != nil { | |
| 1112 | 1108 | return templ_7745c5c3_Err | |
| 1113 | 1109 | } | |
| @@ -1115,7 +1111,7 @@ func ConfigKeybindings(keybindings port.KeybindingsConfig) templ.Component { | |||
| 1115 | 1111 | if templ_7745c5c3_Err != nil { | |
| 1116 | 1112 | return templ_7745c5c3_Err | |
| 1117 | 1113 | } | |
| 1118 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "</button></div>") | |
| 1114 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "</button></div>") | |
| 1119 | 1115 | if templ_7745c5c3_Err != nil { | |
| 1120 | 1116 | return templ_7745c5c3_Err | |
| 1121 | 1117 | } | |
| @@ -1151,7 +1147,7 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||
| 1151 | 1147 | templ_7745c5c3_Var53 = templ.NopComponent | |
| 1152 | 1148 | } | |
| 1153 | 1149 | ctx = templ.ClearChildren(ctx) | |
| 1154 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "<div class=\"sv-group\"><div class=\"sv-group-header\"><div><h4>") | |
| 1150 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "<div class=\"sv-group\"><div class=\"sv-group-header\"><div><h4>") | |
| 1155 | 1151 | if templ_7745c5c3_Err != nil { | |
| 1156 | 1152 | return templ_7745c5c3_Err | |
| 1157 | 1153 | } | |
| @@ -1164,12 +1160,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||
| 1164 | 1160 | if templ_7745c5c3_Err != nil { | |
| 1165 | 1161 | return templ_7745c5c3_Err | |
| 1166 | 1162 | } | |
| 1167 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "</h4>") | |
| 1163 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "</h4>") | |
| 1168 | 1164 | if templ_7745c5c3_Err != nil { | |
| 1169 | 1165 | return templ_7745c5c3_Err | |
| 1170 | 1166 | } | |
| 1171 | 1167 | if keybindingGroupMeta(group) != "" { | |
| 1172 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "<p class=\"sv-meta\">") | |
| 1168 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<p class=\"sv-meta\">") | |
| 1173 | 1169 | if templ_7745c5c3_Err != nil { | |
| 1174 | 1170 | return templ_7745c5c3_Err | |
| 1175 | 1171 | } | |
| @@ -1182,12 +1178,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||
| 1182 | 1178 | if templ_7745c5c3_Err != nil { | |
| 1183 | 1179 | return templ_7745c5c3_Err | |
| 1184 | 1180 | } | |
| 1185 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "</p>") | |
| 1181 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</p>") | |
| 1186 | 1182 | if templ_7745c5c3_Err != nil { | |
| 1187 | 1183 | return templ_7745c5c3_Err | |
| 1188 | 1184 | } | |
| 1189 | 1185 | } | |
| 1190 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "</div></div><div class=\"sv-group-body\">") | |
| 1186 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "</div></div><div class=\"sv-group-body\">") | |
| 1191 | 1187 | if templ_7745c5c3_Err != nil { | |
| 1192 | 1188 | return templ_7745c5c3_Err | |
| 1193 | 1189 | } | |
| @@ -1197,7 +1193,7 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||
| 1197 | 1193 | return templ_7745c5c3_Err | |
| 1198 | 1194 | } | |
| 1199 | 1195 | } else { | |
| 1200 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "<ul class=\"sv-list\">") | |
| 1196 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "<ul class=\"sv-list\">") | |
| 1201 | 1197 | if templ_7745c5c3_Err != nil { | |
| 1202 | 1198 | return templ_7745c5c3_Err | |
| 1203 | 1199 | } | |
| @@ -1207,12 +1203,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||
| 1207 | 1203 | return templ_7745c5c3_Err | |
| 1208 | 1204 | } | |
| 1209 | 1205 | } | |
| 1210 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</ul>") | |
| 1206 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</ul>") | |
| 1211 | 1207 | if templ_7745c5c3_Err != nil { | |
| 1212 | 1208 | return templ_7745c5c3_Err | |
| 1213 | 1209 | } | |
| 1214 | 1210 | } | |
| 1215 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "</div></div>") | |
| 1211 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</div></div>") | |
| 1216 | 1212 | if templ_7745c5c3_Err != nil { | |
| 1217 | 1213 | return templ_7745c5c3_Err | |
| 1218 | 1214 | } | |
| @@ -1241,7 +1237,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1241 | 1237 | templ_7745c5c3_Var56 = templ.NopComponent | |
| 1242 | 1238 | } | |
| 1243 | 1239 | ctx = templ.ClearChildren(ctx) | |
| 1244 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "<li class=\"sv-list-row\"><div class=\"sv-keybinding-row\"><div><strong>") | |
| 1240 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<li class=\"sv-list-row\"><div class=\"sv-keybinding-row\"><div><strong>") | |
| 1245 | 1241 | if templ_7745c5c3_Err != nil { | |
| 1246 | 1242 | return templ_7745c5c3_Err | |
| 1247 | 1243 | } | |
| @@ -1254,7 +1250,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1254 | 1250 | if templ_7745c5c3_Err != nil { | |
| 1255 | 1251 | return templ_7745c5c3_Err | |
| 1256 | 1252 | } | |
| 1257 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "</strong><p class=\"sv-meta\">") | |
| 1253 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</strong><p class=\"sv-meta\">") | |
| 1258 | 1254 | if templ_7745c5c3_Err != nil { | |
| 1259 | 1255 | return templ_7745c5c3_Err | |
| 1260 | 1256 | } | |
| @@ -1267,7 +1263,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1267 | 1263 | if templ_7745c5c3_Err != nil { | |
| 1268 | 1264 | return templ_7745c5c3_Err | |
| 1269 | 1265 | } | |
| 1270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "</p><div class=\"sv-binding-keys\">") | |
| 1266 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "</p><div class=\"sv-binding-keys\">") | |
| 1271 | 1267 | if templ_7745c5c3_Err != nil { | |
| 1272 | 1268 | return templ_7745c5c3_Err | |
| 1273 | 1269 | } | |
| @@ -1275,7 +1271,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1275 | 1271 | if templ_7745c5c3_Err != nil { | |
| 1276 | 1272 | return templ_7745c5c3_Err | |
| 1277 | 1273 | } | |
| 1278 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "<span class=\"sv-badge\">") | |
| 1274 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "<span class=\"sv-badge\">") | |
| 1279 | 1275 | if templ_7745c5c3_Err != nil { | |
| 1280 | 1276 | return templ_7745c5c3_Err | |
| 1281 | 1277 | } | |
| @@ -1288,12 +1284,12 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1288 | 1284 | if templ_7745c5c3_Err != nil { | |
| 1289 | 1285 | return templ_7745c5c3_Err | |
| 1290 | 1286 | } | |
| 1291 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</span> ") | |
| 1287 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "</span> ") | |
| 1292 | 1288 | if templ_7745c5c3_Err != nil { | |
| 1293 | 1289 | return templ_7745c5c3_Err | |
| 1294 | 1290 | } | |
| 1295 | 1291 | if keybindingIsCustom(binding) && len(binding.DefaultKeys) > 0 { | |
| 1296 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "<span class=\"sv-meta\">default:</span>") | |
| 1292 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "<span class=\"sv-meta\">default:</span>") | |
| 1297 | 1293 | if templ_7745c5c3_Err != nil { | |
| 1298 | 1294 | return templ_7745c5c3_Err | |
| 1299 | 1295 | } | |
| @@ -1302,7 +1298,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1302 | 1298 | return templ_7745c5c3_Err | |
| 1303 | 1299 | } | |
| 1304 | 1300 | } | |
| 1305 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "</div></div><form class=\"sv-inline-form\" data-sv-action=\"config.keybinding.set\"><input type=\"hidden\" name=\"mode\" value=\"") | |
| 1301 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "</div></div><form class=\"sv-inline-form\" data-sv-action=\"config.keybinding.set\"><input type=\"hidden\" name=\"mode\" value=\"") | |
| 1306 | 1302 | if templ_7745c5c3_Err != nil { | |
| 1307 | 1303 | return templ_7745c5c3_Err | |
| 1308 | 1304 | } | |
| @@ -1315,7 +1311,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1315 | 1311 | if templ_7745c5c3_Err != nil { | |
| 1316 | 1312 | return templ_7745c5c3_Err | |
| 1317 | 1313 | } | |
| 1318 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\"> <input type=\"hidden\" name=\"action\" value=\"") | |
| 1314 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\"> <input type=\"hidden\" name=\"action\" value=\"") | |
| 1319 | 1315 | if templ_7745c5c3_Err != nil { | |
| 1320 | 1316 | return templ_7745c5c3_Err | |
| 1321 | 1317 | } | |
| @@ -1328,7 +1324,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1328 | 1324 | if templ_7745c5c3_Err != nil { | |
| 1329 | 1325 | return templ_7745c5c3_Err | |
| 1330 | 1326 | } | |
| 1331 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "\"> <label><span>Keys</span><input name=\"keys\" type=\"text\" value=\"") | |
| 1327 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\"> <label><span>Keys</span><input name=\"keys\" type=\"text\" value=\"") | |
| 1332 | 1328 | if templ_7745c5c3_Err != nil { | |
| 1333 | 1329 | return templ_7745c5c3_Err | |
| 1334 | 1330 | } | |
| @@ -1341,7 +1337,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1341 | 1337 | if templ_7745c5c3_Err != nil { | |
| 1342 | 1338 | return templ_7745c5c3_Err | |
| 1343 | 1339 | } | |
| 1344 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "\" placeholder=\"ctrl+h, ctrl+shift+h\" required></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 1340 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "\" placeholder=\"ctrl+h, ctrl+shift+h\" required></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | |
| 1345 | 1341 | if templ_7745c5c3_Err != nil { | |
| 1346 | 1342 | return templ_7745c5c3_Err | |
| 1347 | 1343 | } | |
| @@ -1349,7 +1345,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1349 | 1345 | if templ_7745c5c3_Err != nil { | |
| 1350 | 1346 | return templ_7745c5c3_Err | |
| 1351 | 1347 | } | |
| 1352 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.keybinding.reset\" data-mode=\"") | |
| 1348 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.keybinding.reset\" data-mode=\"") | |
| 1353 | 1349 | if templ_7745c5c3_Err != nil { | |
| 1354 | 1350 | return templ_7745c5c3_Err | |
| 1355 | 1351 | } | |
| @@ -1362,7 +1358,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1362 | 1358 | if templ_7745c5c3_Err != nil { | |
| 1363 | 1359 | return templ_7745c5c3_Err | |
| 1364 | 1360 | } | |
| 1365 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "\" data-action=\"") | |
| 1361 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "\" data-action=\"") | |
| 1366 | 1362 | if templ_7745c5c3_Err != nil { | |
| 1367 | 1363 | return templ_7745c5c3_Err | |
| 1368 | 1364 | } | |
| @@ -1375,7 +1371,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1375 | 1371 | if templ_7745c5c3_Err != nil { | |
| 1376 | 1372 | return templ_7745c5c3_Err | |
| 1377 | 1373 | } | |
| 1378 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "\">") | |
| 1374 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "\">") | |
| 1379 | 1375 | if templ_7745c5c3_Err != nil { | |
| 1380 | 1376 | return templ_7745c5c3_Err | |
| 1381 | 1377 | } | |
| @@ -1383,7 +1379,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||
| 1383 | 1379 | if templ_7745c5c3_Err != nil { | |
| 1384 | 1380 | return templ_7745c5c3_Err | |
| 1385 | 1381 | } | |
| 1386 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "</button></form></div></li>") | |
| 1382 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "</button></form></div></li>") | |
| 1387 | 1383 | if templ_7745c5c3_Err != nil { | |
| 1388 | 1384 | return templ_7745c5c3_Err | |
| 1389 | 1385 | } | |
| @@ -123,10 +123,6 @@ func ConfigView(data configRenderData) templ.Component { | |||||
| 123 | if templ_7745c5c3_Err != nil { | 123 | if templ_7745c5c3_Err != nil { | ||
| 124 | return templ_7745c5c3_Err | 124 | return templ_7745c5c3_Err | ||
| 125 | } | 125 | } | ||
| 126 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " ") | |||
| 127 | - | if templ_7745c5c3_Err != nil { | |||
| 128 | - | return templ_7745c5c3_Err | |||
| 129 | - | } | |||
| 130 | templ_7745c5c3_Err = ConfigKeybindings(data.Keybindings).Render(ctx, templ_7745c5c3_Buffer) | 126 | templ_7745c5c3_Err = ConfigKeybindings(data.Keybindings).Render(ctx, templ_7745c5c3_Buffer) | ||
| 131 | if templ_7745c5c3_Err != nil { | 127 | if templ_7745c5c3_Err != nil { | ||
| 132 | return templ_7745c5c3_Err | 128 | return templ_7745c5c3_Err | ||
| @@ -184,7 +180,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 184 | templ_7745c5c3_Var7 = templ.NopComponent | 180 | templ_7745c5c3_Var7 = templ.NopComponent | ||
| 185 | } | 181 | } | ||
| 186 | ctx = templ.ClearChildren(ctx) | 182 | ctx = templ.ClearChildren(ctx) | ||
| 187 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.appearance.save\"><label><span>Sans font</span><input name=\"sans_font\" type=\"text\" value=\"") | 183 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.appearance.save\"><label><span>Sans font</span><input name=\"sans_font\" type=\"text\" value=\"") |
| 188 | if templ_7745c5c3_Err != nil { | 184 | if templ_7745c5c3_Err != nil { | ||
| 189 | return templ_7745c5c3_Err | 185 | return templ_7745c5c3_Err | ||
| 190 | } | 186 | } | ||
| @@ -197,7 +193,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 197 | if templ_7745c5c3_Err != nil { | 193 | if templ_7745c5c3_Err != nil { | ||
| 198 | return templ_7745c5c3_Err | 194 | return templ_7745c5c3_Err | ||
| 199 | } | 195 | } | ||
| 200 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" required></label> <label><span>Serif font</span><input name=\"serif_font\" type=\"text\" value=\"") | 196 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "\" required></label> <label><span>Serif font</span><input name=\"serif_font\" type=\"text\" value=\"") |
| 201 | if templ_7745c5c3_Err != nil { | 197 | if templ_7745c5c3_Err != nil { | ||
| 202 | return templ_7745c5c3_Err | 198 | return templ_7745c5c3_Err | ||
| 203 | } | 199 | } | ||
| @@ -210,7 +206,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 210 | if templ_7745c5c3_Err != nil { | 206 | if templ_7745c5c3_Err != nil { | ||
| 211 | return templ_7745c5c3_Err | 207 | return templ_7745c5c3_Err | ||
| 212 | } | 208 | } | ||
| 213 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\" required></label> <label><span>Monospace font</span><input name=\"monospace_font\" type=\"text\" value=\"") | 209 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" required></label> <label><span>Monospace font</span><input name=\"monospace_font\" type=\"text\" value=\"") |
| 214 | if templ_7745c5c3_Err != nil { | 210 | if templ_7745c5c3_Err != nil { | ||
| 215 | return templ_7745c5c3_Err | 211 | return templ_7745c5c3_Err | ||
| 216 | } | 212 | } | ||
| @@ -223,7 +219,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 223 | if templ_7745c5c3_Err != nil { | 219 | if templ_7745c5c3_Err != nil { | ||
| 224 | return templ_7745c5c3_Err | 220 | return templ_7745c5c3_Err | ||
| 225 | } | 221 | } | ||
| 226 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "\" required></label> <label><span>GTK UI font</span><input name=\"gtk_font\" type=\"text\" value=\"") | 222 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\" required></label> <label><span>GTK UI font</span><input name=\"gtk_font\" type=\"text\" value=\"") |
| 227 | if templ_7745c5c3_Err != nil { | 223 | if templ_7745c5c3_Err != nil { | ||
| 228 | return templ_7745c5c3_Err | 224 | return templ_7745c5c3_Err | ||
| 229 | } | 225 | } | ||
| @@ -236,7 +232,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 236 | if templ_7745c5c3_Err != nil { | 232 | if templ_7745c5c3_Err != nil { | ||
| 237 | return templ_7745c5c3_Err | 233 | return templ_7745c5c3_Err | ||
| 238 | } | 234 | } | ||
| 239 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "\" required></label> <label><span>Default font size</span><input name=\"default_font_size\" type=\"number\" min=\"1\" max=\"72\" value=\"") | 235 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "\" required></label> <label><span>Default font size</span><input name=\"default_font_size\" type=\"number\" min=\"1\" max=\"72\" value=\"") |
| 240 | if templ_7745c5c3_Err != nil { | 236 | if templ_7745c5c3_Err != nil { | ||
| 241 | return templ_7745c5c3_Err | 237 | return templ_7745c5c3_Err | ||
| 242 | } | 238 | } | ||
| @@ -249,7 +245,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 249 | if templ_7745c5c3_Err != nil { | 245 | if templ_7745c5c3_Err != nil { | ||
| 250 | return templ_7745c5c3_Err | 246 | return templ_7745c5c3_Err | ||
| 251 | } | 247 | } | ||
| 252 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\" required></label> <label><span>UI scale</span><input name=\"default_ui_scale\" type=\"number\" min=\"0.5\" max=\"3\" step=\"0.05\" value=\"") | 248 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "\" required></label> <label><span>UI scale</span><input name=\"default_ui_scale\" type=\"number\" min=\"0.5\" max=\"3\" step=\"0.05\" value=\"") |
| 253 | if templ_7745c5c3_Err != nil { | 249 | if templ_7745c5c3_Err != nil { | ||
| 254 | return templ_7745c5c3_Err | 250 | return templ_7745c5c3_Err | ||
| 255 | } | 251 | } | ||
| @@ -262,47 +258,47 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 262 | if templ_7745c5c3_Err != nil { | 258 | if templ_7745c5c3_Err != nil { | ||
| 263 | return templ_7745c5c3_Err | 259 | return templ_7745c5c3_Err | ||
| 264 | } | 260 | } | ||
| 265 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "\" required></label> <label><span>Color scheme</span><select name=\"color_scheme\"><option value=\"default\"") | 261 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\" required></label> <label><span>Color scheme</span><select name=\"color_scheme\"><option value=\"default\"") |
| 266 | if templ_7745c5c3_Err != nil { | 262 | if templ_7745c5c3_Err != nil { | ||
| 267 | return templ_7745c5c3_Err | 263 | return templ_7745c5c3_Err | ||
| 268 | } | 264 | } | ||
| 269 | if colorSchemeSelected(config.Appearance.ColorScheme, "default") { | 265 | if colorSchemeSelected(config.Appearance.ColorScheme, "default") { | ||
| 270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, " selected") | 266 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, " selected") |
| 271 | if templ_7745c5c3_Err != nil { | 267 | if templ_7745c5c3_Err != nil { | ||
| 272 | return templ_7745c5c3_Err | 268 | return templ_7745c5c3_Err | ||
| 273 | } | 269 | } | ||
| 274 | } | 270 | } | ||
| 275 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, ">System default</option> <option value=\"prefer-light\"") | 271 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, ">System default</option> <option value=\"prefer-light\"") |
| 276 | if templ_7745c5c3_Err != nil { | 272 | if templ_7745c5c3_Err != nil { | ||
| 277 | return templ_7745c5c3_Err | 273 | return templ_7745c5c3_Err | ||
| 278 | } | 274 | } | ||
| 279 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-light") { | 275 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-light") { | ||
| 280 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, " selected") | 276 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " selected") |
| 281 | if templ_7745c5c3_Err != nil { | 277 | if templ_7745c5c3_Err != nil { | ||
| 282 | return templ_7745c5c3_Err | 278 | return templ_7745c5c3_Err | ||
| 283 | } | 279 | } | ||
| 284 | } | 280 | } | ||
| 285 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, ">Prefer light</option> <option value=\"prefer-dark\"") | 281 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, ">Prefer light</option> <option value=\"prefer-dark\"") |
| 286 | if templ_7745c5c3_Err != nil { | 282 | if templ_7745c5c3_Err != nil { | ||
| 287 | return templ_7745c5c3_Err | 283 | return templ_7745c5c3_Err | ||
| 288 | } | 284 | } | ||
| 289 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-dark") { | 285 | if colorSchemeSelected(config.Appearance.ColorScheme, "prefer-dark") { | ||
| 290 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, " selected") | 286 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " selected") |
| 291 | if templ_7745c5c3_Err != nil { | 287 | if templ_7745c5c3_Err != nil { | ||
| 292 | return templ_7745c5c3_Err | 288 | return templ_7745c5c3_Err | ||
| 293 | } | 289 | } | ||
| 294 | } | 290 | } | ||
| 295 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, ">Prefer dark</option></select></label><fieldset class=\"sv-fieldset\"><legend>External theme</legend><p class=\"sv-meta\">Provider noctalia supports colors-json (default Noctalia colors.json) and dumber-json (advanced user template).</p><label><span>Enable external theme</span><input name=\"external_theme_enabled\" type=\"checkbox\"") | 291 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, ">Prefer dark</option></select></label><fieldset class=\"sv-fieldset\"><legend>External theme</legend><p class=\"sv-meta\">Provider noctalia supports colors-json (default Noctalia colors.json) and dumber-json (advanced user template).</p><label><span>Enable external theme</span><input name=\"external_theme_enabled\" type=\"checkbox\"") |
| 296 | if templ_7745c5c3_Err != nil { | 292 | if templ_7745c5c3_Err != nil { | ||
| 297 | return templ_7745c5c3_Err | 293 | return templ_7745c5c3_Err | ||
| 298 | } | 294 | } | ||
| 299 | if config.Appearance.ExternalTheme.Enabled { | 295 | if config.Appearance.ExternalTheme.Enabled { | ||
| 300 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, " checked") | 296 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, " checked") |
| 301 | if templ_7745c5c3_Err != nil { | 297 | if templ_7745c5c3_Err != nil { | ||
| 302 | return templ_7745c5c3_Err | 298 | return templ_7745c5c3_Err | ||
| 303 | } | 299 | } | ||
| 304 | } | 300 | } | ||
| 305 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "></label> <label><span>Provider</span><input name=\"external_theme_provider\" type=\"text\" value=\"") | 301 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "></label> <label><span>Provider</span><input name=\"external_theme_provider\" type=\"text\" value=\"") |
| 306 | if templ_7745c5c3_Err != nil { | 302 | if templ_7745c5c3_Err != nil { | ||
| 307 | return templ_7745c5c3_Err | 303 | return templ_7745c5c3_Err | ||
| 308 | } | 304 | } | ||
| @@ -315,7 +311,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 315 | if templ_7745c5c3_Err != nil { | 311 | if templ_7745c5c3_Err != nil { | ||
| 316 | return templ_7745c5c3_Err | 312 | return templ_7745c5c3_Err | ||
| 317 | } | 313 | } | ||
| 318 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\" placeholder=\"noctalia\"></label> <label><span>Format</span><input name=\"external_theme_format\" type=\"text\" value=\"") | 314 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\" placeholder=\"noctalia\"></label> <label><span>Format</span><input name=\"external_theme_format\" type=\"text\" value=\"") |
| 319 | if templ_7745c5c3_Err != nil { | 315 | if templ_7745c5c3_Err != nil { | ||
| 320 | return templ_7745c5c3_Err | 316 | return templ_7745c5c3_Err | ||
| 321 | } | 317 | } | ||
| @@ -328,7 +324,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 328 | if templ_7745c5c3_Err != nil { | 324 | if templ_7745c5c3_Err != nil { | ||
| 329 | return templ_7745c5c3_Err | 325 | return templ_7745c5c3_Err | ||
| 330 | } | 326 | } | ||
| 331 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" placeholder=\"colors-json\"></label> <label><span>Path</span><input name=\"external_theme_path\" type=\"text\" value=\"") | 327 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "\" placeholder=\"colors-json\"></label> <label><span>Path</span><input name=\"external_theme_path\" type=\"text\" value=\"") |
| 332 | if templ_7745c5c3_Err != nil { | 328 | if templ_7745c5c3_Err != nil { | ||
| 333 | return templ_7745c5c3_Err | 329 | return templ_7745c5c3_Err | ||
| 334 | } | 330 | } | ||
| @@ -341,7 +337,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 341 | if templ_7745c5c3_Err != nil { | 337 | if templ_7745c5c3_Err != nil { | ||
| 342 | return templ_7745c5c3_Err | 338 | return templ_7745c5c3_Err | ||
| 343 | } | 339 | } | ||
| 344 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "\" placeholder=\"~/.config/noctalia/colors.json\"></label></fieldset>") | 340 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "\" placeholder=\"~/.config/noctalia/colors.json\"></label></fieldset>") |
| 345 | if templ_7745c5c3_Err != nil { | 341 | if templ_7745c5c3_Err != nil { | ||
| 346 | return templ_7745c5c3_Err | 342 | return templ_7745c5c3_Err | ||
| 347 | } | 343 | } | ||
| @@ -353,7 +349,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 353 | if templ_7745c5c3_Err != nil { | 349 | if templ_7745c5c3_Err != nil { | ||
| 354 | return templ_7745c5c3_Err | 350 | return templ_7745c5c3_Err | ||
| 355 | } | 351 | } | ||
| 356 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "<div class=\"sv-button-row sv-form-actions\"><button class=\"sv-button\" type=\"submit\">") | 352 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "<div class=\"sv-button-row sv-form-actions\"><button class=\"sv-button\" type=\"submit\">") |
| 357 | if templ_7745c5c3_Err != nil { | 353 | if templ_7745c5c3_Err != nil { | ||
| 358 | return templ_7745c5c3_Err | 354 | return templ_7745c5c3_Err | ||
| 359 | } | 355 | } | ||
| @@ -361,7 +357,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 361 | if templ_7745c5c3_Err != nil { | 357 | if templ_7745c5c3_Err != nil { | ||
| 362 | return templ_7745c5c3_Err | 358 | return templ_7745c5c3_Err | ||
| 363 | } | 359 | } | ||
| 364 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.appearance.reset\" data-sv-confirm=\"Reset appearance settings to defaults?\">") | 360 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.appearance.reset\" data-sv-confirm=\"Reset appearance settings to defaults?\">") |
| 365 | if templ_7745c5c3_Err != nil { | 361 | if templ_7745c5c3_Err != nil { | ||
| 366 | return templ_7745c5c3_Err | 362 | return templ_7745c5c3_Err | ||
| 367 | } | 363 | } | ||
| @@ -369,7 +365,7 @@ func AppearanceForm(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 369 | if templ_7745c5c3_Err != nil { | 365 | if templ_7745c5c3_Err != nil { | ||
| 370 | return templ_7745c5c3_Err | 366 | return templ_7745c5c3_Err | ||
| 371 | } | 367 | } | ||
| 372 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "</button></div></form>") | 368 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "</button></div></form>") |
| 373 | if templ_7745c5c3_Err != nil { | 369 | if templ_7745c5c3_Err != nil { | ||
| 374 | return templ_7745c5c3_Err | 370 | return templ_7745c5c3_Err | ||
| 375 | } | 371 | } | ||
| @@ -398,7 +394,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 398 | templ_7745c5c3_Var17 = templ.NopComponent | 394 | templ_7745c5c3_Var17 = templ.NopComponent | ||
| 399 | } | 395 | } | ||
| 400 | ctx = templ.ClearChildren(ctx) | 396 | ctx = templ.ClearChildren(ctx) | ||
| 401 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "<fieldset class=\"sv-fieldset\"><legend>") | 397 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<fieldset class=\"sv-fieldset\"><legend>") |
| 402 | if templ_7745c5c3_Err != nil { | 398 | if templ_7745c5c3_Err != nil { | ||
| 403 | return templ_7745c5c3_Err | 399 | return templ_7745c5c3_Err | ||
| 404 | } | 400 | } | ||
| @@ -411,7 +407,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 411 | if templ_7745c5c3_Err != nil { | 407 | if templ_7745c5c3_Err != nil { | ||
| 412 | return templ_7745c5c3_Err | 408 | return templ_7745c5c3_Err | ||
| 413 | } | 409 | } | ||
| 414 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "</legend> <label><span>Background</span><input name=\"") | 410 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "</legend> <label><span>Background</span><input name=\"") |
| 415 | if templ_7745c5c3_Err != nil { | 411 | if templ_7745c5c3_Err != nil { | ||
| 416 | return templ_7745c5c3_Err | 412 | return templ_7745c5c3_Err | ||
| 417 | } | 413 | } | ||
| @@ -424,7 +420,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 424 | if templ_7745c5c3_Err != nil { | 420 | if templ_7745c5c3_Err != nil { | ||
| 425 | return templ_7745c5c3_Err | 421 | return templ_7745c5c3_Err | ||
| 426 | } | 422 | } | ||
| 427 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "\" type=\"text\" value=\"") | 423 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\" type=\"text\" value=\"") |
| 428 | if templ_7745c5c3_Err != nil { | 424 | if templ_7745c5c3_Err != nil { | ||
| 429 | return templ_7745c5c3_Err | 425 | return templ_7745c5c3_Err | ||
| 430 | } | 426 | } | ||
| @@ -437,7 +433,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 437 | if templ_7745c5c3_Err != nil { | 433 | if templ_7745c5c3_Err != nil { | ||
| 438 | return templ_7745c5c3_Err | 434 | return templ_7745c5c3_Err | ||
| 439 | } | 435 | } | ||
| 440 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\" required></label> <label><span>Surface</span><input name=\"") | 436 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "\" required></label> <label><span>Surface</span><input name=\"") |
| 441 | if templ_7745c5c3_Err != nil { | 437 | if templ_7745c5c3_Err != nil { | ||
| 442 | return templ_7745c5c3_Err | 438 | return templ_7745c5c3_Err | ||
| 443 | } | 439 | } | ||
| @@ -450,7 +446,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 450 | if templ_7745c5c3_Err != nil { | 446 | if templ_7745c5c3_Err != nil { | ||
| 451 | return templ_7745c5c3_Err | 447 | return templ_7745c5c3_Err | ||
| 452 | } | 448 | } | ||
| 453 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" type=\"text\" value=\"") | 449 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "\" type=\"text\" value=\"") |
| 454 | if templ_7745c5c3_Err != nil { | 450 | if templ_7745c5c3_Err != nil { | ||
| 455 | return templ_7745c5c3_Err | 451 | return templ_7745c5c3_Err | ||
| 456 | } | 452 | } | ||
| @@ -463,7 +459,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 463 | if templ_7745c5c3_Err != nil { | 459 | if templ_7745c5c3_Err != nil { | ||
| 464 | return templ_7745c5c3_Err | 460 | return templ_7745c5c3_Err | ||
| 465 | } | 461 | } | ||
| 466 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\" required></label> <label><span>Surface variant</span><input name=\"") | 462 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" required></label> <label><span>Surface variant</span><input name=\"") |
| 467 | if templ_7745c5c3_Err != nil { | 463 | if templ_7745c5c3_Err != nil { | ||
| 468 | return templ_7745c5c3_Err | 464 | return templ_7745c5c3_Err | ||
| 469 | } | 465 | } | ||
| @@ -476,7 +472,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 476 | if templ_7745c5c3_Err != nil { | 472 | if templ_7745c5c3_Err != nil { | ||
| 477 | return templ_7745c5c3_Err | 473 | return templ_7745c5c3_Err | ||
| 478 | } | 474 | } | ||
| 479 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\" type=\"text\" value=\"") | 475 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\" type=\"text\" value=\"") |
| 480 | if templ_7745c5c3_Err != nil { | 476 | if templ_7745c5c3_Err != nil { | ||
| 481 | return templ_7745c5c3_Err | 477 | return templ_7745c5c3_Err | ||
| 482 | } | 478 | } | ||
| @@ -489,7 +485,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 489 | if templ_7745c5c3_Err != nil { | 485 | if templ_7745c5c3_Err != nil { | ||
| 490 | return templ_7745c5c3_Err | 486 | return templ_7745c5c3_Err | ||
| 491 | } | 487 | } | ||
| 492 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "\" required></label> <label><span>Text</span><input name=\"") | 488 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\" required></label> <label><span>Text</span><input name=\"") |
| 493 | if templ_7745c5c3_Err != nil { | 489 | if templ_7745c5c3_Err != nil { | ||
| 494 | return templ_7745c5c3_Err | 490 | return templ_7745c5c3_Err | ||
| 495 | } | 491 | } | ||
| @@ -502,7 +498,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 502 | if templ_7745c5c3_Err != nil { | 498 | if templ_7745c5c3_Err != nil { | ||
| 503 | return templ_7745c5c3_Err | 499 | return templ_7745c5c3_Err | ||
| 504 | } | 500 | } | ||
| 505 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\" type=\"text\" value=\"") | 501 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "\" type=\"text\" value=\"") |
| 506 | if templ_7745c5c3_Err != nil { | 502 | if templ_7745c5c3_Err != nil { | ||
| 507 | return templ_7745c5c3_Err | 503 | return templ_7745c5c3_Err | ||
| 508 | } | 504 | } | ||
| @@ -515,7 +511,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 515 | if templ_7745c5c3_Err != nil { | 511 | if templ_7745c5c3_Err != nil { | ||
| 516 | return templ_7745c5c3_Err | 512 | return templ_7745c5c3_Err | ||
| 517 | } | 513 | } | ||
| 518 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\" required></label> <label><span>Muted</span><input name=\"") | 514 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "\" required></label> <label><span>Muted</span><input name=\"") |
| 519 | if templ_7745c5c3_Err != nil { | 515 | if templ_7745c5c3_Err != nil { | ||
| 520 | return templ_7745c5c3_Err | 516 | return templ_7745c5c3_Err | ||
| 521 | } | 517 | } | ||
| @@ -528,7 +524,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 528 | if templ_7745c5c3_Err != nil { | 524 | if templ_7745c5c3_Err != nil { | ||
| 529 | return templ_7745c5c3_Err | 525 | return templ_7745c5c3_Err | ||
| 530 | } | 526 | } | ||
| 531 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\" type=\"text\" value=\"") | 527 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "\" type=\"text\" value=\"") |
| 532 | if templ_7745c5c3_Err != nil { | 528 | if templ_7745c5c3_Err != nil { | ||
| 533 | return templ_7745c5c3_Err | 529 | return templ_7745c5c3_Err | ||
| 534 | } | 530 | } | ||
| @@ -541,7 +537,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 541 | if templ_7745c5c3_Err != nil { | 537 | if templ_7745c5c3_Err != nil { | ||
| 542 | return templ_7745c5c3_Err | 538 | return templ_7745c5c3_Err | ||
| 543 | } | 539 | } | ||
| 544 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "\" required></label> <label><span>Accent</span><input name=\"") | 540 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\" required></label> <label><span>Accent</span><input name=\"") |
| 545 | if templ_7745c5c3_Err != nil { | 541 | if templ_7745c5c3_Err != nil { | ||
| 546 | return templ_7745c5c3_Err | 542 | return templ_7745c5c3_Err | ||
| 547 | } | 543 | } | ||
| @@ -554,7 +550,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 554 | if templ_7745c5c3_Err != nil { | 550 | if templ_7745c5c3_Err != nil { | ||
| 555 | return templ_7745c5c3_Err | 551 | return templ_7745c5c3_Err | ||
| 556 | } | 552 | } | ||
| 557 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\" type=\"text\" value=\"") | 553 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "\" type=\"text\" value=\"") |
| 558 | if templ_7745c5c3_Err != nil { | 554 | if templ_7745c5c3_Err != nil { | ||
| 559 | return templ_7745c5c3_Err | 555 | return templ_7745c5c3_Err | ||
| 560 | } | 556 | } | ||
| @@ -567,7 +563,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 567 | if templ_7745c5c3_Err != nil { | 563 | if templ_7745c5c3_Err != nil { | ||
| 568 | return templ_7745c5c3_Err | 564 | return templ_7745c5c3_Err | ||
| 569 | } | 565 | } | ||
| 570 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "\" required></label> <label><span>Border</span><input name=\"") | 566 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "\" required></label> <label><span>Border</span><input name=\"") |
| 571 | if templ_7745c5c3_Err != nil { | 567 | if templ_7745c5c3_Err != nil { | ||
| 572 | return templ_7745c5c3_Err | 568 | return templ_7745c5c3_Err | ||
| 573 | } | 569 | } | ||
| @@ -580,7 +576,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 580 | if templ_7745c5c3_Err != nil { | 576 | if templ_7745c5c3_Err != nil { | ||
| 581 | return templ_7745c5c3_Err | 577 | return templ_7745c5c3_Err | ||
| 582 | } | 578 | } | ||
| 583 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" type=\"text\" value=\"") | 579 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "\" type=\"text\" value=\"") |
| 584 | if templ_7745c5c3_Err != nil { | 580 | if templ_7745c5c3_Err != nil { | ||
| 585 | return templ_7745c5c3_Err | 581 | return templ_7745c5c3_Err | ||
| 586 | } | 582 | } | ||
| @@ -593,7 +589,7 @@ func PaletteFields(title string, prefix string, palette dto.ColorPalette) templ. | |||||
| 593 | if templ_7745c5c3_Err != nil { | 589 | if templ_7745c5c3_Err != nil { | ||
| 594 | return templ_7745c5c3_Err | 590 | return templ_7745c5c3_Err | ||
| 595 | } | 591 | } | ||
| 596 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "\" required></label></fieldset>") | 592 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "\" required></label></fieldset>") |
| 597 | if templ_7745c5c3_Err != nil { | 593 | if templ_7745c5c3_Err != nil { | ||
| 598 | return templ_7745c5c3_Err | 594 | return templ_7745c5c3_Err | ||
| 599 | } | 595 | } | ||
| @@ -622,7 +618,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 622 | templ_7745c5c3_Var33 = templ.NopComponent | 618 | templ_7745c5c3_Var33 = templ.NopComponent | ||
| 623 | } | 619 | } | ||
| 624 | ctx = templ.ClearChildren(ctx) | 620 | ctx = templ.ClearChildren(ctx) | ||
| 625 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "<form class=\"sv-card-form\" data-sv-action=\"config.search.save\"><label><span>Default search engine</span><input name=\"default_search_engine\" type=\"text\" value=\"") | 621 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<form class=\"sv-card-form\" data-sv-action=\"config.search.save\"><label><span>Default search engine</span><input name=\"default_search_engine\" type=\"text\" value=\"") |
| 626 | if templ_7745c5c3_Err != nil { | 622 | if templ_7745c5c3_Err != nil { | ||
| 627 | return templ_7745c5c3_Err | 623 | return templ_7745c5c3_Err | ||
| 628 | } | 624 | } | ||
| @@ -635,7 +631,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 635 | if templ_7745c5c3_Err != nil { | 631 | if templ_7745c5c3_Err != nil { | ||
| 636 | return templ_7745c5c3_Err | 632 | return templ_7745c5c3_Err | ||
| 637 | } | 633 | } | ||
| 638 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "\" placeholder=\"https://duckduckgo.com/?q=%s\" required></label> <button class=\"sv-button\" type=\"submit\">") | 634 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "\" placeholder=\"https://duckduckgo.com/?q=%s\" required></label> <button class=\"sv-button\" type=\"submit\">") |
| 639 | if templ_7745c5c3_Err != nil { | 635 | if templ_7745c5c3_Err != nil { | ||
| 640 | return templ_7745c5c3_Err | 636 | return templ_7745c5c3_Err | ||
| 641 | } | 637 | } | ||
| @@ -643,7 +639,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 643 | if templ_7745c5c3_Err != nil { | 639 | if templ_7745c5c3_Err != nil { | ||
| 644 | return templ_7745c5c3_Err | 640 | return templ_7745c5c3_Err | ||
| 645 | } | 641 | } | ||
| 646 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></form><div class=\"sv-group\"><div class=\"sv-group-header\"><h4>Search shortcuts</h4></div><p class=\"sv-meta\">Shortcut URLs must include the %s placeholder for the search query.</p><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.create\"><label><span>Key</span><input name=\"key\" type=\"text\" placeholder=\"ddg\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" placeholder=\"https://duckduckgo.com/?q=%s\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" placeholder=\"DuckDuckGo\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 642 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "</button></form><div class=\"sv-group\"><div class=\"sv-group-header\"><h4>Search shortcuts</h4></div><p class=\"sv-meta\">Shortcut URLs must include the %s placeholder for the search query.</p><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.create\"><label><span>Key</span><input name=\"key\" type=\"text\" placeholder=\"ddg\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" placeholder=\"https://duckduckgo.com/?q=%s\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" placeholder=\"DuckDuckGo\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 647 | if templ_7745c5c3_Err != nil { | 643 | if templ_7745c5c3_Err != nil { | ||
| 648 | return templ_7745c5c3_Err | 644 | return templ_7745c5c3_Err | ||
| 649 | } | 645 | } | ||
| @@ -651,7 +647,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 651 | if templ_7745c5c3_Err != nil { | 647 | if templ_7745c5c3_Err != nil { | ||
| 652 | return templ_7745c5c3_Err | 648 | return templ_7745c5c3_Err | ||
| 653 | } | 649 | } | ||
| 654 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</button></form>") | 650 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</button></form>") |
| 655 | if templ_7745c5c3_Err != nil { | 651 | if templ_7745c5c3_Err != nil { | ||
| 656 | return templ_7745c5c3_Err | 652 | return templ_7745c5c3_Err | ||
| 657 | } | 653 | } | ||
| @@ -662,7 +658,7 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 662 | return templ_7745c5c3_Err | 658 | return templ_7745c5c3_Err | ||
| 663 | } | 659 | } | ||
| 664 | } else { | 660 | } else { | ||
| 665 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<ul class=\"sv-list\">") | 661 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "<ul class=\"sv-list\">") |
| 666 | if templ_7745c5c3_Err != nil { | 662 | if templ_7745c5c3_Err != nil { | ||
| 667 | return templ_7745c5c3_Err | 663 | return templ_7745c5c3_Err | ||
| 668 | } | 664 | } | ||
| @@ -672,12 +668,12 @@ func SearchSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 672 | return templ_7745c5c3_Err | 668 | return templ_7745c5c3_Err | ||
| 673 | } | 669 | } | ||
| 674 | } | 670 | } | ||
| 675 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</ul>") | 671 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "</ul>") |
| 676 | if templ_7745c5c3_Err != nil { | 672 | if templ_7745c5c3_Err != nil { | ||
| 677 | return templ_7745c5c3_Err | 673 | return templ_7745c5c3_Err | ||
| 678 | } | 674 | } | ||
| 679 | } | 675 | } | ||
| 680 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "</div>") | 676 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</div>") |
| 681 | if templ_7745c5c3_Err != nil { | 677 | if templ_7745c5c3_Err != nil { | ||
| 682 | return templ_7745c5c3_Err | 678 | return templ_7745c5c3_Err | ||
| 683 | } | 679 | } | ||
| @@ -706,7 +702,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 706 | templ_7745c5c3_Var35 = templ.NopComponent | 702 | templ_7745c5c3_Var35 = templ.NopComponent | ||
| 707 | } | 703 | } | ||
| 708 | ctx = templ.ClearChildren(ctx) | 704 | ctx = templ.ClearChildren(ctx) | ||
| 709 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.update\"><input type=\"hidden\" name=\"key\" value=\"") | 705 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<li class=\"sv-list-row\"><form class=\"sv-inline-form\" data-sv-action=\"config.searchShortcut.update\"><input type=\"hidden\" name=\"key\" value=\"") |
| 710 | if templ_7745c5c3_Err != nil { | 706 | if templ_7745c5c3_Err != nil { | ||
| 711 | return templ_7745c5c3_Err | 707 | return templ_7745c5c3_Err | ||
| 712 | } | 708 | } | ||
| @@ -719,7 +715,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 719 | if templ_7745c5c3_Err != nil { | 715 | if templ_7745c5c3_Err != nil { | ||
| 720 | return templ_7745c5c3_Err | 716 | return templ_7745c5c3_Err | ||
| 721 | } | 717 | } | ||
| 722 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "\"> <label><span>Key</span><input name=\"new_key\" type=\"text\" value=\"") | 718 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"> <label><span>Key</span><input name=\"new_key\" type=\"text\" value=\"") |
| 723 | if templ_7745c5c3_Err != nil { | 719 | if templ_7745c5c3_Err != nil { | ||
| 724 | return templ_7745c5c3_Err | 720 | return templ_7745c5c3_Err | ||
| 725 | } | 721 | } | ||
| @@ -732,7 +728,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 732 | if templ_7745c5c3_Err != nil { | 728 | if templ_7745c5c3_Err != nil { | ||
| 733 | return templ_7745c5c3_Err | 729 | return templ_7745c5c3_Err | ||
| 734 | } | 730 | } | ||
| 735 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" value=\"") | 731 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "\" required></label> <label><span>URL</span><input name=\"url\" type=\"text\" value=\"") |
| 736 | if templ_7745c5c3_Err != nil { | 732 | if templ_7745c5c3_Err != nil { | ||
| 737 | return templ_7745c5c3_Err | 733 | return templ_7745c5c3_Err | ||
| 738 | } | 734 | } | ||
| @@ -745,7 +741,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 745 | if templ_7745c5c3_Err != nil { | 741 | if templ_7745c5c3_Err != nil { | ||
| 746 | return templ_7745c5c3_Err | 742 | return templ_7745c5c3_Err | ||
| 747 | } | 743 | } | ||
| 748 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" value=\"") | 744 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "\" pattern=\".*%s.*\" required></label> <label><span>Description</span><input name=\"description\" type=\"text\" value=\"") |
| 749 | if templ_7745c5c3_Err != nil { | 745 | if templ_7745c5c3_Err != nil { | ||
| 750 | return templ_7745c5c3_Err | 746 | return templ_7745c5c3_Err | ||
| 751 | } | 747 | } | ||
| @@ -758,7 +754,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 758 | if templ_7745c5c3_Err != nil { | 754 | if templ_7745c5c3_Err != nil { | ||
| 759 | return templ_7745c5c3_Err | 755 | return templ_7745c5c3_Err | ||
| 760 | } | 756 | } | ||
| 761 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 757 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\"></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 762 | if templ_7745c5c3_Err != nil { | 758 | if templ_7745c5c3_Err != nil { | ||
| 763 | return templ_7745c5c3_Err | 759 | return templ_7745c5c3_Err | ||
| 764 | } | 760 | } | ||
| @@ -766,7 +762,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 766 | if templ_7745c5c3_Err != nil { | 762 | if templ_7745c5c3_Err != nil { | ||
| 767 | return templ_7745c5c3_Err | 763 | return templ_7745c5c3_Err | ||
| 768 | } | 764 | } | ||
| 769 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "</button> <button class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" type=\"button\" data-sv-action=\"config.searchShortcut.delete\" data-key=\"") | 765 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</button> <button class=\"sv-button sv-button-secondary sv-button-danger sv-button-icon-only\" type=\"button\" data-sv-action=\"config.searchShortcut.delete\" data-key=\"") |
| 770 | if templ_7745c5c3_Err != nil { | 766 | if templ_7745c5c3_Err != nil { | ||
| 771 | return templ_7745c5c3_Err | 767 | return templ_7745c5c3_Err | ||
| 772 | } | 768 | } | ||
| @@ -779,7 +775,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 779 | if templ_7745c5c3_Err != nil { | 775 | if templ_7745c5c3_Err != nil { | ||
| 780 | return templ_7745c5c3_Err | 776 | return templ_7745c5c3_Err | ||
| 781 | } | 777 | } | ||
| 782 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\" data-sv-confirm=\"Delete this search shortcut?\" aria-label=\"") | 778 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\" data-sv-confirm=\"Delete this search shortcut?\" aria-label=\"") |
| 783 | if templ_7745c5c3_Err != nil { | 779 | if templ_7745c5c3_Err != nil { | ||
| 784 | return templ_7745c5c3_Err | 780 | return templ_7745c5c3_Err | ||
| 785 | } | 781 | } | ||
| @@ -792,7 +788,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 792 | if templ_7745c5c3_Err != nil { | 788 | if templ_7745c5c3_Err != nil { | ||
| 793 | return templ_7745c5c3_Err | 789 | return templ_7745c5c3_Err | ||
| 794 | } | 790 | } | ||
| 795 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\">") | 791 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "\">") |
| 796 | if templ_7745c5c3_Err != nil { | 792 | if templ_7745c5c3_Err != nil { | ||
| 797 | return templ_7745c5c3_Err | 793 | return templ_7745c5c3_Err | ||
| 798 | } | 794 | } | ||
| @@ -800,7 +796,7 @@ func SearchShortcutItem(shortcut searchShortcutRow) templ.Component { | |||||
| 800 | if templ_7745c5c3_Err != nil { | 796 | if templ_7745c5c3_Err != nil { | ||
| 801 | return templ_7745c5c3_Err | 797 | return templ_7745c5c3_Err | ||
| 802 | } | 798 | } | ||
| 803 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</button></form></li>") | 799 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</button></form></li>") |
| 804 | if templ_7745c5c3_Err != nil { | 800 | if templ_7745c5c3_Err != nil { | ||
| 805 | return templ_7745c5c3_Err | 801 | return templ_7745c5c3_Err | ||
| 806 | } | 802 | } | ||
| @@ -830,57 +826,57 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 830 | } | 826 | } | ||
| 831 | ctx = templ.ClearChildren(ctx) | 827 | ctx = templ.ClearChildren(ctx) | ||
| 832 | customProfile := performanceProfileSelected(config.Performance.Profile, "custom") | 828 | customProfile := performanceProfileSelected(config.Performance.Profile, "custom") | ||
| 833 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.performance.save\" data-sv-performance-form><label><span>Profile</span><select name=\"profile\" data-sv-performance-profile><option value=\"default\"") | 829 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "<form class=\"sv-card-form sv-config-form\" data-sv-action=\"config.performance.save\" data-sv-performance-form><label><span>Profile</span><select name=\"profile\" data-sv-performance-profile><option value=\"default\"") |
| 834 | if templ_7745c5c3_Err != nil { | 830 | if templ_7745c5c3_Err != nil { | ||
| 835 | return templ_7745c5c3_Err | 831 | return templ_7745c5c3_Err | ||
| 836 | } | 832 | } | ||
| 837 | if performanceProfileSelected(config.Performance.Profile, "default") { | 833 | if performanceProfileSelected(config.Performance.Profile, "default") { | ||
| 838 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, " selected") | 834 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, " selected") |
| 839 | if templ_7745c5c3_Err != nil { | 835 | if templ_7745c5c3_Err != nil { | ||
| 840 | return templ_7745c5c3_Err | 836 | return templ_7745c5c3_Err | ||
| 841 | } | 837 | } | ||
| 842 | } | 838 | } | ||
| 843 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, ">Default</option> <option value=\"balanced\"") | 839 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, ">Default</option> <option value=\"balanced\"") |
| 844 | if templ_7745c5c3_Err != nil { | 840 | if templ_7745c5c3_Err != nil { | ||
| 845 | return templ_7745c5c3_Err | 841 | return templ_7745c5c3_Err | ||
| 846 | } | 842 | } | ||
| 847 | if performanceProfileSelected(config.Performance.Profile, "balanced") { | 843 | if performanceProfileSelected(config.Performance.Profile, "balanced") { | ||
| 848 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, " selected") | 844 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, " selected") |
| 849 | if templ_7745c5c3_Err != nil { | 845 | if templ_7745c5c3_Err != nil { | ||
| 850 | return templ_7745c5c3_Err | 846 | return templ_7745c5c3_Err | ||
| 851 | } | 847 | } | ||
| 852 | } | 848 | } | ||
| 853 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, ">Balanced</option> <option value=\"lite\"") | 849 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, ">Balanced</option> <option value=\"lite\"") |
| 854 | if templ_7745c5c3_Err != nil { | 850 | if templ_7745c5c3_Err != nil { | ||
| 855 | return templ_7745c5c3_Err | 851 | return templ_7745c5c3_Err | ||
| 856 | } | 852 | } | ||
| 857 | if performanceProfileSelected(config.Performance.Profile, "lite") { | 853 | if performanceProfileSelected(config.Performance.Profile, "lite") { | ||
| 858 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, " selected") | 854 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, " selected") |
| 859 | if templ_7745c5c3_Err != nil { | 855 | if templ_7745c5c3_Err != nil { | ||
| 860 | return templ_7745c5c3_Err | 856 | return templ_7745c5c3_Err | ||
| 861 | } | 857 | } | ||
| 862 | } | 858 | } | ||
| 863 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, ">Lite</option> <option value=\"max\"") | 859 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, ">Lite</option> <option value=\"max\"") |
| 864 | if templ_7745c5c3_Err != nil { | 860 | if templ_7745c5c3_Err != nil { | ||
| 865 | return templ_7745c5c3_Err | 861 | return templ_7745c5c3_Err | ||
| 866 | } | 862 | } | ||
| 867 | if performanceProfileSelected(config.Performance.Profile, "max") { | 863 | if performanceProfileSelected(config.Performance.Profile, "max") { | ||
| 868 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, " selected") | 864 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, " selected") |
| 869 | if templ_7745c5c3_Err != nil { | 865 | if templ_7745c5c3_Err != nil { | ||
| 870 | return templ_7745c5c3_Err | 866 | return templ_7745c5c3_Err | ||
| 871 | } | 867 | } | ||
| 872 | } | 868 | } | ||
| 873 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, ">Max</option> <option value=\"custom\"") | 869 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, ">Max</option> <option value=\"custom\"") |
| 874 | if templ_7745c5c3_Err != nil { | 870 | if templ_7745c5c3_Err != nil { | ||
| 875 | return templ_7745c5c3_Err | 871 | return templ_7745c5c3_Err | ||
| 876 | } | 872 | } | ||
| 877 | if performanceProfileSelected(config.Performance.Profile, "custom") { | 873 | if performanceProfileSelected(config.Performance.Profile, "custom") { | ||
| 878 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, " selected") | 874 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, " selected") |
| 879 | if templ_7745c5c3_Err != nil { | 875 | if templ_7745c5c3_Err != nil { | ||
| 880 | return templ_7745c5c3_Err | 876 | return templ_7745c5c3_Err | ||
| 881 | } | 877 | } | ||
| 882 | } | 878 | } | ||
| 883 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, ">Custom</option></select></label><p class=\"sv-meta\">Choose Custom to edit individual performance values.</p><label><span>Skia CPU threads</span><input name=\"skia_cpu_threads\" type=\"number\" min=\"0\" max=\"8\" value=\"") | 879 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, ">Custom</option></select></label><p class=\"sv-meta\">Choose Custom to edit individual performance values.</p><label><span>Skia CPU threads</span><input name=\"skia_cpu_threads\" type=\"number\" min=\"0\" max=\"8\" value=\"") |
| 884 | if templ_7745c5c3_Err != nil { | 880 | if templ_7745c5c3_Err != nil { | ||
| 885 | return templ_7745c5c3_Err | 881 | return templ_7745c5c3_Err | ||
| 886 | } | 882 | } | ||
| @@ -893,17 +889,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 893 | if templ_7745c5c3_Err != nil { | 889 | if templ_7745c5c3_Err != nil { | ||
| 894 | return templ_7745c5c3_Err | 890 | return templ_7745c5c3_Err | ||
| 895 | } | 891 | } | ||
| 896 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\"") | 892 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "\"") |
| 897 | if templ_7745c5c3_Err != nil { | 893 | if templ_7745c5c3_Err != nil { | ||
| 898 | return templ_7745c5c3_Err | 894 | return templ_7745c5c3_Err | ||
| 899 | } | 895 | } | ||
| 900 | if !customProfile { | 896 | if !customProfile { | ||
| 901 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, " disabled") | 897 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, " disabled") |
| 902 | if templ_7745c5c3_Err != nil { | 898 | if templ_7745c5c3_Err != nil { | ||
| 903 | return templ_7745c5c3_Err | 899 | return templ_7745c5c3_Err | ||
| 904 | } | 900 | } | ||
| 905 | } | 901 | } | ||
| 906 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " data-sv-performance-custom></label> <label><span>Skia GPU threads</span><input name=\"skia_gpu_threads\" type=\"number\" min=\"-1\" max=\"8\" value=\"") | 902 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, " data-sv-performance-custom></label> <label><span>Skia GPU threads</span><input name=\"skia_gpu_threads\" type=\"number\" min=\"-1\" max=\"8\" value=\"") |
| 907 | if templ_7745c5c3_Err != nil { | 903 | if templ_7745c5c3_Err != nil { | ||
| 908 | return templ_7745c5c3_Err | 904 | return templ_7745c5c3_Err | ||
| 909 | } | 905 | } | ||
| @@ -916,17 +912,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 916 | if templ_7745c5c3_Err != nil { | 912 | if templ_7745c5c3_Err != nil { | ||
| 917 | return templ_7745c5c3_Err | 913 | return templ_7745c5c3_Err | ||
| 918 | } | 914 | } | ||
| 919 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "\"") | 915 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "\"") |
| 920 | if templ_7745c5c3_Err != nil { | 916 | if templ_7745c5c3_Err != nil { | ||
| 921 | return templ_7745c5c3_Err | 917 | return templ_7745c5c3_Err | ||
| 922 | } | 918 | } | ||
| 923 | if !customProfile { | 919 | if !customProfile { | ||
| 924 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " disabled") | 920 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, " disabled") |
| 925 | if templ_7745c5c3_Err != nil { | 921 | if templ_7745c5c3_Err != nil { | ||
| 926 | return templ_7745c5c3_Err | 922 | return templ_7745c5c3_Err | ||
| 927 | } | 923 | } | ||
| 928 | } | 924 | } | ||
| 929 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, " data-sv-performance-custom></label> <label><span>Web process memory MB</span><input name=\"web_process_memory_mb\" type=\"number\" min=\"0\" max=\"16384\" value=\"") | 925 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " data-sv-performance-custom></label> <label><span>Web process memory MB</span><input name=\"web_process_memory_mb\" type=\"number\" min=\"0\" max=\"16384\" value=\"") |
| 930 | if templ_7745c5c3_Err != nil { | 926 | if templ_7745c5c3_Err != nil { | ||
| 931 | return templ_7745c5c3_Err | 927 | return templ_7745c5c3_Err | ||
| 932 | } | 928 | } | ||
| @@ -939,17 +935,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 939 | if templ_7745c5c3_Err != nil { | 935 | if templ_7745c5c3_Err != nil { | ||
| 940 | return templ_7745c5c3_Err | 936 | return templ_7745c5c3_Err | ||
| 941 | } | 937 | } | ||
| 942 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "\"") | 938 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "\"") |
| 943 | if templ_7745c5c3_Err != nil { | 939 | if templ_7745c5c3_Err != nil { | ||
| 944 | return templ_7745c5c3_Err | 940 | return templ_7745c5c3_Err | ||
| 945 | } | 941 | } | ||
| 946 | if !customProfile { | 942 | if !customProfile { | ||
| 947 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " disabled") | 943 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, " disabled") |
| 948 | if templ_7745c5c3_Err != nil { | 944 | if templ_7745c5c3_Err != nil { | ||
| 949 | return templ_7745c5c3_Err | 945 | return templ_7745c5c3_Err | ||
| 950 | } | 946 | } | ||
| 951 | } | 947 | } | ||
| 952 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, " data-sv-performance-custom></label> <label><span>Network process memory MB</span><input name=\"network_process_memory_mb\" type=\"number\" min=\"0\" max=\"4096\" value=\"") | 948 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " data-sv-performance-custom></label> <label><span>Network process memory MB</span><input name=\"network_process_memory_mb\" type=\"number\" min=\"0\" max=\"4096\" value=\"") |
| 953 | if templ_7745c5c3_Err != nil { | 949 | if templ_7745c5c3_Err != nil { | ||
| 954 | return templ_7745c5c3_Err | 950 | return templ_7745c5c3_Err | ||
| 955 | } | 951 | } | ||
| @@ -962,17 +958,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 962 | if templ_7745c5c3_Err != nil { | 958 | if templ_7745c5c3_Err != nil { | ||
| 963 | return templ_7745c5c3_Err | 959 | return templ_7745c5c3_Err | ||
| 964 | } | 960 | } | ||
| 965 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "\"") | 961 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "\"") |
| 966 | if templ_7745c5c3_Err != nil { | 962 | if templ_7745c5c3_Err != nil { | ||
| 967 | return templ_7745c5c3_Err | 963 | return templ_7745c5c3_Err | ||
| 968 | } | 964 | } | ||
| 969 | if !customProfile { | 965 | if !customProfile { | ||
| 970 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, " disabled") | 966 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, " disabled") |
| 971 | if templ_7745c5c3_Err != nil { | 967 | if templ_7745c5c3_Err != nil { | ||
| 972 | return templ_7745c5c3_Err | 968 | return templ_7745c5c3_Err | ||
| 973 | } | 969 | } | ||
| 974 | } | 970 | } | ||
| 975 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, " data-sv-performance-custom></label> <label><span>WebView pool prewarm</span><input name=\"webview_pool_prewarm\" type=\"number\" min=\"0\" max=\"20\" value=\"") | 971 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, " data-sv-performance-custom></label> <label><span>WebView pool prewarm</span><input name=\"webview_pool_prewarm\" type=\"number\" min=\"0\" max=\"20\" value=\"") |
| 976 | if templ_7745c5c3_Err != nil { | 972 | if templ_7745c5c3_Err != nil { | ||
| 977 | return templ_7745c5c3_Err | 973 | return templ_7745c5c3_Err | ||
| 978 | } | 974 | } | ||
| @@ -985,17 +981,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 985 | if templ_7745c5c3_Err != nil { | 981 | if templ_7745c5c3_Err != nil { | ||
| 986 | return templ_7745c5c3_Err | 982 | return templ_7745c5c3_Err | ||
| 987 | } | 983 | } | ||
| 988 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "\"") | 984 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "\"") |
| 989 | if templ_7745c5c3_Err != nil { | 985 | if templ_7745c5c3_Err != nil { | ||
| 990 | return templ_7745c5c3_Err | 986 | return templ_7745c5c3_Err | ||
| 991 | } | 987 | } | ||
| 992 | if !customProfile { | 988 | if !customProfile { | ||
| 993 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, " disabled") | 989 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, " disabled") |
| 994 | if templ_7745c5c3_Err != nil { | 990 | if templ_7745c5c3_Err != nil { | ||
| 995 | return templ_7745c5c3_Err | 991 | return templ_7745c5c3_Err | ||
| 996 | } | 992 | } | ||
| 997 | } | 993 | } | ||
| 998 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, " data-sv-performance-custom></label> <button class=\"sv-button\" type=\"submit\">") | 994 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, " data-sv-performance-custom></label> <button class=\"sv-button\" type=\"submit\">") |
| 999 | if templ_7745c5c3_Err != nil { | 995 | if templ_7745c5c3_Err != nil { | ||
| 1000 | return templ_7745c5c3_Err | 996 | return templ_7745c5c3_Err | ||
| 1001 | } | 997 | } | ||
| @@ -1003,7 +999,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 1003 | if templ_7745c5c3_Err != nil { | 999 | if templ_7745c5c3_Err != nil { | ||
| 1004 | return templ_7745c5c3_Err | 1000 | return templ_7745c5c3_Err | ||
| 1005 | } | 1001 | } | ||
| 1006 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</button></form><div class=\"sv-stat-grid\"><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | 1002 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</button></form><div class=\"sv-stat-grid\"><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") |
| 1007 | if templ_7745c5c3_Err != nil { | 1003 | if templ_7745c5c3_Err != nil { | ||
| 1008 | return templ_7745c5c3_Err | 1004 | return templ_7745c5c3_Err | ||
| 1009 | } | 1005 | } | ||
| @@ -1016,7 +1012,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 1016 | if templ_7745c5c3_Err != nil { | 1012 | if templ_7745c5c3_Err != nil { | ||
| 1017 | return templ_7745c5c3_Err | 1013 | return templ_7745c5c3_Err | ||
| 1018 | } | 1014 | } | ||
| 1019 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</span><span class=\"sv-stat-label\">CPU threads</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | 1015 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</span><span class=\"sv-stat-label\">CPU threads</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") |
| 1020 | if templ_7745c5c3_Err != nil { | 1016 | if templ_7745c5c3_Err != nil { | ||
| 1021 | return templ_7745c5c3_Err | 1017 | return templ_7745c5c3_Err | ||
| 1022 | } | 1018 | } | ||
| @@ -1029,7 +1025,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 1029 | if templ_7745c5c3_Err != nil { | 1025 | if templ_7745c5c3_Err != nil { | ||
| 1030 | return templ_7745c5c3_Err | 1026 | return templ_7745c5c3_Err | ||
| 1031 | } | 1027 | } | ||
| 1032 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "</span><span class=\"sv-stat-label\">RAM MB</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | 1028 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</span><span class=\"sv-stat-label\">RAM MB</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") |
| 1033 | if templ_7745c5c3_Err != nil { | 1029 | if templ_7745c5c3_Err != nil { | ||
| 1034 | return templ_7745c5c3_Err | 1030 | return templ_7745c5c3_Err | ||
| 1035 | } | 1031 | } | ||
| @@ -1042,7 +1038,7 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 1042 | if templ_7745c5c3_Err != nil { | 1038 | if templ_7745c5c3_Err != nil { | ||
| 1043 | return templ_7745c5c3_Err | 1039 | return templ_7745c5c3_Err | ||
| 1044 | } | 1040 | } | ||
| 1045 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span><span class=\"sv-stat-label\">GPU</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") | 1041 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "</span><span class=\"sv-stat-label\">GPU</span></div><div class=\"sv-stat-card\"><span class=\"sv-stat-value\">") |
| 1046 | if templ_7745c5c3_Err != nil { | 1042 | if templ_7745c5c3_Err != nil { | ||
| 1047 | return templ_7745c5c3_Err | 1043 | return templ_7745c5c3_Err | ||
| 1048 | } | 1044 | } | ||
| @@ -1055,17 +1051,17 @@ func PerformanceSettings(config dto.SystemviewConfigPayload) templ.Component { | |||||
| 1055 | if templ_7745c5c3_Err != nil { | 1051 | if templ_7745c5c3_Err != nil { | ||
| 1056 | return templ_7745c5c3_Err | 1052 | return templ_7745c5c3_Err | ||
| 1057 | } | 1053 | } | ||
| 1058 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "</span><span class=\"sv-stat-label\">Engine</span></div></div>") | 1054 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span><span class=\"sv-stat-label\">Engine</span></div></div>") |
| 1059 | if templ_7745c5c3_Err != nil { | 1055 | if templ_7745c5c3_Err != nil { | ||
| 1060 | return templ_7745c5c3_Err | 1056 | return templ_7745c5c3_Err | ||
| 1061 | } | 1057 | } | ||
| 1062 | if !engineIsWebKit(config.EngineType) { | 1058 | if !engineIsWebKit(config.EngineType) { | ||
| 1063 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<p class=\"sv-meta\">Performance tuning applies only to the WebKit engine.</p>") | 1059 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "<p class=\"sv-meta\">Performance tuning applies only to the WebKit engine.</p>") |
| 1064 | if templ_7745c5c3_Err != nil { | 1060 | if templ_7745c5c3_Err != nil { | ||
| 1065 | return templ_7745c5c3_Err | 1061 | return templ_7745c5c3_Err | ||
| 1066 | } | 1062 | } | ||
| 1067 | } else { | 1063 | } else { | ||
| 1068 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<p class=\"sv-meta\">Performance profile changes may require restarting the browser to affect existing engine processes.</p>") | 1064 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<p class=\"sv-meta\">Performance profile changes may require restarting the browser to affect existing engine processes.</p>") |
| 1069 | if templ_7745c5c3_Err != nil { | 1065 | if templ_7745c5c3_Err != nil { | ||
| 1070 | return templ_7745c5c3_Err | 1066 | return templ_7745c5c3_Err | ||
| 1071 | } | 1067 | } | ||
| @@ -1107,7 +1103,7 @@ func ConfigKeybindings(keybindings port.KeybindingsConfig) templ.Component { | |||||
| 1107 | return templ_7745c5c3_Err | 1103 | return templ_7745c5c3_Err | ||
| 1108 | } | 1104 | } | ||
| 1109 | } else { | 1105 | } else { | ||
| 1110 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "<div class=\"sv-button-row\"><button class=\"sv-button sv-button-secondary sv-button-danger\" type=\"button\" data-sv-action=\"config.keybinding.resetAll\" data-sv-confirm=\"Reset all keybindings to defaults?\">") | 1106 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<div class=\"sv-button-row\"><button class=\"sv-button sv-button-secondary sv-button-danger\" type=\"button\" data-sv-action=\"config.keybinding.resetAll\" data-sv-confirm=\"Reset all keybindings to defaults?\">") |
| 1111 | if templ_7745c5c3_Err != nil { | 1107 | if templ_7745c5c3_Err != nil { | ||
| 1112 | return templ_7745c5c3_Err | 1108 | return templ_7745c5c3_Err | ||
| 1113 | } | 1109 | } | ||
| @@ -1115,7 +1111,7 @@ func ConfigKeybindings(keybindings port.KeybindingsConfig) templ.Component { | |||||
| 1115 | if templ_7745c5c3_Err != nil { | 1111 | if templ_7745c5c3_Err != nil { | ||
| 1116 | return templ_7745c5c3_Err | 1112 | return templ_7745c5c3_Err | ||
| 1117 | } | 1113 | } | ||
| 1118 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "</button></div>") | 1114 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "</button></div>") |
| 1119 | if templ_7745c5c3_Err != nil { | 1115 | if templ_7745c5c3_Err != nil { | ||
| 1120 | return templ_7745c5c3_Err | 1116 | return templ_7745c5c3_Err | ||
| 1121 | } | 1117 | } | ||
| @@ -1151,7 +1147,7 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||||
| 1151 | templ_7745c5c3_Var53 = templ.NopComponent | 1147 | templ_7745c5c3_Var53 = templ.NopComponent | ||
| 1152 | } | 1148 | } | ||
| 1153 | ctx = templ.ClearChildren(ctx) | 1149 | ctx = templ.ClearChildren(ctx) | ||
| 1154 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "<div class=\"sv-group\"><div class=\"sv-group-header\"><div><h4>") | 1150 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "<div class=\"sv-group\"><div class=\"sv-group-header\"><div><h4>") |
| 1155 | if templ_7745c5c3_Err != nil { | 1151 | if templ_7745c5c3_Err != nil { | ||
| 1156 | return templ_7745c5c3_Err | 1152 | return templ_7745c5c3_Err | ||
| 1157 | } | 1153 | } | ||
| @@ -1164,12 +1160,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||||
| 1164 | if templ_7745c5c3_Err != nil { | 1160 | if templ_7745c5c3_Err != nil { | ||
| 1165 | return templ_7745c5c3_Err | 1161 | return templ_7745c5c3_Err | ||
| 1166 | } | 1162 | } | ||
| 1167 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "</h4>") | 1163 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "</h4>") |
| 1168 | if templ_7745c5c3_Err != nil { | 1164 | if templ_7745c5c3_Err != nil { | ||
| 1169 | return templ_7745c5c3_Err | 1165 | return templ_7745c5c3_Err | ||
| 1170 | } | 1166 | } | ||
| 1171 | if keybindingGroupMeta(group) != "" { | 1167 | if keybindingGroupMeta(group) != "" { | ||
| 1172 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "<p class=\"sv-meta\">") | 1168 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<p class=\"sv-meta\">") |
| 1173 | if templ_7745c5c3_Err != nil { | 1169 | if templ_7745c5c3_Err != nil { | ||
| 1174 | return templ_7745c5c3_Err | 1170 | return templ_7745c5c3_Err | ||
| 1175 | } | 1171 | } | ||
| @@ -1182,12 +1178,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||||
| 1182 | if templ_7745c5c3_Err != nil { | 1178 | if templ_7745c5c3_Err != nil { | ||
| 1183 | return templ_7745c5c3_Err | 1179 | return templ_7745c5c3_Err | ||
| 1184 | } | 1180 | } | ||
| 1185 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "</p>") | 1181 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</p>") |
| 1186 | if templ_7745c5c3_Err != nil { | 1182 | if templ_7745c5c3_Err != nil { | ||
| 1187 | return templ_7745c5c3_Err | 1183 | return templ_7745c5c3_Err | ||
| 1188 | } | 1184 | } | ||
| 1189 | } | 1185 | } | ||
| 1190 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "</div></div><div class=\"sv-group-body\">") | 1186 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "</div></div><div class=\"sv-group-body\">") |
| 1191 | if templ_7745c5c3_Err != nil { | 1187 | if templ_7745c5c3_Err != nil { | ||
| 1192 | return templ_7745c5c3_Err | 1188 | return templ_7745c5c3_Err | ||
| 1193 | } | 1189 | } | ||
| @@ -1197,7 +1193,7 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||||
| 1197 | return templ_7745c5c3_Err | 1193 | return templ_7745c5c3_Err | ||
| 1198 | } | 1194 | } | ||
| 1199 | } else { | 1195 | } else { | ||
| 1200 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "<ul class=\"sv-list\">") | 1196 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "<ul class=\"sv-list\">") |
| 1201 | if templ_7745c5c3_Err != nil { | 1197 | if templ_7745c5c3_Err != nil { | ||
| 1202 | return templ_7745c5c3_Err | 1198 | return templ_7745c5c3_Err | ||
| 1203 | } | 1199 | } | ||
| @@ -1207,12 +1203,12 @@ func ConfigKeybindingGroup(group renderedKeybindingGroup) templ.Component { | |||||
| 1207 | return templ_7745c5c3_Err | 1203 | return templ_7745c5c3_Err | ||
| 1208 | } | 1204 | } | ||
| 1209 | } | 1205 | } | ||
| 1210 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</ul>") | 1206 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</ul>") |
| 1211 | if templ_7745c5c3_Err != nil { | 1207 | if templ_7745c5c3_Err != nil { | ||
| 1212 | return templ_7745c5c3_Err | 1208 | return templ_7745c5c3_Err | ||
| 1213 | } | 1209 | } | ||
| 1214 | } | 1210 | } | ||
| 1215 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "</div></div>") | 1211 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</div></div>") |
| 1216 | if templ_7745c5c3_Err != nil { | 1212 | if templ_7745c5c3_Err != nil { | ||
| 1217 | return templ_7745c5c3_Err | 1213 | return templ_7745c5c3_Err | ||
| 1218 | } | 1214 | } | ||
| @@ -1241,7 +1237,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1241 | templ_7745c5c3_Var56 = templ.NopComponent | 1237 | templ_7745c5c3_Var56 = templ.NopComponent | ||
| 1242 | } | 1238 | } | ||
| 1243 | ctx = templ.ClearChildren(ctx) | 1239 | ctx = templ.ClearChildren(ctx) | ||
| 1244 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "<li class=\"sv-list-row\"><div class=\"sv-keybinding-row\"><div><strong>") | 1240 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<li class=\"sv-list-row\"><div class=\"sv-keybinding-row\"><div><strong>") |
| 1245 | if templ_7745c5c3_Err != nil { | 1241 | if templ_7745c5c3_Err != nil { | ||
| 1246 | return templ_7745c5c3_Err | 1242 | return templ_7745c5c3_Err | ||
| 1247 | } | 1243 | } | ||
| @@ -1254,7 +1250,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1254 | if templ_7745c5c3_Err != nil { | 1250 | if templ_7745c5c3_Err != nil { | ||
| 1255 | return templ_7745c5c3_Err | 1251 | return templ_7745c5c3_Err | ||
| 1256 | } | 1252 | } | ||
| 1257 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "</strong><p class=\"sv-meta\">") | 1253 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</strong><p class=\"sv-meta\">") |
| 1258 | if templ_7745c5c3_Err != nil { | 1254 | if templ_7745c5c3_Err != nil { | ||
| 1259 | return templ_7745c5c3_Err | 1255 | return templ_7745c5c3_Err | ||
| 1260 | } | 1256 | } | ||
| @@ -1267,7 +1263,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1267 | if templ_7745c5c3_Err != nil { | 1263 | if templ_7745c5c3_Err != nil { | ||
| 1268 | return templ_7745c5c3_Err | 1264 | return templ_7745c5c3_Err | ||
| 1269 | } | 1265 | } | ||
| 1270 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "</p><div class=\"sv-binding-keys\">") | 1266 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "</p><div class=\"sv-binding-keys\">") |
| 1271 | if templ_7745c5c3_Err != nil { | 1267 | if templ_7745c5c3_Err != nil { | ||
| 1272 | return templ_7745c5c3_Err | 1268 | return templ_7745c5c3_Err | ||
| 1273 | } | 1269 | } | ||
| @@ -1275,7 +1271,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1275 | if templ_7745c5c3_Err != nil { | 1271 | if templ_7745c5c3_Err != nil { | ||
| 1276 | return templ_7745c5c3_Err | 1272 | return templ_7745c5c3_Err | ||
| 1277 | } | 1273 | } | ||
| 1278 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "<span class=\"sv-badge\">") | 1274 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "<span class=\"sv-badge\">") |
| 1279 | if templ_7745c5c3_Err != nil { | 1275 | if templ_7745c5c3_Err != nil { | ||
| 1280 | return templ_7745c5c3_Err | 1276 | return templ_7745c5c3_Err | ||
| 1281 | } | 1277 | } | ||
| @@ -1288,12 +1284,12 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1288 | if templ_7745c5c3_Err != nil { | 1284 | if templ_7745c5c3_Err != nil { | ||
| 1289 | return templ_7745c5c3_Err | 1285 | return templ_7745c5c3_Err | ||
| 1290 | } | 1286 | } | ||
| 1291 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</span> ") | 1287 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "</span> ") |
| 1292 | if templ_7745c5c3_Err != nil { | 1288 | if templ_7745c5c3_Err != nil { | ||
| 1293 | return templ_7745c5c3_Err | 1289 | return templ_7745c5c3_Err | ||
| 1294 | } | 1290 | } | ||
| 1295 | if keybindingIsCustom(binding) && len(binding.DefaultKeys) > 0 { | 1291 | if keybindingIsCustom(binding) && len(binding.DefaultKeys) > 0 { | ||
| 1296 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "<span class=\"sv-meta\">default:</span>") | 1292 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "<span class=\"sv-meta\">default:</span>") |
| 1297 | if templ_7745c5c3_Err != nil { | 1293 | if templ_7745c5c3_Err != nil { | ||
| 1298 | return templ_7745c5c3_Err | 1294 | return templ_7745c5c3_Err | ||
| 1299 | } | 1295 | } | ||
| @@ -1302,7 +1298,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1302 | return templ_7745c5c3_Err | 1298 | return templ_7745c5c3_Err | ||
| 1303 | } | 1299 | } | ||
| 1304 | } | 1300 | } | ||
| 1305 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "</div></div><form class=\"sv-inline-form\" data-sv-action=\"config.keybinding.set\"><input type=\"hidden\" name=\"mode\" value=\"") | 1301 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "</div></div><form class=\"sv-inline-form\" data-sv-action=\"config.keybinding.set\"><input type=\"hidden\" name=\"mode\" value=\"") |
| 1306 | if templ_7745c5c3_Err != nil { | 1302 | if templ_7745c5c3_Err != nil { | ||
| 1307 | return templ_7745c5c3_Err | 1303 | return templ_7745c5c3_Err | ||
| 1308 | } | 1304 | } | ||
| @@ -1315,7 +1311,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1315 | if templ_7745c5c3_Err != nil { | 1311 | if templ_7745c5c3_Err != nil { | ||
| 1316 | return templ_7745c5c3_Err | 1312 | return templ_7745c5c3_Err | ||
| 1317 | } | 1313 | } | ||
| 1318 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\"> <input type=\"hidden\" name=\"action\" value=\"") | 1314 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\"> <input type=\"hidden\" name=\"action\" value=\"") |
| 1319 | if templ_7745c5c3_Err != nil { | 1315 | if templ_7745c5c3_Err != nil { | ||
| 1320 | return templ_7745c5c3_Err | 1316 | return templ_7745c5c3_Err | ||
| 1321 | } | 1317 | } | ||
| @@ -1328,7 +1324,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1328 | if templ_7745c5c3_Err != nil { | 1324 | if templ_7745c5c3_Err != nil { | ||
| 1329 | return templ_7745c5c3_Err | 1325 | return templ_7745c5c3_Err | ||
| 1330 | } | 1326 | } | ||
| 1331 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "\"> <label><span>Keys</span><input name=\"keys\" type=\"text\" value=\"") | 1327 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\"> <label><span>Keys</span><input name=\"keys\" type=\"text\" value=\"") |
| 1332 | if templ_7745c5c3_Err != nil { | 1328 | if templ_7745c5c3_Err != nil { | ||
| 1333 | return templ_7745c5c3_Err | 1329 | return templ_7745c5c3_Err | ||
| 1334 | } | 1330 | } | ||
| @@ -1341,7 +1337,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1341 | if templ_7745c5c3_Err != nil { | 1337 | if templ_7745c5c3_Err != nil { | ||
| 1342 | return templ_7745c5c3_Err | 1338 | return templ_7745c5c3_Err | ||
| 1343 | } | 1339 | } | ||
| 1344 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "\" placeholder=\"ctrl+h, ctrl+shift+h\" required></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") | 1340 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "\" placeholder=\"ctrl+h, ctrl+shift+h\" required></label> <button class=\"sv-button sv-button-secondary\" type=\"submit\">") |
| 1345 | if templ_7745c5c3_Err != nil { | 1341 | if templ_7745c5c3_Err != nil { | ||
| 1346 | return templ_7745c5c3_Err | 1342 | return templ_7745c5c3_Err | ||
| 1347 | } | 1343 | } | ||
| @@ -1349,7 +1345,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1349 | if templ_7745c5c3_Err != nil { | 1345 | if templ_7745c5c3_Err != nil { | ||
| 1350 | return templ_7745c5c3_Err | 1346 | return templ_7745c5c3_Err | ||
| 1351 | } | 1347 | } | ||
| 1352 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.keybinding.reset\" data-mode=\"") | 1348 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "</button> <button class=\"sv-button sv-button-secondary\" type=\"button\" data-sv-action=\"config.keybinding.reset\" data-mode=\"") |
| 1353 | if templ_7745c5c3_Err != nil { | 1349 | if templ_7745c5c3_Err != nil { | ||
| 1354 | return templ_7745c5c3_Err | 1350 | return templ_7745c5c3_Err | ||
| 1355 | } | 1351 | } | ||
| @@ -1362,7 +1358,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1362 | if templ_7745c5c3_Err != nil { | 1358 | if templ_7745c5c3_Err != nil { | ||
| 1363 | return templ_7745c5c3_Err | 1359 | return templ_7745c5c3_Err | ||
| 1364 | } | 1360 | } | ||
| 1365 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "\" data-action=\"") | 1361 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "\" data-action=\"") |
| 1366 | if templ_7745c5c3_Err != nil { | 1362 | if templ_7745c5c3_Err != nil { | ||
| 1367 | return templ_7745c5c3_Err | 1363 | return templ_7745c5c3_Err | ||
| 1368 | } | 1364 | } | ||
| @@ -1375,7 +1371,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1375 | if templ_7745c5c3_Err != nil { | 1371 | if templ_7745c5c3_Err != nil { | ||
| 1376 | return templ_7745c5c3_Err | 1372 | return templ_7745c5c3_Err | ||
| 1377 | } | 1373 | } | ||
| 1378 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "\">") | 1374 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "\">") |
| 1379 | if templ_7745c5c3_Err != nil { | 1375 | if templ_7745c5c3_Err != nil { | ||
| 1380 | return templ_7745c5c3_Err | 1376 | return templ_7745c5c3_Err | ||
| 1381 | } | 1377 | } | ||
| @@ -1383,7 +1379,7 @@ func ConfigKeybinding(group renderedKeybindingGroup, binding renderedKeybinding) | |||||
| 1383 | if templ_7745c5c3_Err != nil { | 1379 | if templ_7745c5c3_Err != nil { | ||
| 1384 | return templ_7745c5c3_Err | 1380 | return templ_7745c5c3_Err | ||
| 1385 | } | 1381 | } | ||
| 1386 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "</button></form></div></li>") | 1382 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "</button></form></div></li>") |
| 1387 | if templ_7745c5c3_Err != nil { | 1383 | if templ_7745c5c3_Err != nil { | ||
| 1388 | return templ_7745c5c3_Err | 1384 | return templ_7745c5c3_Err | ||
| 1389 | } | 1385 | } | ||