app.yaml: Set api_version "go1".
[kraftakt.git] / templates / loggedin.html
1 {{template "head.html" .}}
2       <table class="connections">
3         <caption>Connections</caption>
4         <tr>
5 {{if .HaveFitbit}}
6           <td class="authorized">
7             <img class="icon" src="/static/fitbit.png" width="19" height="19" />
8             <span class="name">Fitbit</span>
9             <span class="status">Connected</span>
10           </td>
11           <td class="action">
12             <a href="/fitbit/disconnect" class="button flat">Disconnect</a>
13           </td>
14 {{else}}
15           <td class="unauthorized">
16             <img class="icon" src="/static/fitbit.png" width="19" height="19" />
17             <span class="name">Fitbit</span>
18             <span class="status">Disconnected</span>
19           </td>
20           <td class="action">
21             <a href="/fitbit/connect" class="button flat">Connect</a>
22           </td>
23 {{end}}
24         </tr>
25         <tr>
26 {{if .HaveGoogleFit}}
27           <td class="authorized">
28             <img class="icon" src="/static/gfit.png" width="19" height="19" />
29             <span class="name">Google Fit</span>
30             <span class="status">Connected</span>
31           </td>
32           <td class="action">
33             <a href="/google/disconnect" class="button flat">Disconnect</a>
34           </td>
35 {{else}}
36           <td class="unauthorized">
37             <img class="icon" src="/static/gfit.png" width="19" height="19" />
38             <span class="name">Google Fit</span>
39             <span class="status">Disconnected</span>
40           </td>
41           <td class="action">
42             <a href="/google/connect" class="button flat">Connect</a>
43           </td>
44 {{end}}
45         </tr>
46       </table>
47 {{template "foot.html" .}}