-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (196 loc) · 5.99 KB
/
index.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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<html>
<head>
<title>Pfaff Hack</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/chosen.min.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<nav id="header" class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="row">
<div class="col-md-12">
<div
id="logoSection"
class="col-md-2"
data-bind="click: showLandingPage "
>
<img id="logoImg" src="img/fraunhofer_logo.png" />
<label style="color: white;">Pfaff Hack</span>
</div>
<div id="navbar" class="col-md-10" class="navbar-collapse collapse">
<ul
class="nav navbar-nav navbar-right"
data-bind="if: showMenuButtons"
>
<!-- <li>
<a class="btn btn-link" data-bind="click: showLandingPage">
Home
</a>
</li> -->
<!-- <li>
<a
class="btn btn-link"
data-bind="click: showUserSearchGivenEndPointspage"
>
Search Results
</a>
</li> -->
<li>
<a
class="btn btn-link" data-bind="click: showRideSearchPage, css:{'active-tab': currentTabName() == 'Ride Search'}"
>
Ride Search
</a>
</li>
<li>
<a
class="btn btn-link"
data-bind="click: showRideRequestspage, css:{'active-tab': currentTabName() == 'Ride Requests'}"
>
Ride Requests
</a>
</li>
<li>
<a
class="btn btn-link"
data-bind="click: showUpcomingRidespage, css:{'active-tab': currentTabName() == 'Upcoming Rides'}"
>
Upcoming Rides
</a>
</li>
<li>
<a
class="btn btn-link" data-bind="click: showRideReviewpage, css:{'active-tab': currentTabName() == 'Review Rides'}"
>
Review Rides
</a>
</li>
<li>
<a class="btn btn-link" data-bind="click: showRideOfferPage, css:{'active-tab': currentTabName() == 'Ride Offer'}">
Ride Offer
</a>
</li>
<!-- <li>
<a class="btn btn-link" data-bind="click: showSignInPage">
Sign In
</a>
</li>
<li>
<a class="btn btn-link" data-bind="click: showSignUpPage">
Sign Up
</a>
</li> -->
<li>
<a class="btn btn-link" data-bind="click: showMessagePage, css:{'active-tab': currentTabName() == 'Message'}">
<i class="fa fa-envelope" style="color: #e72e36;"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div
id="loadingPopup"
class="modal fade"
data-backdrop="static"
data-keyboard="false"
>
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header"></div>
<div class="modal-body">
<div class="col-xs-offset-5">
<img src="img/loading.gif" />
</div>
</div>
<div class="modal-footer">
<h4 class="text-center" data-bind="text: loadingText"></h4>
</div>
</div>
</div>
</div>
<div id="warningPopup" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4>Please Select</h4>
</div>
<div class="modal-body">
<span data-bind="text: warningText"></span>
</div>
<div class="modal-footer">
<button
class="btn btn-success"
data-dismiss="modal"
data-bind="click: warningIgnoredCallback"
>
Yes
</button>
<button data-dismiss="modal" class="btn btn-default">
No
</button>
</div>
</div>
</div>
</div>
</nav>
<div id="appContainer" class="container">
<div
id="pageContainer"
class="col-xs-8 col-xs-offset-2"
data-bind="stopBinding: true"
></div>
<div id="footNotes" class="row">
<div class="col-xs-12 text-center">
<div
class="alert alert-success"
data-bind="visible: showMessage, text: msg, attr:{class: footerClass}"
></div>
</div>
</div>
</div>
<footer class="footer">
<div class="container text-center" style="color: white;">
Powered By <a href="http://www.xavor.com">A-Team</a>
</div>
</footer>
<script type="text/javascript" src="js/lib/jquery.js"></script>
<script type="text/javascript" src="js/lib/knockout.js"></script>
<script type="text/javascript" src="js/lib/bootstrap.js"></script>
<script type="text/javascript" src="js/lib/chosen.js"></script>
<script type="text/javascript" src="js/lib/sammy.js"></script>
<script
type="text/javascript"
data-main="js/main"
src="js/lib/require.js"
></script>
</body>
</html>
<script>
$(".nav a").on("click", function() {
$(".nav")
.find(".active")
.removeClass("active");
$(this)
.parent()
.addClass("active");
});
</script>
<style>
.navbar-inverse .navbar-nav > .active {
color: white;
background: #e72e36;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: white;
background: #e72e36;
}
</style>