added services list

This commit is contained in:
Kadir Sekha 2017-12-13 20:58:05 +09:00
commit f8227922b9
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,15 @@
'use strict';
angular.module('copayApp.controllers').controller('servicesController', function($scope, $ionicScrollDelegate, $timeout) {
$scope.hide = false;
$scope.toggle = function() {
$scope.hide = !$scope.hide;
$timeout(function() {
$ionicScrollDelegate.resize();
$scope.$apply();
}, 10);
};
});

View file

@ -0,0 +1,18 @@
<div ng-controller="servicesController">
<div class="item item-icon-right item-heading" ng-click="toggle()">
<span translate>Services</span>
<i class="icon bp-arrow-up" ng-show="!hide"></i>
<i class="icon bp-arrow-down" ng-show="hide"></i>
</div>
<div ng-show="!hide">
<div>
<a ui-sref="tabs.shapeshift" class="item item-sub item-icon-left item-big-icon-left item-icon-right service">
<i class="icon big-icon-svg">
<img src="img/shapeshifticon.png" class="bg"/>
</i>
<span>Shapeshift</span>
<i class="icon bp-arrow-right"></i>
</a>
</div>
</div>
</div>