Merge pull request #13 from cmgustavo/bug/wp-white-box
Bug/wp white box
This commit is contained in:
commit
2f4dc38eb4
24 changed files with 110 additions and 60 deletions
|
|
@ -173,6 +173,7 @@ if [ $CURRENT_OS == "WP8" ]; then
|
|||
checkOK
|
||||
cp -vf wp/Properties/* $PROJECT/platforms/wp8/Properties/
|
||||
cp -vf wp/Package.appxmanifest $PROJECT/platforms/wp8/
|
||||
cp -vf wp/MainPage.xaml $PROJECT/platforms/wp8/
|
||||
checkOK
|
||||
cp -vf wp/Assets/* $PROJECT/platforms/wp8/Assets/
|
||||
cp -vf wp/SplashScreenImage.jpg $PROJECT/platforms/wp8/
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<preference name="StatusBarBackgroundColor" value="#3C4E60" />
|
||||
<preference name="StatusBarStyle" value="lightcontent" />
|
||||
<preference name="BackupWebStorage" value="none"/>
|
||||
<preference name="windows-target-version" value="8.1"/>
|
||||
<preference name="windows-target-version" value="8.1"/>
|
||||
<feature name="App">
|
||||
<param name="android-package" value="com.bitpay.copay" />
|
||||
</feature>
|
||||
|
|
|
|||
|
|
@ -31,15 +31,16 @@
|
|||
SupportedOrientations="Portrait" Orientation="Portrait"
|
||||
shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480"
|
||||
xmlns:my="clr-namespace:WPCordovaClassLib">
|
||||
<Grid x:Name="LayoutRoot" Background="Transparent" HorizontalAlignment="Stretch">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<my:CordovaView HorizontalAlignment="Stretch"
|
||||
Margin="0,0,0,0"
|
||||
x:Name="CordovaView"
|
||||
VerticalAlignment="Stretch" />
|
||||
<Grid x:Name="LayoutRoot" Background="Transparent">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<my:CordovaView
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="1,0,0,0"
|
||||
x:Name="CordovaView"
|
||||
VerticalAlignment="Stretch" />
|
||||
</Grid>
|
||||
|
||||
|
||||
</phone:PhoneApplicationPage>
|
||||
|
||||
|
|
|
|||
BIN
cordova/wp/SplashScreenImage-original.jpg
Executable file
BIN
cordova/wp/SplashScreenImage-original.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
cordova/wp/SplashScreenImage.jpg
Normal file → Executable file
BIN
cordova/wp/SplashScreenImage.jpg
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 20 KiB |
|
|
@ -688,7 +688,6 @@ a.button-setup {
|
|||
|
||||
.locked {
|
||||
font-size: 11px;
|
||||
margin-top: 0.2rem;
|
||||
color: #7A8C9E;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
*/
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
body {
|
||||
overflow: hidden;
|
||||
-ms-content-zooming: none;
|
||||
}
|
||||
|
||||
.loading-screen {
|
||||
background-color: #2C3E50;
|
||||
|
|
@ -19,15 +23,48 @@
|
|||
}
|
||||
|
||||
.page, .main {
|
||||
height: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.main {
|
||||
height: 92%;
|
||||
margin-top: 30px;
|
||||
margin-left: 0;
|
||||
margin-bottom: -30px;
|
||||
padding: 20px 0 80px 0;
|
||||
padding: 60px 0 80px 0;
|
||||
}
|
||||
|
||||
/* Fix IE 10 */
|
||||
.extra-margin-bottom {
|
||||
display: block
|
||||
height: 75px
|
||||
overflow: hidden
|
||||
clear: both
|
||||
}
|
||||
|
||||
.main {
|
||||
height: 99%
|
||||
overflow: auto
|
||||
}
|
||||
|
||||
/* Fix IE 11 */
|
||||
_:-ms-fullscreen, :root .extra-margin-bottom {
|
||||
display: block;
|
||||
height: 75px;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
_:-ms-fullscreen, :root .main {
|
||||
height: 99%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Fix Firefox */
|
||||
@-moz-document url-prefix() {
|
||||
.extra-margin-bottom {
|
||||
display: block;
|
||||
height: 75px;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-bar {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
<meta name="msapplication-tap-highlight" content="no">
|
||||
<title>Copay - Multisignature Wallet</title>
|
||||
<style type="text/css">
|
||||
|
|
@ -121,7 +121,9 @@
|
|||
ng-class="{'dni':$root.hideNavigation || $root.wpInputFocused}"
|
||||
></div>
|
||||
|
||||
<section ng-class="{'main':$root.iden && !$root.starting && !$root.hideNavigation && !$root.wpInputFocused}" ng-view></section>
|
||||
<section
|
||||
ng-class="{'main':$root.iden && !$root.starting && !$root.hideNavigation && !$root.wpInputFocused}"
|
||||
ng-view></section>
|
||||
|
||||
<a class="exit-off-canvas"></a>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope, $timeout, $filter, $modal, rateService, notification, txStatus, identityService) {
|
||||
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope, $timeout, $filter, $modal, rateService, notification, txStatus, identityService, isMobile) {
|
||||
|
||||
$scope.initHome = function() {
|
||||
$rootScope.title = 'Home';
|
||||
};
|
||||
$scope.isMobile = isMobile.any();
|
||||
|
||||
$scope.openTxModal = function(tx) {
|
||||
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@
|
|||
<span>Import wallet</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div ng-controller="CopayersController" ng-init="init()">
|
||||
<div class="row">
|
||||
<div class="large-12 medium-12 small-12 columns">
|
||||
<h1 class="hide-for-large-up size-18">{{$root.title}}</h1>
|
||||
<h1>Share this secret with your copayers</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -50,4 +50,5 @@
|
|||
</div>
|
||||
<!-- end of row -->
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -87,3 +87,4 @@
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -241,4 +241,5 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@
|
|||
<h3 translate class="text-center" ng-class="{'text-white': !$root.wallet}">Page not found</h3>
|
||||
<p class="text-center"><a href="#!/">« <span translate>Back</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="m50b" ng-show="blockchain_txs[0].txid">
|
||||
<div class="m10b" ng-show="blockchain_txs[0].txid">
|
||||
<div class="row">
|
||||
<div class="large-9 columns">
|
||||
<pagination page="currentPage" total-items="totalItems" items-per-page="itemsPerPage" on-select-page="selectPage(page)" max-size="10" />
|
||||
|
|
@ -67,3 +67,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<div class="large-4 large-centered medium-6 medium-centered columns" ng-show="!$root.starting && !showDisclaimer">
|
||||
|
||||
<div class="logo-setup" ng-show="!$root.iden && !hideForWP">
|
||||
<img src="img/logo-negative-beta.svg" alt="Cop ay" width="100">
|
||||
<img src="img/logo-negative-beta.svg" alt="Copay" width="100">
|
||||
<div ng-include="'views/includes/version.html'"></div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="home-wallet" ng-controller="HomeWalletController" ng-init="initHome()">
|
||||
<div class="home-wallet" ng-controller="HomeWalletController">
|
||||
<div class="row show-for-large-up">
|
||||
<div class="medium-12 small-12 columns">
|
||||
<div class="large-12 columns">
|
||||
<h1 translate>Home</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -14,7 +14,6 @@
|
|||
<div class="avatar-wallet left">{{$root.wallet.getName() | limitTo: 1}}</div>
|
||||
<h2 class="m10t left">
|
||||
{{$root.wallet.getName()}}
|
||||
<a ng-click="$root.go('more')"><i class="fi-widget size-24"></i></a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -39,7 +38,7 @@
|
|||
|
||||
<div class="row ">
|
||||
<div class="large-12 columns line-t m10t">
|
||||
<div class="right size-12">
|
||||
<div class="text-right size-12">
|
||||
<span ng-if="!$root.wallet.isShared()">Personal Wallet</span>
|
||||
<span ng-if="$root.wallet.isShared()">
|
||||
Multisignature wallet [{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
|
||||
|
|
@ -76,7 +75,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row m50b" ng-if="$root.wallet.isShared()">
|
||||
<div class="row" ng-if="$root.wallet.isShared()">
|
||||
<!-- List of copayers -->
|
||||
<div class="large-12 columns">
|
||||
<div class="panel oh">
|
||||
|
|
@ -85,4 +84,11 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" ng-show="isMobile">
|
||||
<div class="large-12 columns text-right size-12">
|
||||
<a ng-click="$root.go('more')"><i class="fi-widget"></i> Settings</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -97,3 +97,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -1,26 +1,21 @@
|
|||
<div class="founds">
|
||||
<span ng-if="!$root.wallet.isComplete()">Waiting for copayers...</span>
|
||||
<div ng-if="$root.wallet.isComplete()">
|
||||
<span ng-if="$root.wallet.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
|
||||
<div ng-if="$root.wallet && !$root.wallet.balanceInfo.updatingBalance" data-options="disable_for_touch:true">
|
||||
<small class="db text-light">Balance:</small>
|
||||
<b class="m5r">{{$root.wallet.balanceInfo.totalBalance || 0}} {{$root.wallet.settings.unitName}}</b>
|
||||
<span ng-if="$root.wallet.balanceInfo.alternativeBalanceAvailable" class="alt-currency gray">{{$root.wallet.balanceInfo.totalBalanceAlternative}} {{$root.wallet.balanceInfo.alternativeIsoCode}}</span>
|
||||
<span ng-if="!$root.wallet.balanceInfo.alternativeBalanceAvailable" class="alt-currency gray">N/A</span>
|
||||
<small ng-if="$root.wallet">
|
||||
<a class="text-gray" ng-click="refresh()" ng-if="$root.wallet.isComplete() && !$root.updatingBalance">
|
||||
<i class="fi-refresh"></i>
|
||||
</a>
|
||||
<span ng-if="$root.updatingBalance">
|
||||
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
||||
</span>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="founds" ng-if="$root.wallet.isComplete()">
|
||||
<span ng-if="$root.wallet.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
|
||||
<div ng-if="$root.wallet && !$root.wallet.balanceInfo.updatingBalance" data-options="disable_for_touch:true">
|
||||
<small class="db text-light">Balance:</small>
|
||||
<b class="m5r">{{$root.wallet.balanceInfo.totalBalance || 0}} {{$root.wallet.settings.unitName}}</b>
|
||||
<span ng-if="$root.wallet.balanceInfo.alternativeBalanceAvailable" class="alt-currency gray">{{$root.wallet.balanceInfo.totalBalanceAlternative}} {{$root.wallet.balanceInfo.alternativeIsoCode}}</span>
|
||||
<span ng-if="!$root.wallet.balanceInfo.alternativeBalanceAvailable" class="alt-currency gray">N/A</span>
|
||||
<small ng-if="$root.wallet">
|
||||
<a class="text-gray" ng-click="refresh()" ng-if="$root.wallet.isComplete() && !$root.updatingBalance">
|
||||
<i class="fi-refresh"></i>
|
||||
</a>
|
||||
<span ng-if="$root.updatingBalance">
|
||||
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
||||
</span>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="menu" ng-mouseover="hoverIn()" ng-mouseleave="hoverOut()" ng-init="init()" ng-click="hoverMenu = !hoverMenu">
|
||||
<a class="dropdown ellipsis text-gray pr" ng-class="{'hover': hoverMenu}">
|
||||
<div class="photo-container">
|
||||
|
|
|
|||
|
|
@ -76,4 +76,5 @@
|
|||
<!-- End !loading -->
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -102,3 +102,4 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
<div class="line-dashed-h m20b"></div>
|
||||
|
||||
<div class="m50b row oh">
|
||||
<div class="row oh">
|
||||
<div class="large-12 columns">
|
||||
<a class="small left button-setup" ng-click="hideAdv=!hideAdv">
|
||||
<i class="fi-widget m3r"></i>
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-hide="hideAdv" class="row m50b">
|
||||
<div ng-hide="hideAdv" class="row">
|
||||
<div class="large-12 columns">
|
||||
<div class="panel">
|
||||
<h2><i class="fi-minus-circle m10r"></i>
|
||||
|
|
@ -142,3 +142,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m50b">
|
||||
<div class="row">
|
||||
<div class="large-12 columns" ng-if="showAll">
|
||||
<div ng-repeat="addr in addresses" ng-click="openAddressModal(addr)" class="pointer">
|
||||
<div class="panel">
|
||||
|
|
@ -64,3 +64,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -164,19 +164,20 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="locked" ng-show="$root.wallet.balanceInfo.lockedBalance && !walletSelection">
|
||||
<div class="locked m10b" ng-show="$root.wallet.balanceInfo.lockedBalance && !walletSelection">
|
||||
<i class="fi-lock"></i>
|
||||
<span>
|
||||
{{'Locked'|translate}}
|
||||
{{'Locked'|translate}}
|
||||
</span>
|
||||
<span ng-if="$root.wallet.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
|
||||
<span ng-if="$root.wallet && !$root.wallet.balanceInfo.updatingBalance">
|
||||
<b>{{$root.wallet.balanceInfo.lockedBalance}} {{$root.wallet.settings.unitName}} </b>
|
||||
- {{$root.wallet.balanceInfo.lockedBalanceAlternative}} {{$root.wallet.balanceInfo.alternativeIsoCode}}
|
||||
</span>
|
||||
<a href="#" class="has-tip" tooltip-placement="left" tooltip="More info"><i class="fi-info"></i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of row -->
|
||||
</div>
|
||||
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue