diff --git a/www/css/style.css b/www/css/style.css index 7c66e53..a25d01b 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -81,4 +81,37 @@ .tab-item{ background-color: #A50505 !important; - } \ No newline at end of file + } + +.image-list-thumb { + padding: 2px 2px 2px 2px; + height: 100px; +} + +.image-modal { + width: 100% !important; + height: 100%; + top: 0 !important; + left: 0 !important; +} + +.transparent { + background: transparent !important; +} + +.fullscreen-image { + max-width: 100%; + max-height: 100%; + bottom: 0; + left: 0; + margin: auto; + overflow: auto; + position: fixed; + right: 0; + top: 0; +} + +.slider { + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/www/js/app.js b/www/js/app.js index 32ae3bc..8508d4b 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -121,6 +121,7 @@ angular.module('starter', ['ionic', 'ngCordova', 'starter.controllers', 'starter } }) + .state('tab.buys', { url: '/buys', views: { diff --git a/www/js/controllers.js b/www/js/controllers.js index d268c1c..9fd40e8 100644 --- a/www/js/controllers.js +++ b/www/js/controllers.js @@ -1,6 +1,6 @@ angular.module('starter.controllers', []) -.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile) { +.controller('DashCtrl', function($scope,$ionicPopup,$http, $database, $timeout,$rootScope, $cordovaFileTransfer,$cordovaFile,$ionicLoading,$state) { $scope.preis=""; $scope.name=""; @@ -9,6 +9,17 @@ angular.module('starter.controllers', []) $scope.item=[]; +$scope.show = function() { + $ionicLoading.show({ + template: '
Kauf wird abgeschlossen.