Showing the session log some love. Replaced slider with checkbox bar.
This commit is contained in:
parent
4f5d806ff7
commit
adc81ffa4c
16 changed files with 192 additions and 212 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.directives')
|
||||
.directive('logOptions', function($timeout) {
|
||||
.directive('logOptions', function($timeout, platformInfo) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'views/includes/logOptions.html',
|
||||
|
|
@ -10,13 +10,17 @@ angular.module('copayApp.directives')
|
|||
show: '=logOptionsShow',
|
||||
options: '=logOptions',
|
||||
fillClass: '=logOptionsFillClass',
|
||||
title: '=logOptionsTitle',
|
||||
onSelect: '=logOptionsOnSelect'
|
||||
onSelect: '=logOptionsOnSelect',
|
||||
onCopy: '=logOptionsOnCopy',
|
||||
onSend: '=logOptionsOnSend'
|
||||
},
|
||||
link: function(scope, element, attrs) {
|
||||
scope.isCordova = platformInfo.isCordova;
|
||||
|
||||
scope.hide = function() {
|
||||
scope.show = false;
|
||||
};
|
||||
|
||||
scope.getFillClass = function(index) {
|
||||
scope.onSelect(index);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue