-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewall.html
112 lines (108 loc) · 4.96 KB
/
viewall.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!-- Page for viewing list of all bookings. -->
<!-- Should have option to cancel a booking (button which removes it from list)-->
<!-- Should have option to view detailed info about booking (redirect to view.html)-->
<html>
<head>
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.blue-pink.min.css" />
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.blue-pink.min.css" />
<!-- Uses a header that contracts as the page scrolls down. -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<style>
.mdl-layout__header-row {
padding: 0 16px 0 16px;
}
a {
cursor: pointer;
}
</style>
<link rel="icon" href="img/favicon.png">
</head>
<body>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<img src="img/logo.png" class="center" width="480"
height="50" style="vertical-align:middle;margin:0px 50px">
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="">Choose language</a>
<label class="mdl-button mdl-js-button mdl-button--icon"
for="search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" name="sample"
id="search">
</div>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title" id = "userProfile"></span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="homepage.html">Home page</a>
<a class="mdl-navigation__link" href="viewall.html">View All Bookings</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col">
<h2>
All Bookings:
</h2>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col" id="futureBookings">
<ul class="mdl-list"></ul>
<h4>Future Bookings:</h4>
<h6></h6>
<span class="mdl-list__item-primary-content">
<span>Date to be listed here</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" onclick="view(0,0)"><i
class="material-icons">info</i></a>
</span>
</span></ul>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col" id="commencedBookings">
<ul class="mdl-list">
<h4>Commenced Bookings:</h4>
<h6></h6>
<span>Date to be listed here</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" onclick="view(0)"><i
class="material-icons">info</i></a>
</span>
</ul>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col" id="pastBookings">
<ul class="mdl-list">
<h4>Past Bookings:</h4>
<h6></h6>
<span>Date to be listed here</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" onclick="view(0)"><i
class="material-icons">info</i></a>
</span>
</ul>
</div>
</div>
</main>
</div>
<script src="js/Shared.js"></script>
<script src="js/ViewAll.js"></script>
<script src="js/Taxi.js"></script>
</body>
</html>