-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.html
More file actions
executable file
·187 lines (177 loc) · 6.24 KB
/
events.html
File metadata and controls
executable file
·187 lines (177 loc) · 6.24 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html>
<head>
<title>NightPro</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="src/css/main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Nightpro Widget CSS Files -->
<link rel="stylesheet" href="https://widgets-dev.tablelist.com/widgets/css/tablelist-widgets-core.css">
<link rel="stylesheet" href="https://widgets-dev.tablelist.com/widgets/css/tablelist-widgets-calendar.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Nightpro Widget Javascript Files -->
<script src="https://widgets-dev.tablelist.com/widgets/embedded/tablelist-widgets-core.min.js"></script>
<script src="https://widgets-dev.tablelist.com/widgets/embedded/tablelist-widgets-calendar.min.js"></script>
<script>
window.TablelistWidgets.onReady(function() {
var startDate = new Date();
var endDate = new Date();
endDate.setDate(endDate.getDate() + 48);
var eventCalendarWidget = new window.TablelistWidgets.widgets.EventCalendarWidget('#event-calendar-widget');
eventCalendarWidget.init({
key: '39cc71615a4de01aaa35731ac45ba92c', //nightpro API key
venueId: '12f31f5b11e964ee',
// onEventClick: function(event) {
// window.location.href = './event-detail.html?event-id=' + event.id;
// },
startDate: startDate,
endDate: endDate,
onReady: function() {
setTimeout(function () {
$('.event-calendar-view').hide();
}, 500);
}
});
var eventListWidget = new window.TablelistWidgets.widgets.EventListWidget('#event-list-widget');
eventListWidget.init({
key: '39cc71615a4de01aaa35731ac45ba92c', //nightpro API key
venueId: '12f31f5b11e964ee',
// onEventClick: function(event) {
// window.location.href = './event-detail.html?event-id=' + event.id;
// },
eventCount: 6,
eventDisplayType: 'type-3',
eventDirection: 'vertical',
theme: 'theme-dark',
startDate: startDate,
endDate: endDate
});
});
</script>
<script>
$(document).ready(function() {
$('.list-toggle-btns a').click(function() {
$('.list-toggle-btns a').removeClass('active');
var $el = $(this);
var viewClass = $el.attr('data-view-class');
$('.event-view').hide();
$('.' + viewClass).show();
$el.addClass('active');
});
});
</script>
<body>
<nav id="header" class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
Club
<img src="https://assets.tablelist.com/www/partners/tablelist_logo_new.png">
</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="index.html">
Home
</a>
</li>
<li>
<a class="active" href="events.html">
Events
</a>
</li>
<li>
<a href="reservations.html">
Table Reservations
</a>
</li>
<li>
<a href="bottleService.html">
Bottle Service
</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="events" class="container clearfix">
<div class="container-content">
<div class="event-list">
<div class="event-list-header-wrapper">
<h3 class="event-list-header">Events</h3>
<div class="list-toggle-btns">
<a class="active" href="#" data-view-class="event-list-view">
<i class="fa fa-bars"></i>
</a>
<a href="#" data-view-class="event-calendar-view">
<i class="fa fa-calendar"></i>
</a>
</div>
</div>
<div class="event-views clearfix">
<!-- Nightpro Event List Widget -->
<div class="event-list-view event-view">
<div id="event-list-widget">
</div>
</div>
<div class="event-calendar-view event-view">
<div id="event-calendar-widget">
</div>
</div>
</div>
</div>
</div>
</div>
<footer id="footer">
<div class="container">
<div class="row">
<div class="link-list col-sm-4">
<h4>Quick Links</h4>
<ul>
<li>
<a href="events.html">
Events
</a>
</li>
<li>
<a href="reservations.html">
Table Reservations
</a>
</li>
</ul>
</div>
<div class="link-list col-sm-4">
<h4>Table Reservations</h4>
<ul>
<li>
<a class="btn btn-primary" href="reservations.html">
Reserve Now
</a>
</li>
</ul>
</div>
<div class="link-list col-sm-4">
<h4>Other</h4>
<ul>
<li>
<a href="https://tablelist.com">
Tablelist.com
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
</body>
</html>