copay/public/views/includes/topbar.html

31 lines
1.2 KiB
HTML
Raw Normal View History

<nav ng-controller="topbarController as topbar"
class="tab-bar"
2015-12-01 12:16:39 -08:00
ng-style="{'background-color': noColor ? '#4B6178' : index.backgroundColor}">
2015-03-06 07:00:10 -08:00
<section class="left-small">
2015-05-07 15:02:38 -07:00
<a id="hamburger" class="p10" ng-show="!goBackToState && !closeToHome && !index.noFocusedWallet"
2016-02-10 13:49:55 -08:00
fast-click callback-fn="index.openMenu()"><i class="fi-list size-24"></i>
2015-03-06 07:00:10 -08:00
</a>
2015-05-29 07:43:38 -07:00
<a ng-show="goBackToState"
2016-02-10 13:49:55 -08:00
fast-click callback-fn="$root.go(goBackToState); goBackToState = null"><i class="icon-arrow-left3 icon-back"></i>
2015-04-22 14:41:30 -07:00
<span class="text-back">{{'Back'|translate}}</span>
2015-03-06 07:00:10 -08:00
</a>
2015-05-07 14:35:54 -07:00
<a ng-show="closeToHome" class="p10 "
2016-02-10 13:49:55 -08:00
fast-click callback-fn="topbar.goHome(); index.setCompactTxHistory(); closeToHome = null">
<span class="text-close">{{'Close'|translate}}</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">
2016-02-10 13:49:55 -08:00
<a class="p10" fast-click callback-fn="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>