-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·204 lines (190 loc) · 8.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="initial-scale=1.0, width=device-width" name="viewport">
<title>ReviewIt</title>
<script src="js/base.js"></script>
<!-- Google maps & places -->
<script src="https://maps.googleapis.com/maps/api/js?key=[MY_KEY]®ion=IT&libraries=places"></script>
<script src="js/toastr.js"></script>
<!-- CSS -->
<link href="css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css"/>
<link href="css/starRating/star-rating.min.css" media="all" rel="stylesheet" type="text/css"/>
<link href="css/base.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/zocial/zocial.css"/>
<link href="css/toastr.css" rel="stylesheet"/>
<link rel="stylesheet" href="css/animsition/animsition.min.css">
<!-- favicon -->
<!-- ... -->
<!-- ie -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js" type="text/javascript"></script>
<script src="js/respond.js" type="text/javascript"></script>
<![endif]-->
</head>
<body class="page-yellow">
<script>
$(document).ready(function () {
//Toast notification settings
toastr.options.positionClass = "toast-bottom-full-width";
$("#fbBtn").click(FBconnect);
//Evento di apertura Modal
$(document).on("click", ".openReviewModal", function () {
placeID = $(this).data('id');
console.log(placeID);
});
$("#sendBtn").click(insertReview);
//Evento di chiusura Modal
$('#modal-big').on('hidden.bs.modal', function (e) {
console.log("modal closed");
$("#modalStars").rating("clear");
$("#float-textarea-autosize").val("");
});
//Transizioni caricamento pagina
$(".animsition").animsition();
});
</script>
<!-- GOOGLE ENDPOINTS -->
<script src="js/endpoints.js"></script>
<script src="https://apis.google.com/js/client.js?onload=init"></script>
<script src="js/googleMap.js"></script>
<div class="animsition">
<a href="https://github.com/DoMy91/TW_2015"><img style="position: absolute; top: 0; left: 0; border: 0; z-index:100; width: 172px; height: 172px;" src="images/left-red.png" alt="Fork me on GitHub"></a>
<header class="header">
<div class="clearfix pull-right">
<ul class="nav pull-left">
<li>
<a class="header-logo">
<button class='zocial facebook' id="fbBtn">Log in</button>
</a>
</li>
</ul>
<ul class="nav nav-list pull-right">
<li>
<a class="menu-toggle" href="#profile">
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar"
src="images/users/avatar-001.jpg" id="userPicture"></span>
<span class="header-close icon icon-close"></span>
</a>
</li>
</ul>
</div>
</header>
<nav class="menu menu-right" id="profile">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-top">
<div class="menu-top-img">
<img alt="John Smith" src="images/samples/landscape.jpg">
</div>
<div class="menu-top-info">
<a class="menu-top-user">
<span class="avatar pull-left">
<img alt="alt text for John Smith avatar" src="images/users/avatar-001.jpg"
id="userPicture2">
</span>
<p id="userName">Accedi a Facebook</p>
</a>
</div>
</div>
<div class="menu-content">
<ul class="nav">
<li>
<a href="index.html" class="animsition-link"><span class="icon icon-home"></span>Home</a>
</li>
<li>
<a href="leaderboards.html" class="animsition-link"><span class="icon icon-assessment"></span>Classifiche</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script src="js/facebook.js"></script>
<div class="content">
<div class="content-heading">
<div class="container">
<h1 class="heading"><a id="headingLogo" href="index.html" class="animsition-link">Review<img src="images/5star.png" width="50">it</a></h1>
</div>
</div>
<div class="content-inner">
<div class="container">
<div class="text-center">
<input style="display: inline-block" id="pac-input" class="controls" type="text"
placeholder="Inserisci un termine per la ricerca"/>
<div class="checkbox checkbox-adv" style="display: inline-block;margin-left: 5px">
<label for="input-checkbox-1" style="font-weight: 100">
<input class="access-hide" id="input-checkbox-1" name="input-checkbox" type="checkbox">Nearby
Search
</label>
<!-- Il flag Nearby Search consente all'utente di effettuare una ricerca per categorie (es. dentista,avvocato,ristorante...)
La pagina verra' popolata con le entita' appartenenti alla categoria inserita,presenti nei dintorni dell'utente
ordinate tenendo conto del numero di recensioni ricevute e della media voto.Ovviamente saranno presenti
solo le entita' che abbiano ricevuto almeno una recensione tramite webapp o app Android di ReviewIt -->
</div>
</div>
<!-- Mappa -->
<div id="map-canvas"></div>
<h2 class="content-sub-heading" id="text01">Nei tuoi dintorni</h2>
<div id="progress2" class="spinner" style="margin-left: auto;margin-right: auto">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<div class="card-wrap" style="margin-top: 0px">
<div class="row" id="cardsRow">
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal-big" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">Recensisci</h2>
</div>
<div class="modal-inner">
<div class="row" style="margin-left: 0px">
<div class="form-group form-group-label form-group-yellow">
<div style="width: 50%">
<label class="floating-label" for="float-textarea-autosize">Recensione (max 500
caratteri)</label>
<textarea class="form-control textarea-autosize" id="float-textarea-autosize"
rows="1" maxlength="500"></textarea>
</div>
</div>
<p>Valutazione</p>
<div style="margin-top: -20px">
<input id="modalStars" class="rating" data-size="sm" data-show-clear="false"
data-show-caption="false" data-min="0" data-max="5" data-step="1" value="0">
</div>
</div>
</div>
<div class="modal-footer">
<div class="text-right" style="margin-bottom: 10px">
<div id="progress" class="spinner" style="display:inline-block;visibility: hidden">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<button class="btn btn-yellow" type="submit" id="sendBtn"
style="display:inline-block;margin-left: 15px">INVIA
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p>Domenico Scognamiglio (0124000017) <br> Università degli studi di Napoli Parthenope</p>
</div>
</footer>
<script src="js/effects.js"></script>
</body>
</html>