forked from brendena/FitSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPage.html
More file actions
52 lines (46 loc) · 2.02 KB
/
Page.html
File metadata and controls
52 lines (46 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<?!= include('styles'); ?>
<body >
<div id="header">
<?!= include('Logo'); ?>
<p id="headerText">
Fit Sync
</p>
<?!= include('helpIcon'); ?>
</div>
<a id="oauthLink" class="buttonStyle alert" style="display:block;padding-left: 0; padding-right: 0; margin: 0px;">link to connect to google fit</a>
<div id="messageDiv" style="display:none; "></div>
<div>
<form onsubmit="return formSumit(event)" id="settingForm" style="margin: 8px;">
<!--google fit was released on october 28 2014-->
<label for="startingDate">starting date</label><input type="date" min="2014-10-28" required name="startingDate" id="startingDate">
<p>data types to sync with from google fit</p>
<div class="checkBoxContainer">
<input type="checkbox" name="estimatedSteps" id="estimatedSteps"> <label for="estimatedSteps">estimated steps</label>
</div>
<div class="checkBoxContainer">
<input type="checkbox" name="weight" id="weight"><label for="weight">weight</label>
</div>
<div class="checkBoxContainer">
<input type="checkbox" name="calories" id="calories"><label for="calories">calories burned</label>
</div>
<div class="checkBoxContainer">
<input type="checkbox" name="activitys" id="activitys"><label for="activitys">activitys</label>
</div>
<div class="checkBoxContainer">
<input type="checkbox" name="heartRate" id="heartRate"><label for="heartRate"> heart rate</label>
</div>
<input id="submitButton" class="buttonStyle actionButton" type="submit" name="submit">
</form>
<button id="refreshButton" class="buttonStyle actionButton" type="submit" style="border: solid;">
<span id="reloadIcon" >↻</span>Grab Latest Data
</button>
</div>
<?!= include('HelpPage'); ?>
<?!= include('script'); ?>
</body>
</html>