--- /dev/null
+'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;
+ });
+});
--- /dev/null
+<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>
+
--- /dev/null
+'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
+ }
+ })
+ });
--- /dev/null
+.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
// 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 'contact/contact.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
<button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
</div>
</div>
+ <div class="push"></div>
</div>
<footer></footer>
<button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
</div>
</div>
+ <div class="push"></div>
</div>
<footer></footer>
--- /dev/null
+'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;
+ });
+});
--- /dev/null
+<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>
+
--- /dev/null
+'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
+ }
+ })
+ });
--- /dev/null
+.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
-<div class="main-container">
+<div class="main-container-home">
<div id="homeSlider" resizewin ng-style="style(10)">
<carousel interval="5000">
</div>
</form>
</div>
-
</div>
-
+<div class="push-home"></div>
</div>
<footer class="homeFooter"></footer>
}
.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 {
<button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
</div>
</div>
+ <div class="push"></div>
</div>
<footer></footer>
<button class="btn btn-default" ng-click="loadShows()">{{'CARICA ALTRO' | translate}}</button><br><br>
</div>
</div>
+ <div class="push"></div>
</div>
<footer></footer>
--- /dev/null
+'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;
+ });
+});
--- /dev/null
+<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>
--- /dev/null
+'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
+ }
+ })
+ });
--- /dev/null
+.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
--- /dev/null
+'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;
+ });
+});
--- /dev/null
+<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>
--- /dev/null
+'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
+ }
+ })
+ });
--- /dev/null
+.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
--- /dev/null
+'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;
+ });
+});
--- /dev/null
+<<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>
--- /dev/null
+'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
+ }
+ })
+ });
--- /dev/null
+.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
<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>
text-decoration: none;
}
}
+footer, .push {
+height: 70px;
+}
+.push-home{
+height: 0px;
+}
+.push-footerApp{
+height: 200px;
+}
<!-- 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>