Merge branch 'master' of github.com:bitpay/mystery into test/test-p2p-sync

This commit is contained in:
Manuel Araoz 2014-01-16 16:49:49 -03:00
commit 87d5e43938
3 changed files with 47 additions and 31 deletions

View File

@ -1,5 +1,7 @@
.mystery { .insight {
font-family: Ubuntu-BoldItalic; font-family: Ubuntu, sans-serif;
font-weight: 400;
font-style: italic;
font-size: 34px; font-size: 34px;
color: #FFFFFF !important; color: #FFFFFF !important;
line-height: 18px; line-height: 18px;
@ -16,6 +18,12 @@ body {
/* The html and body elements cannot have any padding or margin. */ /* The html and body elements cannot have any padding or margin. */
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: Ubuntu, sans-serif;
color: #373D42;
}
/* Wrapper for page content to push down footer */ /* Wrapper for page content to push down footer */
#wrap { #wrap {
min-height: 100%; min-height: 100%;
@ -57,11 +65,14 @@ body {
#search { #search {
color: #fff; color: #fff;
font-family: Ubuntu-Light; font-family: Ubuntu, sans-serif;
font-weight: 100;
} }
#search::-webkit-input-placeholder { #search::-webkit-input-placeholder {
font-family: Ubuntu-LightItalic; font-family: Ubuntu, sans-serif;
font-weight: 100;
font-style: italic;
font-size: 13px; font-size: 13px;
color: #BCDF7E; color: #BCDF7E;
line-height: 18px; line-height: 18px;
@ -69,7 +80,8 @@ body {
#search::-moz-placeholder { #search::-moz-placeholder {
font-family: Ubuntu-LightItalic; font-family: Ubuntu, sans-serif;
font-weight: 100;
font-size: 13px; font-size: 13px;
color: #BCDF7E; color: #BCDF7E;
line-height: 18px; line-height: 18px;
@ -116,7 +128,7 @@ body {
} }
.block-id h1 { .block-id h1 {
font-family: Ubuntu-Medium; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #FFFFFF; color: #FFFFFF;
line-height: 30px; line-height: 30px;
@ -146,7 +158,7 @@ body {
background: #fff; background: #fff;
border: 2px solid #ccc; border: 2px solid #ccc;
color: #373D42; color: #373D42;
font-weight: bold; font-weight: 500;
} }
/* Set the fixed height of the footer here */ /* Set the fixed height of the footer here */

View File

@ -1,27 +1,29 @@
<div data-ng-controller="HeaderController"> <div class="container">
<div class="navbar-header"> <div data-ng-controller="HeaderController">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <div class="navbar-header">
<span class="sr-only">Toggle navigation</span> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span> <span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> <span class="icon-bar"></span>
<a class="mystery navbar-brand" href="#!">Mystery</a> </button>
</div> <a class="insight navbar-brand" href="#!">Insight</a>
<div class="collapse navbar-collapse"> </div>
<ul class="nav navbar-nav"> <div class="collapse navbar-collapse">
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" ng-class="{active: $uiRoute}"> <ul class="nav navbar-nav">
<a href="#!/{{item.link}}">{{item.title}}</a> <li data-ng-repeat="item in menu" ui-route="/{{item.link}}" ng-class="{active: $uiRoute}">
</li> <a href="#!/{{item.link}}">{{item.title}}</a>
</ul> </li>
<div ng-controller="SearchController" class="pull-right"> </ul>
<form class="navbar-form navbar-left" role="search" ng-submit="search()"> <div ng-controller="SearchController" class="pull-right">
<div class="form-group" ng-class="{'has-error': badQuery}"> <form class="navbar-form navbar-left" role="search" ng-submit="search()">
<input id="search" type="text" class="form-control" ng-model="q" placeholder="Search for block, transaction or address"> <div class="form-group" ng-class="{'has-error': badQuery}">
</div> <input id="search" type="text" class="form-control" ng-model="q" placeholder="Search for block, transaction or address">
<span class="text-danger" ng-show="badQuery">No matching records found!</span> </div>
<span class="text-danger" ng-show="badQuery">No matching records found!</span>
</form> </form>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -49,6 +49,8 @@ hs.init({
}, function() { }, function() {
hs.import_history({ hs.import_history({
reverse: 1, reverse: 1,
}, function(){
console.log('historic_sync finished!');
}); });
}); });