/
popup.html
48 lines (47 loc) · 1.09 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<style>
.address-option{
cursor: pointer;
}
#hit-container{
min-width: 20em;
}
input {
margin-bottom: 1em;
}
.trip-description{
padding: 0 1em 0 1em;
}
.total-duration{
font-size: large;
}
#spinner-icon{
width: 6em;
height: 6em;
}
#spinner-container{
display: flex;
justify-content: center;
}
.hidden{
display: none !important;
}
</style>
</head>
<body>
<div id="form">
<input type="text" placeholder="From address" id="from-address-field">
<button id="lookup-button">Find</button>
<input type="text" placeholder="Work address" id="home-address-field">
<button id="set-home-button">Set</button>
</div>
<div id="hit-container">
</div>
<div id="spinner-container" class="hidden">
<img src="images/spinner.gif" alt="spinning loader icon" id="spinner-icon"/>
</div>
<script src="popup.js"></script>
</body>
</html>