Merge pull request #60 from bechi/feature/01-home-page

Feature/01 home page
This commit is contained in:
Mario Colque 2014-04-16 12:20:57 -03:00
commit 7f31c72758
2 changed files with 15 additions and 5 deletions

View File

@ -72,6 +72,7 @@ body {
}
.panel {
color: #333;
background: #FFFFFF;
padding: 0.7rem 1rem;
border:0;
@ -79,6 +80,11 @@ body {
.panel:hover {
background: #efefef;
color: #111;
}
.home .panel {
font-size: 0.9rem;
}
.transactions .panel {
@ -173,4 +179,4 @@ button.secondary:hover { background-color: #FFDF00 !important;}
.size-48 { font-size: 48px; }
.size-60 { font-size: 60px; }
.size-72 { font-size: 72px; }
.m10t {margin-top: 10px;}

View File

@ -129,17 +129,21 @@
<!-- HOME -->
<script type="text/ng-template" id="home.html">
<div class="home" data-ng-controller="HomeController">
<h2>{{title}}</h2>
<h3>Address</h3>
<div class="row">
<div class="large-6 columns">
<a class="panel db" ng-repeat="addr in addrs" ng-click="selectAddr(addr)">{{addr}} <span class="right"> &gt;</span></a>
</div>
<div class="large-6 columns">
<div class="large-3 columns line-dashed-v text-center">
<qrcode size="160" data="{{selectedAddr}}"></qrcode>
<p> 2.5432 BTC </p>
<p class="m10t"> <strong> 2.5432 BTC </strong> </p>
</div>
<div class="large-1 columns"> </div>
<div class="large-2 columns">
<p> Create a New <strong> Address </strong> </p>
<button class="secondary round expand" ng-click="newAddr()"> Create </button>
</div>
<button class="secondary round large-4 columns" ng-click="newAddr()"> New address</button>
</div>
</div>
</script>