1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-10 01:20:58 +01:00
juanfont.headscale/hscontrol
Kristoffer Dalby a550274bcb
hscontrol/templates: refactor to use CSS classes and embedded files
Refactor template system to use go:embed for external assets and
CSS classes for styling instead of inline styles:

- general.go: Add go:embed directives for style.css and headscale.svg,
  replace inline styles with CSS classes (H1, H2, H3, P, etc.),
  add mdTypesetBody wrapper with Material for MkDocs styling

- apple.go, oidc_callback.go, register_web.go, windows.go:
  Update to use new CSS-based helper functions (H1, H2, P, etc.)
  and mdTypesetBody for consistent layout

This separates content from presentation, making templates easier
to maintain and update. All styling is now centralized in style.css
with Material for MkDocs design system.
2025-10-28 16:29:00 +01:00
..
capver policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
db stricter hostname validation and replace (#2383) 2025-10-22 13:50:39 +02:00
derp policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
dns integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
mapper policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
policy policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
routes debug: add json and improve 2025-09-09 09:40:00 +02:00
state policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
templates hscontrol/templates: refactor to use CSS classes and embedded files 2025-10-28 16:29:00 +01:00
types policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
util stricter hostname validation and replace (#2383) 2025-10-22 13:50:39 +02:00
app.go integration: add tests for api bypass (#2811) 2025-10-22 16:30:25 +02:00
auth_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
auth.go stricter hostname validation and replace (#2383) 2025-10-22 13:50:39 +02:00
debug.go lint and leftover 2025-09-09 09:40:00 +02:00
grpcv1_test.go
grpcv1.go add health command (#2659) 2025-10-16 12:00:11 +00:00
handlers.go lint and leftover 2025-09-09 09:40:00 +02:00
metrics.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
noise.go lint and leftover 2025-09-09 09:40:00 +02:00
oidc_template_test.go templates: migrate OIDC callback to elem-go 2025-10-24 15:43:29 +02:00
oidc.go templates: migrate OIDC callback to elem-go 2025-10-24 15:43:29 +02:00
platform_config.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
poll.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
suite_test.go
tailsql.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00