Fixed layout for small devices. remove unused function and css classes.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-03 14:10:59 -03:00
commit 885765b873
10 changed files with 92 additions and 166 deletions

View file

@ -6,10 +6,11 @@
tooltip="ID: {{copayer.peerId}}"
tooltip-placement="bottom">
<small class="text-gray" ng-show="copayer.index == 0">
<i class="fi-check m5r"></i>{{'Me'|translate}}</small>
<small class="text-gray" ng-show="copayer.index > 0"><i class="fi-check m5r"></i>{{copayer.nick}}</small>
<i class="fi-check m5r"></i> {{'Me'|translate}}
</small>
<small class="text-gray" ng-show="copayer.index > 0">
<i class="fi-check m5r"></i> {{copayer.nick}}
</small>
</div>
<div translate class="success label m10t" ng-show="isBackupReady(copayer)">Ready</div>
</div>
</div>

View file

@ -1,5 +1,15 @@
<div class="title">
<h1>{{$root.title}}</h1>
<h1>
{{$root.title}}
<small>
<a class="text-gray" ng-click="refresh()" ng-if="!$root.updatingBalance">
<i class="fi-refresh"></i>
</a>
<span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span>
</small>
</h1>
</div>
@ -17,11 +27,6 @@
</ul>
</div>
<div class="right">
<a class="button tiny secondary radius oh" href="#!/manage" title="Manage wallets"><i class="fi-plus"></i> {{'Manage wallets' | translate }}</a>
</div>
<div class="right m20r m5t">
<a ng-click="refresh()" class="size-18 text-gray">
<i class="fi-refresh right"></i>
</a>
<a class="button tiny secondary radius m0" href="#!/manage" title="Manage wallets"><i class="fi-plus"></i> {{'Manage wallets' | translate }}</a>
</div>

View file

@ -1,26 +0,0 @@
<div ng-controller="CopayersController"
class="copayers"
ng-mouseenter="showCopayers=1"
ng-mouseleave="showCopayers=0">
<h3>
<i class="fi-torsos-all size-21 m20r"></i>
<span translate>Copayers</span>
<small class="m15l">
{{$root.wallet.requiredCopayers}} <span translate>of</span> {{$root.wallet.totalCopayers}}
</small>
</h3>
<div class="copay-box-small" ng-repeat="copayer in copayersList()"
ng-show="showCopayers">
<img
class="br100 online"
src="./img/satoshi.gif"
alt="{{copayer.peerId}}"
width="30">
<div tooltip-placement="top" tooltip="{{copayer.nick}}">
<small class="text-gray db" ng-show="copayer.index == 0">{{'Me'|translate}}</small>
<small class="text-gray ellipsis" ng-show="copayer.index > 0">{{copayer.nick}}</small>
</div>
</div>
</div>