Documentation
¶
Overview ¶
Package statuspage is the one look of the small static pages the laboratory serves to a browser: the VPN check page inside the tunnel and the proxy's error cards. Style, theme switch and its script live here once.
Index ¶
Constants ¶
View Source
const Rule template.HTML = `<span class="rule" aria-hidden="true"></span>`
Rule is the short brand-colour line under the title.
Variables ¶
This section is empty.
Functions ¶
func Favicon ¶
Favicon is the platform icon (32x32 PNG) as a data URI for <link rel="icon">: the pages cannot load it from a platform host.
Types ¶
type State ¶
type State string
State is the kind of a card: it picks the icon colour and glyph.
const ( // StateOK is a success (VPN connected): green check. StateOK State = "ok" // StateWait is a card that asks the visitor to act or wait (session ended, too many requests, // the task not ready): amber clock. StateWait State = "warn" // internal error): red slashed circle. StateUnavailable State = "danger" )
Click to show internal directories.
Click to hide internal directories.