-
Notifications
You must be signed in to change notification settings - Fork 0
/
Details.html
111 lines (102 loc) · 4.07 KB
/
Details.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/details.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<link rel="manifest" href="/manifest.json">
<meta name ="theme-color" content="#ffe600">
<link rel="apple-touch-icon" href="images/icons/icon-152x152.png">
</head>
<body>
<div class="container">
<!-- responsive table -->
<div class="holder">
<div class="responsiveTbl">
<table>
<thead>
<tr>
<th>Workspace</th>
<th>Date</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.194,First floor,kinfra,TVC</td>
<td>Jan 01 - Jan 14</td>
<td><a href="#" class="btn">Extend</span></td>
</tr>
<tr>
<td>2.0900, Second Floor,Kinfra</td>
<td>Dec 20 - Dec 28</td>
<td><a href="#" class="btn">Book</span></td>
</tr>
<tr>
<td>1.0800,Thejaswini</td>
<td>Nov 01 - Nov 10</td>
<td><a href="#" class="btn">Book</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- <span class="page__name">Reservation Details</span> -->
</div>
<div class="menu">
<nav class="menu__nav">
<ul class="r-list menu__list">
<li class="menu__group">
<a href="MSTimeline.html" class="r-link menu__link">Home</a>
</li>
<li class="menu__group">
<a href="MSTimeline.html" class="r-link menu__link">Scan QR</a>
</li>
<li class="menu__group">
<a href="Settings.html" class="r-link menu__link">Settings</a>
</li>
</ul>
</nav>
<div class="menu__toggle">
<button class="r-button menu__hamburger">
<span class="m-hamburger">
<span class="m-hamburger__label">Open menu</span>
</span>
</button>
</div>
</div>
</body>
<script>
(function(){
'use strict';
class Menu {
constructor(settings) {
this.menuNode = settings.menuNode;
}
toggleMenuState(className) {
if (typeof className !== 'string' || className.length === 0) {
return console.log('you did not give the class for toggleState function');
}
return this.menuNode.classList.toggle(className);
}
}
const jsMenuNode = document.querySelector('.menu');
const demoMenu = new Menu ({
menuNode: jsMenuNode
});
function callMenuToggle(event) {
demoMenu.toggleMenuState('menu_activated');
}
jsMenuNode.querySelector('.menu__hamburger').addEventListener('click', callMenuToggle);
})();
</script>
</html>