Skip to content
Permalink
Browse files

Some view fixes

  • Loading branch information
waterelder committed Feb 7, 2020
1 parent 0b690e0 commit de3dd10ce54d6d6b17c5f8a13b1f4e81ac765b16
Showing with 39 additions and 11 deletions.
  1. +16 −0 static/css/main.css
  2. +15 −5 static/templates/base.html
  3. +8 −6 static/templates/index.html
@@ -35,6 +35,22 @@ h3 {
padding-bottom: 1px;
}

.message {
padding: 15px;
font-size: 16px;
border-radius: 5px;
margin-bottom: 20px;
line-height: 22px;
text-align: center;
padding-left: 5px;
padding-right: 5px;
}

.message.announcment {
color: #7190EB;
background: rgba(66, 139, 202, 0.1);
}

.navbar-form .form-control {
background-color: gray;
color: #fff;
@@ -73,14 +73,24 @@
<a class="nav-link" href="https://github.com/trezor/blockbook" target="_blank" rel="noopener noreferrer">Powered by BlockBook</a>
</li>
</ul>
<span class="d-none ml-md-auto d-md-flex navbar-form navbar-nav">
<a href="/sendtx" class="nav-link">Send Transaction</a>
</span>

<ul class="d-none ml-md-auto d-md-flex navbar-nav">
<li class="nav-item">
<a href="/sendtx" class="nav-link">Send Transaction</a>
</li>
</ul>
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
<li class="nav-item active">
<li class="nav-item">
<a class="nav-link" rel="noopener noreferrer" href="https://github.com/guardaco/blockbook">Github</a>
</li>
</ul>
</ul>
{{- if eq .CoinLabel "Bitcoin Cash SV" -}}
<ul class="ml-md-auto d-md-flex navbar-nav flex-row">
<li class="nav-item">
<span class="nav-link">Donate: 14CcTei9dQKAjgbBbBci3a5yJBPy8y6NWq</span>
</li>
</ul>
{{- end -}}
</nav>
</div>
</footer>
@@ -1,4 +1,12 @@
{{define "specific"}}{{$cs := .CoinShortcut}}{{$bb := .Info.Blockbook}}{{$be := .Info.Backend}}
{{- if eq $bb.Coin "Bcash" -}}
<div class="row">
<div class="message announcment col-12">
<span>We’ve changed technology platform of Bitcoin SV explorer to increase uptime and stability. Explorer API is now available in both versions. However we encourage our API users to migrate to a new protocol as Insight version can be deprecated in future.</span>
</div>
</div>

{{- end -}}
<h1>Application status</h1>
{{- if $bb.InitialSync -}}
<h3 class="bg-danger text-white" style="padding: 20px;">Application is now in initial synchronization and does not provide any data.</h3>
@@ -100,12 +108,6 @@ <h3>Backend</h3>
<td class="data">{{$be.SizeOnDisk}}</td>
</tr>
{{- end -}}
{{- if $be.Warnings -}}
<tr>
<td>Warnings</td>
<td class="data text-warning">{{$be.Warnings}}</td>
</tr>
{{- end -}}
</tbody>
</table>
</div>

1 comment on commit de3dd10

@hassanneghabi

This comment has been minimized.

Copy link

hassanneghabi commented on de3dd10 Feb 14, 2020

                Thank you for answering my concern; I use BCH Address infinito wallet for BCHsv and send 2.45 BSv at binance account to address BcH infinito wallet;                                                 Please helps :copy thxid: 1917cacaaa89d2d1398798fd04b3e921ca845e193827f7b01c3a2dbe54d1f723      
Please sign in to comment.
You can’t perform that action at this time.