mirror of https://github.com/BTCPrivate/copay.git
remove unused view
This commit is contained in:
parent
155bf9c0d2
commit
020dbcd909
|
@ -1,17 +0,0 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('lockedViewController', function($state, $scope, $ionicHistory, fingerprintService, appConfigService, gettextCatalog) {
|
|
||||||
$scope.$on("$ionicView.beforeEnter", function(event) {
|
|
||||||
$scope.title = appConfigService.nameCase + ' ' + gettextCatalog.getString('is locked');
|
|
||||||
$scope.appName = appConfigService.name;
|
|
||||||
});
|
|
||||||
|
|
||||||
$scope.requestFingerprint = function() {
|
|
||||||
fingerprintService.check('unlockingApp', function(err) {
|
|
||||||
if (err) return;
|
|
||||||
$state.transitionTo('tabs.home').then(function() {
|
|
||||||
$ionicHistory.clearHistory();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
|
||||||
});
|
|
|
@ -1,42 +0,0 @@
|
||||||
#locked-view {
|
|
||||||
@mixin img-frame {
|
|
||||||
height: 60px;
|
|
||||||
width: 60px;
|
|
||||||
box-shadow: none;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
.img-container-copay {
|
|
||||||
padding: 20%;
|
|
||||||
@media(min-width: 480px) {
|
|
||||||
max-height: 150px;
|
|
||||||
}
|
|
||||||
.big-icon-svg {
|
|
||||||
> .bg {
|
|
||||||
@include img-frame;
|
|
||||||
background-image: url("../img/icon-fingerprint-copay.svg");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.img-container-bitpay {
|
|
||||||
padding: 20%;
|
|
||||||
@media(min-width: 480px) {
|
|
||||||
max-height: 150px;
|
|
||||||
}
|
|
||||||
.big-icon-svg {
|
|
||||||
> .bg {
|
|
||||||
@include img-frame;
|
|
||||||
background-image: url("../img/icon-fingerprint-bitpay.svg");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.comments {
|
|
||||||
text-align: center;
|
|
||||||
.header {
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
.text-content {
|
|
||||||
width: 90%;
|
|
||||||
margin: 5% auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
<ion-view id="locked-view">
|
|
||||||
<ion-nav-bar class="bar-royal">
|
|
||||||
<ion-nav-title>{{title}}</ion-nav-title>
|
|
||||||
</ion-nav-bar>
|
|
||||||
|
|
||||||
<ion-content>
|
|
||||||
<div ng-if="appName == 'copay'" class="img-container-copay">
|
|
||||||
<i class="icon big-icon-svg"><div class="bg"></div></i>
|
|
||||||
</div>
|
|
||||||
<div ng-if="appName == 'bitpay'" class="img-container-bitpay">
|
|
||||||
<i class="icon big-icon-svg"><div class="bg"></div></i>
|
|
||||||
</div>
|
|
||||||
<div class="comments">
|
|
||||||
<div class="header" translate>One-touch Sign In</div>
|
|
||||||
<div class="text-content" translate>Please place your fingertip on the scanner to verify your identity</div>
|
|
||||||
</div>
|
|
||||||
<button type="submit" style="margin-top: 15%"
|
|
||||||
class="button button-standard button-primary" ng-click="requestFingerprint()" translate>Scan again
|
|
||||||
</button>
|
|
||||||
</ion-content>
|
|
||||||
</ion-view>
|
|
Loading…
Reference in New Issue