@@ -0,0 +1,19 @@
|
||||
{{define "title"}}Systemstatus{{end}}
|
||||
{{define "main"}}
|
||||
<header class='page-heading'><div><p class='eyebrow'>System</p><h2>Status</h2></div></header>
|
||||
<section class='panel narrow health-status'>
|
||||
{{with .Health}}
|
||||
<dl>
|
||||
<div><dt>Status</dt><dd><span class='status'>{{.Status}}</span></dd></div>
|
||||
<div><dt>Umgebung</dt><dd>{{.SystemInfo.Environment}}</dd></div>
|
||||
<div><dt>API-Version</dt><dd><code>{{.SystemInfo.Version}}</code></dd></div>
|
||||
<div><dt>Serverzeit</dt><dd><time datetime='{{.ServerTime.Format "2006-01-02T15:04:05Z07:00"}}'>{{.ServerTime.Local.Format "02.01.2006 15:04:05 MST"}}</time></dd></div>
|
||||
<div><dt>Systemzeit</dt><dd><time datetime='{{$.SystemTime.Format "2006-01-02T15:04:05Z07:00"}}'>{{$.SystemTime.Format "02.01.2006 15:04:05 MST"}}</time></dd></div>
|
||||
<div><dt>Web-Version</dt><dd><code>{{$.WebVersion}}</code></dd></div>
|
||||
</dl>
|
||||
{{else}}
|
||||
<p class='field-error'>{{.HealthError}}</p>
|
||||
<dl><div><dt>Systemzeit</dt><dd><time datetime='{{.SystemTime.Format "2006-01-02T15:04:05Z07:00"}}'>{{.SystemTime.Format "02.01.2006 15:04:05 MST"}}</time></dd></div><div><dt>Web-Version</dt><dd><code>{{.WebVersion}}</code></dd></div></dl>
|
||||
{{end}}
|
||||
</section>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user