You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/ui/ui.go
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,16 @@ import (
10
10
)
11
11
12
12
const (
13
-
defaultTitle="Health Dashboard | Gatus"
14
-
defaultDescription="Gatus is an advanced automated status page that lets you monitor your applications and configure alerts to notify you if there's an issue"
15
-
defaultHeader="Gatus"
16
-
defaultDashboardTitle="Health Dashboard"
17
-
defaultDashboardDescription="Monitor the health of your endpoints in real-time"
18
-
defaultLogo=""
19
-
defaultLink=""
20
-
defaultCustomCSS=""
21
-
defaultSortBy="name"
22
-
defaultFilterBy="none"
13
+
defaultTitle="Health Dashboard | Gatus"
14
+
defaultDescription="Gatus is an advanced automated status page that lets you monitor your applications and configure alerts to notify you if there's an issue"
15
+
defaultHeader="Gatus"
16
+
defaultDashboardHeading="Health Dashboard"
17
+
defaultDashboardSubheading="Monitor the health of your endpoints in real-time"
18
+
defaultLogo=""
19
+
defaultLink=""
20
+
defaultCustomCSS=""
21
+
defaultSortBy="name"
22
+
defaultFilterBy="none"
23
23
)
24
24
25
25
var (
@@ -32,18 +32,18 @@ var (
32
32
33
33
// Config is the configuration for the UI of Gatus
34
34
typeConfigstruct {
35
-
Titlestring`yaml:"title,omitempty"`// Title of the page
36
-
Descriptionstring`yaml:"description,omitempty"`// Meta description of the page
37
-
DashboardTitlestring`yaml:"dashboard-title,omitempty"`// Dashboard Title between header and endpoints
38
-
DashboardDescriptionstring`yaml:"dashboard-description,omitempty"`// Dashboard Description between header and endpoints
39
-
Headerstring`yaml:"header,omitempty"`// Header is the text at the top of the page
40
-
Logostring`yaml:"logo,omitempty"`// Logo to display on the page
41
-
Linkstring`yaml:"link,omitempty"`// Link to open when clicking on the logo
42
-
Buttons[]Button`yaml:"buttons,omitempty"`// Buttons to display below the header
43
-
CustomCSSstring`yaml:"custom-css,omitempty"`// Custom CSS to include in the page
44
-
DarkMode*bool`yaml:"dark-mode,omitempty"`// DarkMode is a flag to enable dark mode by default
45
-
DefaultSortBystring`yaml:"default-sort-by,omitempty"`// DefaultSortBy is the default sort option ('name', 'group', 'health')
46
-
DefaultFilterBystring`yaml:"default-filter-by,omitempty"`// DefaultFilterBy is the default filter option ('none', 'failing', 'unstable')
35
+
Titlestring`yaml:"title,omitempty"`// Title of the page
36
+
Descriptionstring`yaml:"description,omitempty"`// Meta description of the page
37
+
DashboardHeadingstring`yaml:"dashboard-heading,omitempty"`// Dashboard Title between header and endpoints
38
+
DashboardSubheadingstring`yaml:"dashboard-subheading,omitempty"`// Dashboard Description between header and endpoints
39
+
Headerstring`yaml:"header,omitempty"`// Header is the text at the top of the page
40
+
Logostring`yaml:"logo,omitempty"`// Logo to display on the page
41
+
Linkstring`yaml:"link,omitempty"`// Link to open when clicking on the logo
42
+
Buttons[]Button`yaml:"buttons,omitempty"`// Buttons to display below the header
43
+
CustomCSSstring`yaml:"custom-css,omitempty"`// Custom CSS to include in the page
44
+
DarkMode*bool`yaml:"dark-mode,omitempty"`// DarkMode is a flag to enable dark mode by default
45
+
DefaultSortBystring`yaml:"default-sort-by,omitempty"`// DefaultSortBy is the default sort option ('name', 'group', 'health')
46
+
DefaultFilterBystring`yaml:"default-filter-by,omitempty"`// DefaultFilterBy is the default filter option ('none', 'failing', 'unstable')
returnwindow.config&&window.config.dashboardDescription&&window.config.dashboardDescription!=='{{ .UI.dashboardDescription }}'?window.config.dashboardDescription:"Monitor the health of your endpoints in real-time"
389
+
constdashboardSubheading=computed(() => {
390
+
returnwindow.config&&window.config.dashboardSubheading&&window.config.dashboardSubheading!=='{{ .UI.dashboardSubheading }}'?window.config.dashboardSubheading:"Monitor the health of your endpoints in real-time"
0 commit comments