ferwf
|
|
@ -47,29 +47,41 @@
|
||||||
"image":"img/Present.png",
|
"image":"img/Present.png",
|
||||||
"home_sources":[
|
"home_sources":[
|
||||||
{
|
{
|
||||||
"id":"McDonald",
|
"id":"Emozione3",
|
||||||
"title":"McDonald",
|
"title":"Pacchetto Emozione3",
|
||||||
"description":"Sconto di 2 euro sul BigMac.",
|
"description":"20% di sconto sul cofanetto regalo Avventura",
|
||||||
"image":"img/mcdonaldlogo.png"
|
"image":"img/promozioni/emozione.png"
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"McDonald",
|
"id":"Chagall",
|
||||||
"title":"McDonald",
|
"title":"Mostra di Chagall",
|
||||||
"description":"Reuters.com is your source for breaking news, business, financial and investing news, including personal finance and stocks. Reuters is the leading global provider of news, financial information and technology solutions to the world's media, financial institutions, businesses and individuals.",
|
"description":"Biglietto scontato del 10%",
|
||||||
"image":"img/mcdonaldlogo.png"
|
"image":"img/promozioni/chagall.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"McDonald",
|
"id":"Fiorentina",
|
||||||
"title":"McDonald",
|
"title":"Fiorentina Calcio",
|
||||||
"description":"CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.",
|
"description":"Vieni a vedere la Viola allo stadio! Il biglietto ti costa solo 10€ e ti offriamo la birra",
|
||||||
"image":"img/mcdonaldlogo.png"
|
"image":"img/promozioni/fiorentina.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"McDonald",
|
"id":"NaturaSi",
|
||||||
"title":"McDonald",
|
"title":"NaturaSi",
|
||||||
"description":"Latest World news, comment and analysis from the Guardian, the world's leading liberal voice",
|
"description":"3 confezioni di ragù Alce Nero per te!",
|
||||||
"image":"img/mcdonaldlogo.png"
|
"image":"img/promozioni/naturasi.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id":"Comisc",
|
||||||
|
"title":"Lucca Comics And Games",
|
||||||
|
"description":"Sconto del 15% sul prezzo del biglietto",
|
||||||
|
"image":"img/promozioni/comics.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id":"Trenitalia",
|
||||||
|
"title":"Trenitalia",
|
||||||
|
"description":"Biglietto per tratta regionale - 15% di sconto!",
|
||||||
|
"image":"img/promozioni/trenitalia.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -77,5 +89,15 @@
|
||||||
"id":"settings",
|
"id":"settings",
|
||||||
"title":"Impostazioni",
|
"title":"Impostazioni",
|
||||||
"image":"img/Settings.png"
|
"image":"img/Settings.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id":"allTickets",
|
||||||
|
"title":"Tutti I Biglietti",
|
||||||
|
"image":""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id":"allShop",
|
||||||
|
"title":"Tutti Gli Acquisti",
|
||||||
|
"image":""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
BIN
hackatonApp/www/img/promozioni/chagall.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
hackatonApp/www/img/promozioni/comics.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
hackatonApp/www/img/promozioni/emozione.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
hackatonApp/www/img/promozioni/fiorentina.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
hackatonApp/www/img/promozioni/mcdonalds.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
hackatonApp/www/img/promozioni/naturasi.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
hackatonApp/www/img/promozioni/trenitalia.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
hackatonApp/www/img/sfondoSettings.png
Normal file
|
After Width: | Height: | Size: 246 KiB |
BIN
hackatonApp/www/img/splashBackground.jpg
Normal file
|
After Width: | Height: | Size: 478 KiB |
|
|
@ -269,12 +269,22 @@ angular.module('your_app_name', [
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
.state('app.allTickets', {
|
.state('app.alltickets', {
|
||||||
url: "/allTickets",
|
url: "/alltickets",
|
||||||
views: {
|
views: {
|
||||||
'menuContent': {
|
'menuContent': {
|
||||||
templateUrl: "views/app/allTickets.html",
|
templateUrl: "views/app/allTickets.html",
|
||||||
controller: 'AllTicketsCtrl'
|
controller: 'CategoryCtrl'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
.state('app.allshop', {
|
||||||
|
url: "/allshop",
|
||||||
|
views: {
|
||||||
|
'menuContent': {
|
||||||
|
templateUrl: "views/app/allTickets.html",
|
||||||
|
controller: 'CategoryCtrl'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -544,6 +544,9 @@ angular.module('your_app_name.controllers', [])
|
||||||
})
|
})
|
||||||
.controller('AllTicketsCtrl', function($scope, $http) {
|
.controller('AllTicketsCtrl', function($scope, $http) {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
.controller('AllShopCtrl', function($scope, $http) {
|
||||||
|
})
|
||||||
.controller('HomeCtrl', function($scope, $http) {
|
.controller('HomeCtrl', function($scope, $http) {
|
||||||
|
|
||||||
$scope.home_categories = [];
|
$scope.home_categories = [];
|
||||||
|
|
@ -559,7 +562,12 @@ angular.module('your_app_name.controllers', [])
|
||||||
|
|
||||||
$scope.categoryId = $stateParams.categoryId;
|
$scope.categoryId = $stateParams.categoryId;
|
||||||
console.log($scope.categoryId);
|
console.log($scope.categoryId);
|
||||||
|
$scope.modifica=false;
|
||||||
|
$scope.cambiaModifica = function()
|
||||||
|
{
|
||||||
|
$scope.modifica=!$scope.modifica;
|
||||||
|
|
||||||
|
}
|
||||||
switch($scope.categoryId)
|
switch($scope.categoryId)
|
||||||
{
|
{
|
||||||
case "addticketwithphoto":
|
case "addticketwithphoto":
|
||||||
|
|
@ -591,6 +599,16 @@ angular.module('your_app_name.controllers', [])
|
||||||
console.log("odod");
|
console.log("odod");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "alltickets":
|
||||||
|
{
|
||||||
|
$scope.categoryTitle = "Tutti I Biglietti";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "allshop":
|
||||||
|
{
|
||||||
|
$scope.categoryTitle = "Tutti Gli Acquisti";
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<ion-view class="">
|
<ion-view class="" ng-hide="categoryId==settings'">
|
||||||
<ion-nav-title>
|
<ion-nav-title>
|
||||||
<span>{{categoryTitle}}</span>
|
<span>{{categoryTitle}}</span>
|
||||||
</ion-nav-title>
|
</ion-nav-title>
|
||||||
|
|
@ -35,25 +35,53 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
<div class="top-content row" ng-show="categoryId=='settings'">
|
</ion-view>
|
||||||
|
<ion-view class="profile-view" ng-show="categoryId=='settings'">
|
||||||
|
<ion-content>
|
||||||
|
<div class="top-content row">
|
||||||
<div class="profile-container">
|
<div class="profile-container">
|
||||||
<div class="user-image-container">
|
<div class="user-image-container">
|
||||||
<pre-img ratio="_1_1" helper-class="rounded-image">
|
<pre-img ratio="_1_1" helper-class="rounded-image">
|
||||||
<img class="user-image" ng-src="https://s3.amazonaws.com/uifaces/faces/twitter/brynn/128.jpg" spinner-on-load>
|
<img class="user-image" ng-src="{{user.picture}}" spinner-on-load>
|
||||||
</pre-img>
|
</pre-img>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-name">Brynn Evans</div>
|
<div class="user-name">{{user.name}} {{user.surname}}</div>
|
||||||
<div class="user-twitter">@brynn</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="user-background-image-outer">
|
<div class="user-background-image-outer">
|
||||||
<div multi-bg="['https://s3.amazonaws.com/uifaces/faces/twitter/brynn/128.jpg']"></div>
|
<div multi-bg="['img/sfondoSettings.png']"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom-content">
|
<div class="bottom-content">
|
||||||
<div class="user-bio">
|
<div class="list">
|
||||||
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
|
<label class="item item-input item-floating-label">
|
||||||
|
<span class="input-label">Nome</span>
|
||||||
|
<input type="text" placeholder="Nome" value="Laura" ng-disabled="modifica">
|
||||||
|
</label>
|
||||||
|
<label class="item item-input item-floating-label">
|
||||||
|
<span class="input-label">Cognome</span>
|
||||||
|
<input type="text" placeholder="Cognome" value="Rossi" ng-disabled="modifica">
|
||||||
|
</label>
|
||||||
|
<label class="item item-input item-floating-label">
|
||||||
|
<span class="input-label">Email</span>
|
||||||
|
<input type="email" placeholder="Email" value="laura.rossi@email.it" ng-disabled="modifica">
|
||||||
|
</label>
|
||||||
|
<label class="item item-input item-floating-label">
|
||||||
|
<span class="input-label">Cellulare</span>
|
||||||
|
<input type="text" placeholder="Cellulare" value="3477608470" ng-disabled="modifica">
|
||||||
|
</label>
|
||||||
|
<label class="item item-input item-floating-label">
|
||||||
|
<span class="input-label">Password</span>
|
||||||
|
<input type="password" placeholder="Password" value="passworddifficilissima" ng-disabled="modifica">
|
||||||
|
</label>
|
||||||
|
<button class="button button-positive-right" style="float:right; border:0;" ng-click="cambiaModifica();">
|
||||||
|
<i ng-show='!modifica' class="icon ion-edit"></i>
|
||||||
|
<i ng-show='modifica' class="icon ion-checkmark-round">Salva </i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
||||||
|
|
||||||
|
gfgr
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
<ion-view class="settings-view">
|
|
||||||
<ion-nav-buttons side="left">
|
|
||||||
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
|
|
||||||
</ion-nav-buttons>
|
|
||||||
<ion-nav-title>
|
|
||||||
<span>fvvv</span>
|
|
||||||
</ion-nav-title>
|
|
||||||
<ion-content>
|
|
||||||
<ul class="list">
|
|
||||||
|
|
||||||
<div class="item item-divider">TOGGLE</div>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-assertive">Airplane Mode</ion-toggle>
|
|
||||||
<ion-toggle ng-model="wifi" toggle-class="toggle-positive">Wi-Fi</ion-toggle>
|
|
||||||
<ion-toggle ng-model="bluetooth" toggle-class="toggle-calm">Bluetooth</ion-toggle>
|
|
||||||
<ion-toggle ng-model="personalHotspot" toggle-class="toggle-dark">Personal Hotspot</ion-toggle>
|
|
||||||
|
|
||||||
<div class="item item-divider">CHECKBOXES</div>
|
|
||||||
|
|
||||||
<ion-checkbox ng-model="checkOpt1">Option 1</ion-checkbox>
|
|
||||||
<ion-checkbox ng-model="checkOpt2">Option 2</ion-checkbox>
|
|
||||||
<ion-checkbox ng-model="checkOpt3">Option 3</ion-checkbox>
|
|
||||||
|
|
||||||
<div class="item item-divider">RADIO</div>
|
|
||||||
|
|
||||||
<ion-radio ng-model="radioChoice" ng-value="'A'">Choose A</ion-radio>
|
|
||||||
<ion-radio ng-model="radioChoice" ng-value="'B'">Choose B</ion-radio>
|
|
||||||
<ion-radio ng-model="radioChoice" ng-value="'C'">Choose C</ion-radio>
|
|
||||||
|
|
||||||
<div class="item item-divider">RANGES</div>
|
|
||||||
|
|
||||||
<div class="range">
|
|
||||||
<i class="icon ion-volume-low"></i>
|
|
||||||
<input type="range" name="volume">
|
|
||||||
<i class="icon ion-volume-high"></i>
|
|
||||||
</div>
|
|
||||||
<div class="item range range-positive">
|
|
||||||
<i class="icon ion-ios-sunny-outline"></i>
|
|
||||||
<input type="range" name="volume" min="0" max="100" value="33">
|
|
||||||
<i class="icon ion-ios-sunny"></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="item item-divider"></div>
|
|
||||||
|
|
||||||
<button class="button button-block button-assertive" ng-click="showLogOutMenu()">
|
|
||||||
Logout
|
|
||||||
</button>
|
|
||||||
</ul>
|
|
||||||
</ion-content>
|
|
||||||
</ion-view>
|
|
||||||
|
|
@ -20,13 +20,13 @@
|
||||||
<h2 class="greeting">Ciao {{user.name}}.</h2>
|
<h2 class="greeting">Ciao {{user.name}}.</h2>
|
||||||
<p class="message">Bentornata!</p>
|
<p class="message">Bentornata!</p>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="item-icon-left" menu-close ui-sref="app.allTickets">
|
<ion-item class="item-icon-left" menu-close ui-sref="app.alltickets">
|
||||||
<i class="icon ion-pricetags"></i>
|
<i class="icon ion-pricetags"></i>
|
||||||
<h2 class="menu-text">Tutti i biglietti</h2>
|
<h2 class="menu-text">Tutti i biglietti!</h2>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="item-icon-left" menu-close ui-sref="app.settings">
|
<ion-item class="item-icon-left" menu-close ui-sref="app.allshop">
|
||||||
<i class="icon ion-gear-a"></i>
|
<i class="icon ion-bag"></i>
|
||||||
<h2 class="menu-text">Impostazioni</h2>
|
<h2 class="menu-text">I tuoi acquisti!</h2>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="item-icon-left" menu-close ui-sref="#">
|
<ion-item class="item-icon-left" menu-close ui-sref="#">
|
||||||
<i class="icon ion-power"></i>
|
<i class="icon ion-power"></i>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<ion-nav-view class="auth-outer">
|
<ion-nav-view class="auth-outer">
|
||||||
<div multi-bg="['img/bg-gif.gif']"></div>
|
<div multi-bg="['img/splashBackground.jpg']"></div>
|
||||||
<!-- <div multi-bg="['img/bg-img.jpg']"></div> -->
|
<!-- <div multi-bg="['img/bg-img.jpg']"></div> -->
|
||||||
</ion-nav-view>
|
</ion-nav-view>
|
||||||
|
|
|
||||||