signout button

This commit is contained in:
bechi 2014-07-25 11:23:06 -03:00
parent fc3d5e3157
commit 1e85511c3c
3 changed files with 33 additions and 15 deletions

View File

@ -198,7 +198,7 @@ a:hover {
} }
.button.small.side-bar { .button.small.side-bar {
padding: 0.2rem 0.4rem; padding: 0rem 0.4rem;
} }
.waiting { .waiting {
@ -846,6 +846,20 @@ button[disabled].black:focus,
color: #E6E6E6; color: #E6E6E6;
} }
/* GRAY */
button.gray,
.button.gray {
background-color: #A9B2B8;
color: #2C3E50;
}
button.gray:hover,
button.gray:focus,
.button.gray:hover,
.button.gray:focus {
background-color: #E0E5E5;
color: #2C3E50;
}
.side-nav {padding: 0;} .side-nav {padding: 0;}
.side-nav li { .side-nav li {

View File

@ -1,7 +1,7 @@
<div ng-controller="VideoController" class="copayers"> <div ng-controller="VideoController" class="copayers">
<div> <div>
<h3> <h3>
<i class="fi-torsos-all size-24 m20r"></i> <i class="fi-torsos-all size-21 m20r"></i>
Copayers Copayers
<small class="m15l"> <small class="m15l">
{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} {{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}}

View File

@ -1,25 +1,25 @@
<div ng-controller="SidebarController"> <div ng-controller="SidebarController">
<header class="text-center p20"> <header class="p20">
<a href="/" class="db"> <div class="text-center">
<img src="../img/logo-negative-beta.svg" alt="" width="100"> <a href="/" class="db">
</a> <img src="../img/logo-negative-beta.svg" alt="" width="100">
<div> </a>
<small>v{{version}}</small> <div>
<small ng-if="$root.wallet.getNetworkName()=='livenet'">LIVENET</small> <small>v{{version}}</small>
<small ng-if="$root.wallet.getNetworkName()=='testnet'">TESTNET</small> <small ng-if="$root.wallet.getNetworkName()=='livenet'">LIVENET</small>
<small ng-if="$root.wallet.getNetworkName()=='testnet'">TESTNET</small>
</div>
</div> </div>
<div class="line-sidebar"></div> <div class="line-sidebar"></div>
<div> <div>
<a href="/addresses" class="name-wallet" tooltip-placement="bottom" tooltip="ID: {{$root.wallet.id}}"> <a href="/addresses" class="name-wallet" tooltip-placement="bottom" tooltip="ID: {{$root.wallet.id}}">
<span>{{$root.wallet.getName()}}</span> <span>{{$root.wallet.getName()}}</span>
</a> </a>
<a class="button primary small side-bar" title="Manual Refresh" <a class="button gray small side-bar right" title="Manual Refresh"
ng-disabled="$root.loading" ng-disabled="$root.loading"
ng-click="refresh()"><i class="size-16 fi-refresh"></i></a> ng-click="refresh()"><i class="size-16 fi-refresh"></i></a>
<a class="button primary small side-bar" title="Signout"
ng-click="signout()"><i class="size-16 fi-power"></i></a>
</div> </div>
<div class="founds size-12"> <div class="founds size-14 m10v">
Balance Balance
<span ng-if="$root.updatingBalance"> <span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i> <i class="fi-bitcoin-circle icon-rotate spinner"></i>
@ -48,10 +48,14 @@
<ul class="side-nav"> <ul class="side-nav">
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="nav-item" data-ng-class="{active: isActive(item)}"> <li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="nav-item" data-ng-class="{active: isActive(item)}">
<a href="{{item.link}}" ng-click="toggleCollapse()" class="db p20h"> <a href="{{item.link}}" ng-click="toggleCollapse()" class="db p20h">
<i class="size-24 m20r {{item.icon}}"></i> {{item.title}} <i class="size-21 m20r {{item.icon}}"></i> {{item.title}}
<span class="label alert round" ng-if="item.link=='transactions' && $root.pendingTxCount > 0">{{$root.pendingTxCount}}</span> <span class="label alert round" ng-if="item.link=='transactions' && $root.pendingTxCount > 0">{{$root.pendingTxCount}}</span>
</a> </a>
</li> </li>
<li>
<a href="#" class="db p20h" title="Signout"
ng-click="signout()"><i class="size-21 m20r fi-power"></i> Signout</a>
</li>
</ul> </ul>
<div ng-include="'views/includes/peer-list.html'"></div> <div ng-include="'views/includes/peer-list.html'"></div>