2024-10-04 04:39:24 -07:00
|
|
|
package templates
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
|
|
"github.com/chasefleming/elem-go"
|
|
|
|
|
"github.com/chasefleming/elem-go/attrs"
|
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
|
|
|
"github.com/chasefleming/elem-go/styles"
|
2024-10-04 04:39:24 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func Apple(url string) *elem.Element {
|
|
|
|
|
return HtmlStructure(
|
|
|
|
|
elem.Title(nil,
|
|
|
|
|
elem.Text("headscale - Apple")),
|
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
|
|
|
mdTypesetBody(
|
|
|
|
|
headscaleLogo(),
|
|
|
|
|
H1(elem.Text("iOS configuration")),
|
|
|
|
|
H2(elem.Text("GUI")),
|
|
|
|
|
Ol(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
2024-10-04 04:39:24 -07:00
|
|
|
elem.Text("Install the official Tailscale iOS client from the "),
|
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
|
|
|
externalLink("https://apps.apple.com/app/tailscale/id1470499037", "App Store"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2025-01-13 17:09:53 +05:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Open the "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale")),
|
|
|
|
|
elem.Text(" app"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Click the account icon in the top-right corner and select "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Log in…")),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2025-01-13 17:09:53 +05:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Tap the top-right options menu button and select "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Use custom coordination server")),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Enter your instance URL: "),
|
|
|
|
|
Code(elem.Text(url)),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
|
|
|
|
elem.Text(
|
|
|
|
|
"Enter your credentials and log in. Headscale should now be working on your iOS device",
|
|
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
),
|
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
|
|
|
H1(elem.Text("macOS configuration")),
|
|
|
|
|
H2(elem.Text("Command line")),
|
|
|
|
|
P(
|
2024-10-04 04:39:24 -07:00
|
|
|
elem.Text("Use Tailscale's login command to add your profile:"),
|
|
|
|
|
),
|
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
|
|
|
Pre(PreCode("tailscale login --login-server "+url)),
|
|
|
|
|
H2(elem.Text("GUI")),
|
|
|
|
|
Ol(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Option + Click the "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale")),
|
|
|
|
|
elem.Text(" icon in the menu and hover over the "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Debug")),
|
|
|
|
|
elem.Text(" menu"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Under "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Custom Login Server")),
|
|
|
|
|
elem.Text(", select "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Add Account...")),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Enter "),
|
|
|
|
|
Code(elem.Text(url)),
|
|
|
|
|
elem.Text(" of the headscale instance and press "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Add Account")),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Follow the login procedure in the browser"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
),
|
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
|
|
|
H2(elem.Text("Profiles")),
|
|
|
|
|
P(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Text(
|
|
|
|
|
"Headscale can be set to the default server by installing a Headscale configuration profile:",
|
|
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
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
|
|
|
elem.Div(attrs.Props{attrs.Style: styles.Props{styles.MarginTop: spaceL, styles.MarginBottom: spaceL}.ToInline()},
|
|
|
|
|
downloadButton("/apple/macos-app-store", "macOS AppStore profile"),
|
|
|
|
|
downloadButton("/apple/macos-standalone", "macOS Standalone profile"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
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
|
|
|
Ol(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
|
|
|
|
elem.Text(
|
|
|
|
|
"Download the profile, then open it. When it has been opened, there should be a notification that a profile can be installed",
|
|
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Open "),
|
|
|
|
|
elem.Strong(nil, elem.Text("System Preferences")),
|
|
|
|
|
elem.Text(" and go to "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Profiles")),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Find and install the "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Headscale")),
|
|
|
|
|
elem.Text(" profile"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Restart "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale.app")),
|
|
|
|
|
elem.Text(" and log in"),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
),
|
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
|
|
|
orDivider(),
|
|
|
|
|
P(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Text(
|
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
|
|
|
"Use your terminal to configure the default setting for Tailscale by issuing one of the following commands:",
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
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
|
|
|
P(elem.Text("For app store client:")),
|
|
|
|
|
Pre(PreCode("defaults write io.tailscale.ipn.macos ControlURL "+url)),
|
|
|
|
|
P(elem.Text("For standalone client:")),
|
|
|
|
|
Pre(PreCode("defaults write io.tailscale.ipn.macsys ControlURL "+url)),
|
|
|
|
|
P(
|
|
|
|
|
elem.Text("Restart "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale.app")),
|
|
|
|
|
elem.Text(" and log in."),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
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
|
|
|
warningBox("Caution", "You should always download and inspect the profile before installing it."),
|
|
|
|
|
P(elem.Text("For app store client:")),
|
|
|
|
|
Pre(PreCode(fmt.Sprintf(`curl %s/apple/macos-app-store`, url))),
|
|
|
|
|
P(elem.Text("For standalone client:")),
|
|
|
|
|
Pre(PreCode(fmt.Sprintf(`curl %s/apple/macos-standalone`, url))),
|
|
|
|
|
H1(elem.Text("tvOS configuration")),
|
|
|
|
|
H2(elem.Text("GUI")),
|
|
|
|
|
Ol(
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
|
|
|
|
elem.Text("Install the official Tailscale tvOS client from the "),
|
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
|
|
|
externalLink("https://apps.apple.com/app/tailscale/id1470499037", "App Store"),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Open "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Settings")),
|
|
|
|
|
elem.Text(" (the Apple tvOS settings) > "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Apps")),
|
|
|
|
|
elem.Text(" > "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale")),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(
|
|
|
|
|
nil,
|
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
|
|
|
elem.Text("Enter "),
|
|
|
|
|
Code(elem.Text(url)),
|
|
|
|
|
elem.Text(" under "),
|
|
|
|
|
elem.Strong(nil, elem.Text("ALTERNATE COORDINATION SERVER URL")),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
2024-11-07 15:56:18 +01:00
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Return to the tvOS "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Home")),
|
|
|
|
|
elem.Text(" screen"),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Open "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Tailscale")),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Select "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Install VPN configuration")),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
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
|
|
|
elem.Text("Select "),
|
|
|
|
|
elem.Strong(nil, elem.Text("Allow")),
|
2024-11-07 15:56:18 +01:00
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
|
|
|
|
elem.Text("Scan the QR code and follow the login procedure"),
|
|
|
|
|
),
|
|
|
|
|
elem.Li(nil,
|
|
|
|
|
elem.Text("Headscale should now be working on your tvOS device"),
|
|
|
|
|
),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
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
|
|
|
pageFooter(),
|
2024-10-04 04:39:24 -07:00
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
}
|