diff --git a/snippets/graph.html b/snippets/graph.html index d76e53e..c33770a 100644 --- a/snippets/graph.html +++ b/snippets/graph.html @@ -1,6 +1,11 @@ {{define "body_content"}} {{ if ne .UserName "" }} +
+ Zurück +
+
+
@@ -9,8 +14,37 @@ {{ else }} diff --git a/snippets/scales.html b/snippets/scales.html index 51b196f..d7be501 100644 --- a/snippets/scales.html +++ b/snippets/scales.html @@ -1,11 +1,49 @@ {{define "body_content"}} {{ if ne .UserName "" }} + + {{range .LastMetrics}}
-

{{.Alias}}

-

letzte Messung: {{.Timestamp}}

-
+

{{.Alias}}

+

letzte übermittelte Messung: {{.Timestamp}}

+
+ {{end}} + + {{ else }}

Bitte zuerst einloggen

{{end}} diff --git a/templates/layout.html b/templates/layout.html index 70dc008..82ab578 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -4,6 +4,7 @@ + mini-beieli.ch - die besondere Bienenstockwaage