2015-03-06 07:00:10 -08:00
|
|
|
<nav class="sidebar left-off-canvas-menu" ng-controller="sidebarController as sidebar">
|
|
|
|
<header>
|
2015-09-17 07:39:43 -07:00
|
|
|
<logo ng-if="!sidebar.isWindowsPhoneApp" negative="true" width="80"></logo>
|
|
|
|
<img ng-if="sidebar.isWindowsPhoneApp" src="img/logo-negative.png" alt="Copay" width="80">
|
2015-03-06 07:00:10 -08:00
|
|
|
<div ng-include="'views/includes/version.html'"></div>
|
|
|
|
</header>
|
|
|
|
<ul class="off-canvas-list">
|
|
|
|
<li ng-show="sidebar.wallets[0]"
|
|
|
|
ng-repeat="item in sidebar.wallets track by $index"
|
|
|
|
ng-class="{'selected': item.id == index.walletId}"
|
|
|
|
class="nav-item">
|
2016-04-28 06:40:06 -07:00
|
|
|
<a ng-click="sidebar.closeMenu(); sidebar.switchWallet(item.id, index.walletId)" class="oh">
|
2015-05-08 14:27:27 -07:00
|
|
|
<div class="avatar-wallet"
|
2015-12-04 11:34:23 -08:00
|
|
|
ng-style="{'background-color':item.color}">
|
|
|
|
<i class="icon-wallet size-21"></i>
|
|
|
|
</div>
|
2015-05-19 13:08:03 -07:00
|
|
|
<div class="name-wallet" ng-class="{'m8t':item.n == 1}">{{item.name || item.id}}</div>
|
2015-09-12 20:10:02 -07:00
|
|
|
<div class="size-12" ng-show="item.n > 1" translate>{{item.m}}-of-{{item.n}}</div>
|
2015-03-06 07:00:10 -08:00
|
|
|
</a>
|
2015-05-08 14:27:27 -07:00
|
|
|
</li>
|
2015-04-13 10:58:07 -07:00
|
|
|
<li>
|
2016-02-22 14:32:24 -08:00
|
|
|
<a ng-click="sidebar.closeMenu(); $root.go('add')" class="oh">
|
2015-12-04 11:34:23 -08:00
|
|
|
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
|
|
|
<i class="fi-plus size-24 icon vm"></i>
|
2015-05-08 14:27:27 -07:00
|
|
|
<div class="tu text-bold">
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="size-12" translate>Add wallet</span>
|
|
|
|
</div>
|
|
|
|
<div translate>Create, join or import</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-05-03 10:16:14 -07:00
|
|
|
<li ng-show="!index.isWindowsPhoneApp && index.isComplete && (index.glideraEnabled || index.coinbaseEnabled)">
|
2016-04-13 10:08:03 -07:00
|
|
|
<a ng-click="sidebar.closeMenu(); $root.go('buyandsell')" class="oh">
|
2015-12-04 11:34:23 -08:00
|
|
|
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
|
|
|
<i class="icon-bank size-24 icon vm"></i>
|
2016-04-13 10:08:03 -07:00
|
|
|
<div class="tu text-bold m5t">
|
2016-05-04 04:26:14 -07:00
|
|
|
<span class="size-12" translate>Buy & Sell</span>
|
2015-09-11 09:11:41 -07:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-11-09 10:20:15 -08:00
|
|
|
<li>
|
2016-02-22 14:32:24 -08:00
|
|
|
<a ng-click="sidebar.closeMenu(); $root.go('preferencesGlobal')" class="oh">
|
2015-12-04 11:34:23 -08:00
|
|
|
<i class="icon-arrow-right3 size-18 right m10t vm"></i>
|
|
|
|
<i class="fi-widget size-24 icon vm"></i>
|
2015-11-09 10:20:15 -08:00
|
|
|
<div class="tu text-bold">
|
2015-12-04 07:08:05 -08:00
|
|
|
<span class="size-12" translate>Settings</span>
|
2015-11-09 10:20:15 -08:00
|
|
|
</div>
|
2015-12-04 07:12:48 -08:00
|
|
|
<div translate>Global preferences</div>
|
2015-11-09 10:20:15 -08:00
|
|
|
</a>
|
|
|
|
</li>
|
2015-03-06 07:00:10 -08:00
|
|
|
</ul>
|
|
|
|
</nav>
|