From: Florian Forster Date: Tue, 30 Jan 2018 08:32:06 +0000 (+0100) Subject: Import templates. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=71d248f6e4bfa756e9a032cbdc13c1e63bb93113;p=kraftakt.git Import templates. --- diff --git a/templates/foot.html b/templates/foot.html new file mode 100644 index 0000000..dad5dd5 --- /dev/null +++ b/templates/foot.html @@ -0,0 +1,14 @@ + + + + diff --git a/templates/head.html b/templates/head.html new file mode 100644 index 0000000..dff1fb1 --- /dev/null +++ b/templates/head.html @@ -0,0 +1,21 @@ + + + + + + + + + Kraftakt + + + + + {{template "navbar.html" .}} +
+

Kraftakt

+
+ Working out is hard enough +
+ +
diff --git a/templates/loggedin.html b/templates/loggedin.html new file mode 100644 index 0000000..24dd19a --- /dev/null +++ b/templates/loggedin.html @@ -0,0 +1,47 @@ +{{template "head.html" .}} + + + +{{if .HaveFitbit}} + + +{{else}} + + +{{end}} + + +{{if .HaveGoogleFit}} + + +{{else}} + + +{{endif}} + +
Connections
+ + Fitbit + Connected + + Disconnect + + + Fitbit + Disconnected + + Connect +
+ + Google Fit + Connected + + Disconnect + + + Google Fit + Disconnected + + Connect +
+{{template "foot.html" .}} diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..1029b8f --- /dev/null +++ b/templates/main.html @@ -0,0 +1,19 @@ +{{template "head.html" .}} +

Kraftakt is a service that copies your + Fitbit data to Google Fit.

+ +

Kraftakt connects with your Fitbit account and + subscribes to updates of your fitness data.

+ +

After signing in, you need to link Kraftakt with your + Fitbit and Google Fit accounts. This allows + Kraftakt to read your fitness data from Fitbit and + write fitness data to Google Fit.

+ +
+ + Sign in + +
+
+{{template "foot.html" .}} diff --git a/templates/navbar.html b/templates/navbar.html new file mode 100644 index 0000000..a361d83 --- /dev/null +++ b/templates/navbar.html @@ -0,0 +1,12 @@ +