Documentation ¶
Index ¶
Constants ¶
View Source
const ( MustacheKeyHome = "home" MustacheKeyCapabilities = "capabilities" MustacheKeyCheckedCapabilities = "checked-capabilities" MustacheKeyLoggedIn = "logged-in" MustacheKeyRestrictionsGUI = "restr-gui" MustacheKeyRestrictions = "restrictions" MustacheKeyRotation = "rotation" MustacheKeyCookieLifetime = "cookie-lifetime" MustacheKeyPrefix = "prefix" MustacheKeyReadOnly = "read-only" MustacheKeyCollapse = "collapse" MustacheKeySettings = "settings" MustacheKeySettingsSSH = "settings-ssh" MustacheKeyGrants = "grants" MustacheKeyApplication = "application" MustacheKeyName = "name" MustacheKeyHomepage = "homepage" MustacheKeyContact = "contact" MustacheKeyPrivacyContact = "privacy-contact" MustacheKeyConsent = "consent" MustacheKeyConsentSend = "consent-send" MustacheKeyTokenName = "token-name" MustacheKeyIss = "iss" MustacheKeySupportedScopes = "supported_scopes" MustacheKeyInstanceURL = "instance-url" MustacheKeyCreateWithProfiles = "create-with-profiles" MustacheKeyProfiles = "profiles" MustacheKeyProfilesProfile = "profile" MustacheKeyProfilesCapabilities = "capabilities" MustacheKeyProfilesRestrictions = "restrictions" MustacheKeyProfilesRotation = "rotation" MustacheKeyNotificationClasses = "notification-classes" MustacheKeyCalendarsEditable = "calendar-editable" MustacheKeySubscribeNotifications = "subscribe-notifications" MustacheKeyNotificationsMailEnabled = "notifications-mail-enabled" MustacheKeyNotificationsCalendarEnabled = "notifications-calendar-enabled" )
Keys used in the mustache templates
View Source
const ( MustacheSubTokeninfo = "tokeninfo" MustacheSubCreateMT = "create-mt" MustacheSubNotifications = "notifications" MustacheSubNotificationListing = "notification-listing" MustacheSubNewNotificationModal = "new-notification-modal" MustacheSubMTListing = "mt-listing" )
Keys for sub configs
View Source
const LayoutMain = "layouts/main"
LayoutMain is the main layout
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collapsable ¶
Collapsable is a struct for controlling collapsable content in the templates
func (Collapsable) Capabilities ¶
func (c Collapsable) Capabilities() bool
Capabilities checks if capabilities should be collapsed
func (Collapsable) Restrictions ¶
func (c Collapsable) Restrictions() bool
Restrictions checks if restrictions should be collapsed
func (Collapsable) Rotation ¶
func (c Collapsable) Rotation() bool
Rotation checks if rotations should be collapsed
Click to show internal directories.
Click to hide internal directories.