copay/public/views/includes/topbar.html

29 lines
1.2 KiB
HTML
Raw Normal View History

<nav ng-controller="topbarController as topbar"
2016-05-23 12:30:36 -07:00
class="tab-bar" ng-style="{'background-color': noColor ? '#4B6178' : index.backgroundColor}">
2015-03-06 07:00:10 -08:00
<section class="left-small">
2016-06-23 12:18:18 -07:00
<a id="hamburger" class="p10" ng-show="!goBackToState && !closeToHome && !index.noFocusedWallet && index.physicalScreenWidth < 768"
on-tap="index.toggleLeftMenu()"><i class="fi-list size-24"></i>
2015-03-06 07:00:10 -08:00
</a>
<a ng-show="goBackToState" ng-click="$root.go(goBackToState); goBackToState = null"><i class="icon-arrow-left3 icon-back"></i>
<span class="text-back" translate>Back</span>
2015-03-06 07:00:10 -08:00
</a>
2015-05-07 14:35:54 -07:00
<a ng-show="closeToHome" class="p10 "
ng-click="topbar.goHome(); index.setCompactTxHistory(); closeToHome = null">
<span class="text-close" translate>Close</span>
2015-04-23 14:29:25 -07:00
</a>
2015-03-06 07:00:10 -08:00
</section>
2015-12-14 11:13:53 -08:00
<section class="right-small" ng-show="showPreferences && !index.noFocusedWallet">
<a class="p10" ng-click="topbar.goPreferences(); index.setCompactTxHistory()">
2015-12-01 12:16:39 -08:00
<i class="fi-widget size-24"></i>
</a>
2015-05-07 14:35:54 -07:00
</section>
2015-03-06 07:00:10 -08:00
<section class="middle tab-bar-section">
2015-12-01 12:16:39 -08:00
<h1 class="title ellipsis">
2015-05-14 06:39:22 -07:00
{{(titleSection|translate) || (index.alias || index.walletName)}}
2015-03-06 07:00:10 -08:00
</h1>
</section>
</nav>