-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (69 loc) · 2.43 KB
/
index.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<style>
table {
border-spacing: 0;
width: 100%;
border: 1px solid #ddd;
cursor: default;
table-layout: fixed;
}
thead * {
cursor: pointer;
user-select: none;
}
thead .sorted[data-order="-1"]::after {
content: "▼"
}
thead .sorted[data-order="1"]::after {
content: "▲"
}
th,
td {
text-align: left;
padding: 16px;
}
tbody tr:nth-child(odd) {
background-color: #f2f2f2
}
</style>
<script src=./utilities/tableHeaders.js></script>
<script src=./src/main.js></script>
</head>
<body>
<label for="fileauto">Predefined:</label>
<select name="fileauto" id="fileauto" style = "text-align:right;">
<option value="./myactivities/table.csv" selected>myactivities</option>
<option value="./../../python/activities/summary2016-20xx.csv">2016-20xx</option>
<option value="./../../python/activities/summary2011-2016.csv">2011-2016</option>
</select>
 
<!-- <label for="file">Read file:</label> -->
<input id="file" type="text" value="./myactivities/table.csv"/>
<input id="openFile" type="button" value='Read file'/>
<!--   Level up = ./../     root=/fitalyser -->
<!-- <label for="read_table">Load activities table:</label> -->
<!-- <input id="read_table" type="file" value='' accept=".csv" style="padding: 0px; size: 200px" /> -->
<!-- <label for="read_table">Path to activities folder:</label> -->
<!-- <input id="activities_path" type="text" value='./' style="padding: 0px; size: 120px" /> -->
<!-- <input type="number" id="levelup" min="0" value="0" style="width: 40px;"> -->
<!-- <label for="levelup">levels up, root=fitalyser </label> -->
 
<label for="start_index">Garmin Connect: Start:</label>
<input id="start_index" type="number" value=0 min="0" max="10000" step="1" style="width:50px"/>
<label for="max_limit">Limit:</label>
<input id="max_limit" type="number" value=20 min="20" max="1000" step="20" style="width:50px"/>
 
<label for="file">Download Folder:</label>
<input id="downloadDir" type="text" value="./myactivities/"/>
<!-- <select name="downloadpop" id="downloadPop" style = "text-align:right;"> -->
<!-- <option value="downloadSingle">single</option> -->
<!-- <option value="downloadSeries">series</option> -->
</select>
<input id="activitiesList" type="button" value='Download'/>
 
<input id="cleanTable" type="button" value='Clean table'/>
</body>
</html>