------------------------------------------------------------------------------- -- Insert ------------------------------------------------------------------------------- {{define "SourceInsert" -}} {{template "PageStart"}}

Sources / Insert

{{template "PageEnd"}} {{- end}} ------------------------------------------------------------------------------- -- List ------------------------------------------------------------------------------- {{define "SourceList" -}} {{template "PageStart"}}

Sources

{{template "PageEnd"}} {{- end}} ------------------------------------------------------------------------------- -- View ------------------------------------------------------------------------------- {{define "SourceView" -}} {{template "PageStart"}}

Sources / {{.Name}}

API Key
{{.APIKey}}
Description
{{.Description}}
Last Seen
{{.LastSeenAt.Format "2006-01-02 15:04"}}
Alert Timeout (sec)
{{.AlertTimeout}}
Alerted At
{{.AlertedAt.Format "2006-01-02 15:04"}}
Log Action
{{.LogAction}}
Alert Action
{{.AlertAction}}
{{template "PageEnd"}} {{- end}} ------------------------------------------------------------------------------- -- Update ------------------------------------------------------------------------------- {{define "SourceUpdate" -}} {{template "PageStart"}}

Sources / {{.Source.Name}} / Update

{{template "PageEnd"}} {{- end}} ------------------------------------------------------------------------------- -- Delete ------------------------------------------------------------------------------- {{define "SourceDelete" -}} {{template "PageStart"}}

Sources / {{.Source.Name}} / Delete

Really delete source {{.Source.Name}}?

{{template "PageEnd"}} {{- end}}