commit
abdf15cdf7
3 changed files with 14 additions and 7 deletions
|
|
@ -113,7 +113,7 @@ button.primary { background-color: #111; }
|
|||
button.secondary { background-color: #FAE448 !important; }
|
||||
|
||||
button.primary:hover { background-color: #333;}
|
||||
button.secondary:hover { background-color: #D7C020 !important;}
|
||||
button.secondary:hover { background-color: #FFDF00 !important;}
|
||||
|
||||
.m0 {margin: 0;}
|
||||
.db {display: block;}
|
||||
|
|
|
|||
|
|
@ -23,19 +23,17 @@
|
|||
</div>
|
||||
|
||||
<nav class="top-bar" data-topbar ng-show="$root.wallet">
|
||||
<!-- TODO : porque el repeat en UL y no en LI?? -->
|
||||
<ul class="title-area" data-ng-repeat="item in menu" ui-route="/{{item.link}}" data-ng-class="{active: isActive(item)}">
|
||||
<ul class="title-area">
|
||||
<li class="name"></li>
|
||||
<li class="toggle-topbar menu-icon">
|
||||
<a href="{{item.link}}">{{item.title}}</a>
|
||||
<a href="#"> Menu</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section class="top-bar-section">
|
||||
<!-- Right Nav Section -->
|
||||
<ul>
|
||||
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="large-2 text-center" data-ng-class="{active: isActive(item)}">
|
||||
<a href="{{item.link}}"> <i class="fi-home size-16"></i> {{item.title}}</a>
|
||||
<a href="{{item.link}}"> <i class="{{item.icon}}"></i> {{item.title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -4,20 +4,29 @@ angular.module('copay.header').controller('HeaderController',
|
|||
function($scope, $rootScope, $location, Network) {
|
||||
$scope.menu = [{
|
||||
'title': 'Home',
|
||||
'icon': 'fi-home',
|
||||
'link': '#/home'
|
||||
}, {
|
||||
'title': 'Copayers',
|
||||
'icon': 'fi-torsos-all',
|
||||
'link': '#/peer'
|
||||
}, {
|
||||
'title': 'Transactions',
|
||||
'icon': 'fi-loop',
|
||||
'link': '#/transactions'
|
||||
}, {
|
||||
'title': 'Send',
|
||||
'icon': 'fi-arrow-right',
|
||||
'link': '#/send'
|
||||
}, {
|
||||
'title': 'Backup',
|
||||
'icon': 'fi-archive',
|
||||
'link': '#/backup'
|
||||
}];
|
||||
}, {
|
||||
'title': 'signout',
|
||||
'icon': 'fi-power',
|
||||
'link': '#/signout'
|
||||
}]
|
||||
|
||||
if (!$rootScope.peerId) {
|
||||
$location.path('signin');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue