added services list
This commit is contained in:
parent
81e299313f
commit
f8227922b9
2 changed files with 33 additions and 0 deletions
15
src/js/controllers/servicesController.js
Normal file
15
src/js/controllers/servicesController.js
Normal 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);
|
||||
};
|
||||
|
||||
});
|
||||
18
www/views/includes/services.html
Normal file
18
www/views/includes/services.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue