Footer funzionante e fissato in basso
authorFSinnona <fabio.sinnona@nextrek.net>
Tue, 1 Dec 2015 15:38:35 +0000 (16:38 +0100)
committerFSinnona <fabio.sinnona@nextrek.net>
Tue, 1 Dec 2015 15:38:35 +0000 (16:38 +0100)
30 files changed:
client/app/FAQ/FAQ.controller.js [new file with mode: 0755]
client/app/FAQ/FAQ.html [new file with mode: 0755]
client/app/FAQ/FAQ.js [new file with mode: 0755]
client/app/FAQ/FAQ.scss [new file with mode: 0755]
client/app/app.scss
client/app/come_funziona/come_funziona.html
client/app/community/community.html
client/app/contact/contact.controller.js [new file with mode: 0755]
client/app/contact/contact.html [new file with mode: 0755]
client/app/contact/contact.js [new file with mode: 0755]
client/app/contact/contact.scss [new file with mode: 0755]
client/app/main/main.html
client/app/main/main.scss
client/app/organizza/organizza.html
client/app/partecipa/partecipa.html
client/app/partner/partner.controller.js [new file with mode: 0755]
client/app/partner/partner.html [new file with mode: 0755]
client/app/partner/partner.js [new file with mode: 0755]
client/app/partner/partner.scss [new file with mode: 0755]
client/app/seguici/seguici.controller.js [new file with mode: 0755]
client/app/seguici/seguici.html [new file with mode: 0755]
client/app/seguici/seguici.js [new file with mode: 0755]
client/app/seguici/seguici.scss [new file with mode: 0755]
client/app/t&c/t&c.controller.js [new file with mode: 0755]
client/app/t&c/t&c.html [new file with mode: 0755]
client/app/t&c/t&c.js [new file with mode: 0755]
client/app/t&c/t&c.scss [new file with mode: 0755]
client/components/footer/footer.html
client/components/footer/footer.scss
client/index.html

diff --git a/client/app/FAQ/FAQ.controller.js b/client/app/FAQ/FAQ.controller.js
new file mode 100755 (executable)
index 0000000..27fcdbb
--- /dev/null
@@ -0,0 +1,82 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .controller('FAQCtrl', function($scope, $http, datepickerPopupConfig, $stateParams) {
+
+  var baseLimit = 7;
+  $scope.limit = baseLimit;
+  var d = new Date();
+  d.setHours(0,0,0,0);
+  $scope.dataInizio = new Date(d);
+
+  $scope.posters = [];
+  var route;
+  $scope.loadCount = 0;
+  $scope.loadShows = function() {
+    route = '/api/shows?limit=' + $scope.limit;
+    if ($scope.dataInizio) {
+      route += '&date=' + $scope.dataInizio;
+    }
+    if ($scope.category) {
+      route += '&category=' + $scope.category;
+    }
+    if ($stateParams.lat && $stateParams.lng) {
+      route += '&lat=' + $stateParams.lat + '&lng=' + $stateParams.lng;
+    }
+    if ($scope.fulltext) {
+      route += '&fulltext=' + $scope.fulltext;
+    }
+       $http.get(route).then(function(response) {
+         $scope.posters = response.data;
+         $scope.limit += $scope.limit;
+      if ($scope.loadCount % 2 === 0) {
+        $scope.limit++;
+      }
+      $scope.loadCount++;
+       });
+  };
+  $scope.loadShows();
+
+
+  var posterCount = 0;
+  $scope.pCount = function(index) {
+    posterCount = index % 10 === 0 ? 0 : posterCount + 1;
+    return posterCount === 0 || posterCount === 6;
+  };
+
+  $scope.datepickers = {
+    dataInizio: false,
+    dataFine: false
+  };
+
+  $scope.open = function($event, which, whichnot) {
+    $event.preventDefault();
+    $event.stopPropagation();
+
+    $scope.datepickers[which]= true;
+    $scope.datepickers[whichnot]= false;
+  };
+
+  $scope.dateOptions = {
+    'year-format': 'yy',
+    'starting-day': 1,
+    'show-weeks': false
+  };
+
+  datepickerPopupConfig.showButtonBar = false;
+  datepickerPopupConfig.appendToBody = false;
+
+  $scope.minDate = new Date();
+  $scope.minDateFine = new Date();
+
+  $scope.searchShows = function() {
+    $scope.limit = baseLimit;
+    $scope.loadCount = 0;
+       $scope.loadShows();
+  };
+
+  // load categories
+  $http.get('/api/categories?active=true').then(function(response) {
+    $scope.categories = response.data;
+  });
+});
diff --git a/client/app/FAQ/FAQ.html b/client/app/FAQ/FAQ.html
new file mode 100755 (executable)
index 0000000..1623111
--- /dev/null
@@ -0,0 +1,16 @@
+<navbar></navbar>
+
+<div class="main-container">
+<div class="container">
+       <div class="row">
+       <div class="col-sm-12 text-center">
+               <h1 class="title">FAQ</h1>
+               <h3 class="title">Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat.</h3>
+                       </div>
+       </div>
+       </div>
+       <div class="push-footerApp"></div>
+</div>
+
+<footer></footer>
+
diff --git a/client/app/FAQ/FAQ.js b/client/app/FAQ/FAQ.js
new file mode 100755 (executable)
index 0000000..1c3d3b9
--- /dev/null
@@ -0,0 +1,15 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('FAQ', {
+        url: '/FAQ',
+        templateUrl: 'app/FAQ/FAQ.html',
+        controller: 'FAQCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+  });
diff --git a/client/app/FAQ/FAQ.scss b/client/app/FAQ/FAQ.scss
new file mode 100755 (executable)
index 0000000..8b805b5
--- /dev/null
@@ -0,0 +1,100 @@
+.poster-view {
+       margin-top: 30px;
+}
+.poster {
+       overflow: hidden;
+       position: relative;
+       display: flex;
+       height: 350px;
+       width: 33.3%;
+       float: left;
+       border: 10px solid #FFF;
+       box-sizing: border-box;
+       align-items: center;
+       justify-content: center;
+}
+.poster_show {
+       width: 100% !important;
+       border: 0 !important;
+       margin-bottom: 30px;
+}
+.poster > img {
+       min-width: 100%;
+       min-height: 100%;
+       flex-shrink: 0;
+}
+.poster.poster-wide {
+       width: 66.6%;
+}
+
+@media all and (max-width: 768px) {
+       .poster {
+               width: 100% !important;
+       }
+}
+
+.poster_date {
+       position: absolute;
+       background: #FFF;
+       font-family: "Oswald", sans-serif;
+       font-size: 22px;
+       font-weight: 300;
+       color: #000;
+       top: 0;
+       left: 20px;
+       text-transform: uppercase;
+       text-align: center;
+       padding: 10px 15px;
+}
+
+.poster:hover {
+       .poster_overlay {
+               display: block;
+               opacity: 1;
+       }
+       .poster_date {
+               display: none;
+       }
+} 
+
+.poster_overlay {
+       background-color: rgba(255,255,255,0.8);
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       display:none;
+       opacity: 0;
+
+       .poster_content {
+               text-align: center;
+               position: absolute;
+               top: 20px;
+               width: 100%;
+               color: #000;
+               padding: 20px;
+
+               .avatar {
+                       display: block;
+                       margin: 0 auto;
+               }
+
+               .user {
+                       font-size: 16px;
+                       margin: 0 0 5px;
+               }
+
+               h3 {
+                       margin: 0 0 10px;
+                       font-family: "Oswald", sans-serif;
+                       text-transform: uppercase;
+                       font-weight: 700;
+                       font-size: 20px;
+               }
+
+               .rating {
+                       font-size: 18px;
+               }
+       }
+}
\ No newline at end of file
index 3cf4ebd..8e27102 100755 (executable)
@@ -30,13 +30,18 @@ $fa-font-path: "../bower_components/font-awesome/fonts";
 
 // Component styles are injected through grunt
 // injector
 
 // Component styles are injected through grunt
 // injector
+@import 'FAQ/FAQ.scss';
 @import 'account/login/login.scss';
 @import 'admin/admin.scss';
 @import 'come_funziona/come_funziona.scss';
 @import 'community/community.scss';
 @import 'account/login/login.scss';
 @import 'admin/admin.scss';
 @import 'come_funziona/come_funziona.scss';
 @import 'community/community.scss';
+@import 'contact/contact.scss';
 @import 'main/main.scss';
 @import 'organizza/organizza.scss';
 @import 'partecipa/partecipa.scss';
 @import 'main/main.scss';
 @import 'organizza/organizza.scss';
 @import 'partecipa/partecipa.scss';
+@import 'partner/partner.scss';
+@import 'seguici/seguici.scss';
+@import 't&c/t&c.scss';
 @import '../components/footer/footer.scss';
 @import '../components/modal/modal.scss';
 // endinjector
 @import '../components/footer/footer.scss';
 @import '../components/modal/modal.scss';
 // endinjector
index c956343..ba78f0e 100755 (executable)
@@ -64,6 +64,7 @@
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
+       <div class="push"></div>
 </div>
 
 <footer></footer>
 </div>
 
 <footer></footer>
index d57c925..2b60067 100755 (executable)
@@ -64,6 +64,7 @@
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
+       <div class="push"></div>
 </div>
 
 <footer></footer>
 </div>
 
 <footer></footer>
diff --git a/client/app/contact/contact.controller.js b/client/app/contact/contact.controller.js
new file mode 100755 (executable)
index 0000000..f33c12b
--- /dev/null
@@ -0,0 +1,82 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .controller('ContactCtrl', function($scope, $http, datepickerPopupConfig, $stateParams) {
+
+  var baseLimit = 7;
+  $scope.limit = baseLimit;
+  var d = new Date();
+  d.setHours(0,0,0,0);
+  $scope.dataInizio = new Date(d);
+
+  $scope.posters = [];
+  var route;
+  $scope.loadCount = 0;
+  $scope.loadShows = function() {
+    route = '/api/shows?limit=' + $scope.limit;
+    if ($scope.dataInizio) {
+      route += '&date=' + $scope.dataInizio;
+    }
+    if ($scope.category) {
+      route += '&category=' + $scope.category;
+    }
+    if ($stateParams.lat && $stateParams.lng) {
+      route += '&lat=' + $stateParams.lat + '&lng=' + $stateParams.lng;
+    }
+    if ($scope.fulltext) {
+      route += '&fulltext=' + $scope.fulltext;
+    }
+       $http.get(route).then(function(response) {
+         $scope.posters = response.data;
+         $scope.limit += $scope.limit;
+      if ($scope.loadCount % 2 === 0) {
+        $scope.limit++;
+      }
+      $scope.loadCount++;
+       });
+  };
+  $scope.loadShows();
+
+
+  var posterCount = 0;
+  $scope.pCount = function(index) {
+    posterCount = index % 10 === 0 ? 0 : posterCount + 1;
+    return posterCount === 0 || posterCount === 6;
+  };
+
+  $scope.datepickers = {
+    dataInizio: false,
+    dataFine: false
+  };
+
+  $scope.open = function($event, which, whichnot) {
+    $event.preventDefault();
+    $event.stopPropagation();
+
+    $scope.datepickers[which]= true;
+    $scope.datepickers[whichnot]= false;
+  };
+
+  $scope.dateOptions = {
+    'year-format': 'yy',
+    'starting-day': 1,
+    'show-weeks': false
+  };
+
+  datepickerPopupConfig.showButtonBar = false;
+  datepickerPopupConfig.appendToBody = false;
+
+  $scope.minDate = new Date();
+  $scope.minDateFine = new Date();
+
+  $scope.searchShows = function() {
+    $scope.limit = baseLimit;
+    $scope.loadCount = 0;
+       $scope.loadShows();
+  };
+
+  // load categories
+  $http.get('/api/categories?active=true').then(function(response) {
+    $scope.categories = response.data;
+  });
+});
diff --git a/client/app/contact/contact.html b/client/app/contact/contact.html
new file mode 100755 (executable)
index 0000000..4f21e9c
--- /dev/null
@@ -0,0 +1,16 @@
+<navbar></navbar>
+
+<div class="main-container-footerApp">
+<div class="container">
+       <div class="row">
+       <div class="col-sm-12 text-center">
+               <h1 class="title">CONTATTI</h1>
+               <h3 class="title">Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat.</h3>
+                       </div>
+       </div>
+       </div>
+       <div class="push-footerApp"></div>
+</div>
+
+<footer></footer>
+
diff --git a/client/app/contact/contact.js b/client/app/contact/contact.js
new file mode 100755 (executable)
index 0000000..c765495
--- /dev/null
@@ -0,0 +1,15 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('contact', {
+        url: '/contact',
+        templateUrl: 'app/contact/contact.html',
+        controller: 'ContactCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+  });
diff --git a/client/app/contact/contact.scss b/client/app/contact/contact.scss
new file mode 100755 (executable)
index 0000000..8b805b5
--- /dev/null
@@ -0,0 +1,100 @@
+.poster-view {
+       margin-top: 30px;
+}
+.poster {
+       overflow: hidden;
+       position: relative;
+       display: flex;
+       height: 350px;
+       width: 33.3%;
+       float: left;
+       border: 10px solid #FFF;
+       box-sizing: border-box;
+       align-items: center;
+       justify-content: center;
+}
+.poster_show {
+       width: 100% !important;
+       border: 0 !important;
+       margin-bottom: 30px;
+}
+.poster > img {
+       min-width: 100%;
+       min-height: 100%;
+       flex-shrink: 0;
+}
+.poster.poster-wide {
+       width: 66.6%;
+}
+
+@media all and (max-width: 768px) {
+       .poster {
+               width: 100% !important;
+       }
+}
+
+.poster_date {
+       position: absolute;
+       background: #FFF;
+       font-family: "Oswald", sans-serif;
+       font-size: 22px;
+       font-weight: 300;
+       color: #000;
+       top: 0;
+       left: 20px;
+       text-transform: uppercase;
+       text-align: center;
+       padding: 10px 15px;
+}
+
+.poster:hover {
+       .poster_overlay {
+               display: block;
+               opacity: 1;
+       }
+       .poster_date {
+               display: none;
+       }
+} 
+
+.poster_overlay {
+       background-color: rgba(255,255,255,0.8);
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       display:none;
+       opacity: 0;
+
+       .poster_content {
+               text-align: center;
+               position: absolute;
+               top: 20px;
+               width: 100%;
+               color: #000;
+               padding: 20px;
+
+               .avatar {
+                       display: block;
+                       margin: 0 auto;
+               }
+
+               .user {
+                       font-size: 16px;
+                       margin: 0 0 5px;
+               }
+
+               h3 {
+                       margin: 0 0 10px;
+                       font-family: "Oswald", sans-serif;
+                       text-transform: uppercase;
+                       font-weight: 700;
+                       font-size: 20px;
+               }
+
+               .rating {
+                       font-size: 18px;
+               }
+       }
+}
\ No newline at end of file
index 8cba578..8d638f2 100755 (executable)
@@ -2,7 +2,7 @@
 
 
 
 
 
 
-<div class="main-container">
+<div class="main-container-home">
 
       <div id="homeSlider" resizewin ng-style="style(10)">
         <carousel interval="5000">
 
       <div id="homeSlider" resizewin ng-style="style(10)">
         <carousel interval="5000">
@@ -24,9 +24,8 @@
             </div>
           </form>
         </div>
             </div>
           </form>
         </div>
-        
       </div>
       </div>
-
+<div class="push-home"></div>
 </div>
 
 <footer class="homeFooter"></footer>
 </div>
 
 <footer class="homeFooter"></footer>
index 237baa2..2a312ec 100755 (executable)
@@ -194,6 +194,21 @@ hr {
 }
 
 .main-container {
 }
 
 .main-container {
+  min-height: 100%;
+  height: auto !important;
+  margin-bottom: 0 auto 40px;
+  margin-top: 20px;
+}
+.main-container-footerApp{
+  min-height: 100%;
+  height: auto !important;
+  margin: 0 auto 70px;
+  margin-top: 20px;
+}
+.main-container-home {
+  min-height: 100%;
+  height: auto !important;
+  margin: 0 auto 0px;
   margin-top: 20px;
 }
 .main-container.container {
   margin-top: 20px;
 }
 .main-container.container {
index e039a66..3a1e7e7 100755 (executable)
@@ -64,6 +64,7 @@
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
+       <div class="push"></div>
 </div>
 
 <footer></footer>
 </div>
 
 <footer></footer>
index 1dd758d..fc5d803 100755 (executable)
@@ -64,6 +64,7 @@
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
           <button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
       </div>
        </div>
+       <div class="push"></div>
 </div>
 
 <footer></footer>
 </div>
 
 <footer></footer>
diff --git a/client/app/partner/partner.controller.js b/client/app/partner/partner.controller.js
new file mode 100755 (executable)
index 0000000..4a1ef84
--- /dev/null
@@ -0,0 +1,82 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .controller('PartnerCtrl', function($scope, $http, datepickerPopupConfig, $stateParams) {
+
+  var baseLimit = 7;
+  $scope.limit = baseLimit;
+  var d = new Date();
+  d.setHours(0,0,0,0);
+  $scope.dataInizio = new Date(d);
+
+  $scope.posters = [];
+  var route;
+  $scope.loadCount = 0;
+  $scope.loadShows = function() {
+    route = '/api/shows?limit=' + $scope.limit;
+    if ($scope.dataInizio) {
+      route += '&date=' + $scope.dataInizio;
+    }
+    if ($scope.category) {
+      route += '&category=' + $scope.category;
+    }
+    if ($stateParams.lat && $stateParams.lng) {
+      route += '&lat=' + $stateParams.lat + '&lng=' + $stateParams.lng;
+    }
+    if ($scope.fulltext) {
+      route += '&fulltext=' + $scope.fulltext;
+    }
+       $http.get(route).then(function(response) {
+         $scope.posters = response.data;
+         $scope.limit += $scope.limit;
+      if ($scope.loadCount % 2 === 0) {
+        $scope.limit++;
+      }
+      $scope.loadCount++;
+       });
+  };
+  $scope.loadShows();
+
+
+  var posterCount = 0;
+  $scope.pCount = function(index) {
+    posterCount = index % 10 === 0 ? 0 : posterCount + 1;
+    return posterCount === 0 || posterCount === 6;
+  };
+
+  $scope.datepickers = {
+    dataInizio: false,
+    dataFine: false
+  };
+
+  $scope.open = function($event, which, whichnot) {
+    $event.preventDefault();
+    $event.stopPropagation();
+
+    $scope.datepickers[which]= true;
+    $scope.datepickers[whichnot]= false;
+  };
+
+  $scope.dateOptions = {
+    'year-format': 'yy',
+    'starting-day': 1,
+    'show-weeks': false
+  };
+
+  datepickerPopupConfig.showButtonBar = false;
+  datepickerPopupConfig.appendToBody = false;
+
+  $scope.minDate = new Date();
+  $scope.minDateFine = new Date();
+
+  $scope.searchShows = function() {
+    $scope.limit = baseLimit;
+    $scope.loadCount = 0;
+       $scope.loadShows();
+  };
+
+  // load categories
+  $http.get('/api/categories?active=true').then(function(response) {
+    $scope.categories = response.data;
+  });
+});
diff --git a/client/app/partner/partner.html b/client/app/partner/partner.html
new file mode 100755 (executable)
index 0000000..d231d2d
--- /dev/null
@@ -0,0 +1,15 @@
+<navbar></navbar>
+
+<div class="main-container">
+<div class="container">
+       <div class="row">
+       <div class="col-sm-12 text-center">
+               <h1 class="title">PARTNER</h1>
+               <h3 class="title">Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat.</h3>
+                       </div>
+       </div>
+       </div>
+       <div class="push-footerApp"></div>
+</div>
+
+<footer></footer>
diff --git a/client/app/partner/partner.js b/client/app/partner/partner.js
new file mode 100755 (executable)
index 0000000..cc7e58e
--- /dev/null
@@ -0,0 +1,15 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('partner', {
+        url: '/partner',
+        templateUrl: 'app/partner/partner.html',
+        controller: 'PartnerCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+  });
diff --git a/client/app/partner/partner.scss b/client/app/partner/partner.scss
new file mode 100755 (executable)
index 0000000..8b805b5
--- /dev/null
@@ -0,0 +1,100 @@
+.poster-view {
+       margin-top: 30px;
+}
+.poster {
+       overflow: hidden;
+       position: relative;
+       display: flex;
+       height: 350px;
+       width: 33.3%;
+       float: left;
+       border: 10px solid #FFF;
+       box-sizing: border-box;
+       align-items: center;
+       justify-content: center;
+}
+.poster_show {
+       width: 100% !important;
+       border: 0 !important;
+       margin-bottom: 30px;
+}
+.poster > img {
+       min-width: 100%;
+       min-height: 100%;
+       flex-shrink: 0;
+}
+.poster.poster-wide {
+       width: 66.6%;
+}
+
+@media all and (max-width: 768px) {
+       .poster {
+               width: 100% !important;
+       }
+}
+
+.poster_date {
+       position: absolute;
+       background: #FFF;
+       font-family: "Oswald", sans-serif;
+       font-size: 22px;
+       font-weight: 300;
+       color: #000;
+       top: 0;
+       left: 20px;
+       text-transform: uppercase;
+       text-align: center;
+       padding: 10px 15px;
+}
+
+.poster:hover {
+       .poster_overlay {
+               display: block;
+               opacity: 1;
+       }
+       .poster_date {
+               display: none;
+       }
+} 
+
+.poster_overlay {
+       background-color: rgba(255,255,255,0.8);
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       display:none;
+       opacity: 0;
+
+       .poster_content {
+               text-align: center;
+               position: absolute;
+               top: 20px;
+               width: 100%;
+               color: #000;
+               padding: 20px;
+
+               .avatar {
+                       display: block;
+                       margin: 0 auto;
+               }
+
+               .user {
+                       font-size: 16px;
+                       margin: 0 0 5px;
+               }
+
+               h3 {
+                       margin: 0 0 10px;
+                       font-family: "Oswald", sans-serif;
+                       text-transform: uppercase;
+                       font-weight: 700;
+                       font-size: 20px;
+               }
+
+               .rating {
+                       font-size: 18px;
+               }
+       }
+}
\ No newline at end of file
diff --git a/client/app/seguici/seguici.controller.js b/client/app/seguici/seguici.controller.js
new file mode 100755 (executable)
index 0000000..04f7282
--- /dev/null
@@ -0,0 +1,82 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .controller('SeguiciCtrl', function($scope, $http, datepickerPopupConfig, $stateParams) {
+
+  var baseLimit = 7;
+  $scope.limit = baseLimit;
+  var d = new Date();
+  d.setHours(0,0,0,0);
+  $scope.dataInizio = new Date(d);
+
+  $scope.posters = [];
+  var route;
+  $scope.loadCount = 0;
+  $scope.loadShows = function() {
+    route = '/api/shows?limit=' + $scope.limit;
+    if ($scope.dataInizio) {
+      route += '&date=' + $scope.dataInizio;
+    }
+    if ($scope.category) {
+      route += '&category=' + $scope.category;
+    }
+    if ($stateParams.lat && $stateParams.lng) {
+      route += '&lat=' + $stateParams.lat + '&lng=' + $stateParams.lng;
+    }
+    if ($scope.fulltext) {
+      route += '&fulltext=' + $scope.fulltext;
+    }
+       $http.get(route).then(function(response) {
+         $scope.posters = response.data;
+         $scope.limit += $scope.limit;
+      if ($scope.loadCount % 2 === 0) {
+        $scope.limit++;
+      }
+      $scope.loadCount++;
+       });
+  };
+  $scope.loadShows();
+
+
+  var posterCount = 0;
+  $scope.pCount = function(index) {
+    posterCount = index % 10 === 0 ? 0 : posterCount + 1;
+    return posterCount === 0 || posterCount === 6;
+  };
+
+  $scope.datepickers = {
+    dataInizio: false,
+    dataFine: false
+  };
+
+  $scope.open = function($event, which, whichnot) {
+    $event.preventDefault();
+    $event.stopPropagation();
+
+    $scope.datepickers[which]= true;
+    $scope.datepickers[whichnot]= false;
+  };
+
+  $scope.dateOptions = {
+    'year-format': 'yy',
+    'starting-day': 1,
+    'show-weeks': false
+  };
+
+  datepickerPopupConfig.showButtonBar = false;
+  datepickerPopupConfig.appendToBody = false;
+
+  $scope.minDate = new Date();
+  $scope.minDateFine = new Date();
+
+  $scope.searchShows = function() {
+    $scope.limit = baseLimit;
+    $scope.loadCount = 0;
+       $scope.loadShows();
+  };
+
+  // load categories
+  $http.get('/api/categories?active=true').then(function(response) {
+    $scope.categories = response.data;
+  });
+});
diff --git a/client/app/seguici/seguici.html b/client/app/seguici/seguici.html
new file mode 100755 (executable)
index 0000000..e1b6f68
--- /dev/null
@@ -0,0 +1,15 @@
+<navbar></navbar>
+
+<div class="main-container">
+<div class="container">
+       <div class="row">
+       <div class="col-sm-12 text-center">
+               <h1 class="title">SEGUICI</h1>
+               <h3 class="title">Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat.</h3>
+                       </div>
+       </div>
+       </div>
+       <div class="push-footerApp"></div>
+</div>
+
+<footer></footer>
diff --git a/client/app/seguici/seguici.js b/client/app/seguici/seguici.js
new file mode 100755 (executable)
index 0000000..60a950d
--- /dev/null
@@ -0,0 +1,15 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('seguici', {
+        url: '/seguici',
+        templateUrl: 'app/seguici/seguici.html',
+        controller: 'SeguiciCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+  });
diff --git a/client/app/seguici/seguici.scss b/client/app/seguici/seguici.scss
new file mode 100755 (executable)
index 0000000..8b805b5
--- /dev/null
@@ -0,0 +1,100 @@
+.poster-view {
+       margin-top: 30px;
+}
+.poster {
+       overflow: hidden;
+       position: relative;
+       display: flex;
+       height: 350px;
+       width: 33.3%;
+       float: left;
+       border: 10px solid #FFF;
+       box-sizing: border-box;
+       align-items: center;
+       justify-content: center;
+}
+.poster_show {
+       width: 100% !important;
+       border: 0 !important;
+       margin-bottom: 30px;
+}
+.poster > img {
+       min-width: 100%;
+       min-height: 100%;
+       flex-shrink: 0;
+}
+.poster.poster-wide {
+       width: 66.6%;
+}
+
+@media all and (max-width: 768px) {
+       .poster {
+               width: 100% !important;
+       }
+}
+
+.poster_date {
+       position: absolute;
+       background: #FFF;
+       font-family: "Oswald", sans-serif;
+       font-size: 22px;
+       font-weight: 300;
+       color: #000;
+       top: 0;
+       left: 20px;
+       text-transform: uppercase;
+       text-align: center;
+       padding: 10px 15px;
+}
+
+.poster:hover {
+       .poster_overlay {
+               display: block;
+               opacity: 1;
+       }
+       .poster_date {
+               display: none;
+       }
+} 
+
+.poster_overlay {
+       background-color: rgba(255,255,255,0.8);
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       display:none;
+       opacity: 0;
+
+       .poster_content {
+               text-align: center;
+               position: absolute;
+               top: 20px;
+               width: 100%;
+               color: #000;
+               padding: 20px;
+
+               .avatar {
+                       display: block;
+                       margin: 0 auto;
+               }
+
+               .user {
+                       font-size: 16px;
+                       margin: 0 0 5px;
+               }
+
+               h3 {
+                       margin: 0 0 10px;
+                       font-family: "Oswald", sans-serif;
+                       text-transform: uppercase;
+                       font-weight: 700;
+                       font-size: 20px;
+               }
+
+               .rating {
+                       font-size: 18px;
+               }
+       }
+}
\ No newline at end of file
diff --git a/client/app/t&c/t&c.controller.js b/client/app/t&c/t&c.controller.js
new file mode 100755 (executable)
index 0000000..775ed17
--- /dev/null
@@ -0,0 +1,82 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .controller('T&CCtrl', function($scope, $http, datepickerPopupConfig, $stateParams) {
+
+  var baseLimit = 7;
+  $scope.limit = baseLimit;
+  var d = new Date();
+  d.setHours(0,0,0,0);
+  $scope.dataInizio = new Date(d);
+
+  $scope.posters = [];
+  var route;
+  $scope.loadCount = 0;
+  $scope.loadShows = function() {
+    route = '/api/shows?limit=' + $scope.limit;
+    if ($scope.dataInizio) {
+      route += '&date=' + $scope.dataInizio;
+    }
+    if ($scope.category) {
+      route += '&category=' + $scope.category;
+    }
+    if ($stateParams.lat && $stateParams.lng) {
+      route += '&lat=' + $stateParams.lat + '&lng=' + $stateParams.lng;
+    }
+    if ($scope.fulltext) {
+      route += '&fulltext=' + $scope.fulltext;
+    }
+       $http.get(route).then(function(response) {
+         $scope.posters = response.data;
+         $scope.limit += $scope.limit;
+      if ($scope.loadCount % 2 === 0) {
+        $scope.limit++;
+      }
+      $scope.loadCount++;
+       });
+  };
+  $scope.loadShows();
+
+
+  var posterCount = 0;
+  $scope.pCount = function(index) {
+    posterCount = index % 10 === 0 ? 0 : posterCount + 1;
+    return posterCount === 0 || posterCount === 6;
+  };
+
+  $scope.datepickers = {
+    dataInizio: false,
+    dataFine: false
+  };
+
+  $scope.open = function($event, which, whichnot) {
+    $event.preventDefault();
+    $event.stopPropagation();
+
+    $scope.datepickers[which]= true;
+    $scope.datepickers[whichnot]= false;
+  };
+
+  $scope.dateOptions = {
+    'year-format': 'yy',
+    'starting-day': 1,
+    'show-weeks': false
+  };
+
+  datepickerPopupConfig.showButtonBar = false;
+  datepickerPopupConfig.appendToBody = false;
+
+  $scope.minDate = new Date();
+  $scope.minDateFine = new Date();
+
+  $scope.searchShows = function() {
+    $scope.limit = baseLimit;
+    $scope.loadCount = 0;
+       $scope.loadShows();
+  };
+
+  // load categories
+  $http.get('/api/categories?active=true').then(function(response) {
+    $scope.categories = response.data;
+  });
+});
diff --git a/client/app/t&c/t&c.html b/client/app/t&c/t&c.html
new file mode 100755 (executable)
index 0000000..4e5ea25
--- /dev/null
@@ -0,0 +1,15 @@
+<<navbar></navbar>
+
+<div class="main-container">
+<div class="container">
+       <div class="row">
+       <div class="col-sm-12 text-center">
+               <h1 class="title">TERMINI E CONDIZIONI</h1>
+               <h3 class="title">Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat.</h3>
+                       </div>
+       </div>
+       </div>
+       <div class="push-footerApp"></div>
+</div>
+
+<footer></footer>
diff --git a/client/app/t&c/t&c.js b/client/app/t&c/t&c.js
new file mode 100755 (executable)
index 0000000..a74e4b4
--- /dev/null
@@ -0,0 +1,15 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('t&c', {
+        url: '/t&c',
+        templateUrl: 'app/t&c/t&c.html',
+        controller: 'T&CCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+  });
diff --git a/client/app/t&c/t&c.scss b/client/app/t&c/t&c.scss
new file mode 100755 (executable)
index 0000000..8b805b5
--- /dev/null
@@ -0,0 +1,100 @@
+.poster-view {
+       margin-top: 30px;
+}
+.poster {
+       overflow: hidden;
+       position: relative;
+       display: flex;
+       height: 350px;
+       width: 33.3%;
+       float: left;
+       border: 10px solid #FFF;
+       box-sizing: border-box;
+       align-items: center;
+       justify-content: center;
+}
+.poster_show {
+       width: 100% !important;
+       border: 0 !important;
+       margin-bottom: 30px;
+}
+.poster > img {
+       min-width: 100%;
+       min-height: 100%;
+       flex-shrink: 0;
+}
+.poster.poster-wide {
+       width: 66.6%;
+}
+
+@media all and (max-width: 768px) {
+       .poster {
+               width: 100% !important;
+       }
+}
+
+.poster_date {
+       position: absolute;
+       background: #FFF;
+       font-family: "Oswald", sans-serif;
+       font-size: 22px;
+       font-weight: 300;
+       color: #000;
+       top: 0;
+       left: 20px;
+       text-transform: uppercase;
+       text-align: center;
+       padding: 10px 15px;
+}
+
+.poster:hover {
+       .poster_overlay {
+               display: block;
+               opacity: 1;
+       }
+       .poster_date {
+               display: none;
+       }
+} 
+
+.poster_overlay {
+       background-color: rgba(255,255,255,0.8);
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       display:none;
+       opacity: 0;
+
+       .poster_content {
+               text-align: center;
+               position: absolute;
+               top: 20px;
+               width: 100%;
+               color: #000;
+               padding: 20px;
+
+               .avatar {
+                       display: block;
+                       margin: 0 auto;
+               }
+
+               .user {
+                       font-size: 16px;
+                       margin: 0 0 5px;
+               }
+
+               h3 {
+                       margin: 0 0 10px;
+                       font-family: "Oswald", sans-serif;
+                       text-transform: uppercase;
+                       font-weight: 700;
+                       font-size: 20px;
+               }
+
+               .rating {
+                       font-size: 18px;
+               }
+       }
+}
\ No newline at end of file
index c47503a..3d20e05 100755 (executable)
@@ -1,11 +1,11 @@
 <div class="container">
   <ul class="navbar">
 <div class="container">
   <ul class="navbar">
-       <li><a>Contatti</a></li>
-       <li><a>Iscriviti</a></li>
-       <li><a>Seguici</a></li>
-       <li><a>Patner</a></li>
-       <li><a>FAQ</a></li>
-       <li><a>Termini e Condizioni</a></li>
+       <li><a ui-sref="contact">Contatti</a></li>
+       <li><a ui-sref="signup">Iscriviti</a></li>
+       <li><a ui-sref="seguici">Seguici</a></li>
+       <li><a ui-sref="partner">Partner</a></li>
+       <li><a ui-sref="FAQ">FAQ</a></li>
+       <li><a ui-sref="t&c">Termini e Condizioni</a></li>
        <li><a>F T</a></li>
   </ul>
 </div>
        <li><a>F T</a></li>
   </ul>
 </div>
index be92116..aea472c 100755 (executable)
@@ -27,3 +27,12 @@ footer .navbar li {
     text-decoration: none;
   }
 }
     text-decoration: none;
   }
 }
+footer, .push {
+height: 70px;
+}
+.push-home{
+height: 0px;
+}
+.push-footerApp{
+height: 200px;
+}
index 95cece5..4b28bc2 100755 (executable)
     <!-- build:js({.tmp,client}) app/app.js -->
       <script src="app/app.js"></script>
       <!-- injector:js -->
     <!-- build:js({.tmp,client}) app/app.js -->
       <script src="app/app.js"></script>
       <!-- injector:js -->
+      <script src="app/contact/contact.controller.js"></script>
+      <script src="app/contact/contact.js"></script>
+      <script src="app/seguici/seguici.controller.js"></script>
+      <script src="app/seguici/seguici.js"></script>
+      <script src="app/partner/partner.controller.js"></script>
+      <script src="app/partner/partner.js"></script>
+      <script src="app/FAQ/FAQ.controller.js"></script>
+      <script src="app/FAQ/FAQ.js"></script>
+      <script src="app/t&c/t&c.controller.js"></script>
+      <script src="app/t&c/t&c.js"></script>      
       <script src="app/account/account.js"></script>
       <script src="app/account/login/login.controller.js"></script>
       <script src="app/account/settings/settings.controller.js"></script>
       <script src="app/account/account.js"></script>
       <script src="app/account/login/login.controller.js"></script>
       <script src="app/account/settings/settings.controller.js"></script>