-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWebsiteLayout.HTML
More file actions
81 lines (77 loc) · 2.49 KB
/
WebsiteLayout.HTML
File metadata and controls
81 lines (77 loc) · 2.49 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name ="viewport" content="width=device-width, initial-scale=1">
<title>Running Storage</title>
<link rel="stylesheet" href="RunningStyle.css">
</head>
<body>
<div id="container">
<div id="headerTitle">
<h1>Welcome to Run Storage</h1>
</div>
<h2 id="uploadPrompt">Upload your run below:</h2>
<label for="fileInput" id="dropArea">
<input type="file" id="fileInput" hidden>
<div id="imgView">
<img src="Images/508-icon.png" id="uploadIcon">
<p id="inputText">Drage and drop or click here<br>to upload image</br></p>
<span>Upload and images from desktop</span>
</div>
</label>
<h3>Example of expected upload file</h3>
<img src="Images/image.png" id="exampleImg">
<br>
<br>
<div id="manuelInput">
<h2 id="manualPrompt">Or manually enter each run individually</h2>
<p>Distance
<input type="number" id="distanceField">
<label for="distanceField">Miles</label>
<br>
</p>
<p>Time
<input type="text" id="timeField">
<label for="timeField">hh:mm:ss</label>
</p>
<p>Date
<input type="date" id="dateField">
<label for="date"></label>
</p>
<Button id="enterRun">Log Run</Button>
</div>
<div id="buttonContainers">
<button class="informationButtons" id="sortButton">Sort My Runs</button>
<button class="informationButtons" id="recentButton">Show Recent Runs</button>
<button class="informationButtons" id="fastButton">Fastest Run</button>
<button class="informationButtons" id="longButton">Longest Run</button>
</div>
<div id="tableContainer">
<table id="runTable" style="width: 80%">
<tr>
<th>Run Date</th>
<th>Run Distance</th>
<th>Run Time</th>
<th>Run Pace</th>
</tr>
<tr id="temp">
<td id="toReplace" colspan="4">No runs added yet!</td>
</tr>
</table>
</div>
<div id="informationContainer">
<h2 id="informationHeader"></h2>
<table id="informationTable">
<tr>
<th id="informationDate">Run Date</th>
<th id="informationDistance">Run Distance</th>
<th id="informationTime">Run Time</th>
<th id="informationPace">Run Pace</th>
</tr>
</table>
</div>
</div>
<script src="RunningProgram.js"></script>
</body>
</html>