Apply Bootstrap cards to the Block Details page

pull/208/head
Ryan Arthur 7 years ago
parent e8657dfdea
commit 9345b8b8a0
  1. 26
      apps/explorer_web/lib/explorer_web/templates/block_transaction/index.html.eex

@ -1,10 +1,11 @@
<section class="container__section"> <section class="container-fluid">
<div> <section>
<h1><%= gettext("Block Details") %></h1> <h1><%= gettext("Block Details") %></h1>
<h2 data-test="block_detail_number"><%= @block.number %></h2> <p data-test="block_detail_number"><%= @block.number %></p>
</div>
<div class="panels container__subsection"> <div class="card mb-3">
<div class="panels__container row"> <div class="card-body">
<div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
<table class="table table-font table-responsive-sm table-horizontal"> <table class="table table-font table-responsive-sm table-horizontal">
<tbody> <tbody>
@ -111,7 +112,10 @@
</div> </div>
</div> </div>
</div> </div>
<div> </div>
</section>
<section>
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="nav-item"> <li class="nav-item">
<%= link( <%= link(
@ -121,9 +125,9 @@
) %> ) %>
</li> </li>
</ul> </ul>
</div>
<div class="panels container__subsection"> <div class="card mb-3">
<div class="panels__container"> <div class="card-body">
<table class="table table-responsive-sm table-font"> <table class="table table-responsive-sm table-font">
<thead> <thead>
<tr> <tr>
@ -173,6 +177,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="blocks__pagination"> <div class="blocks__pagination">
<%= pagination_links( <%= pagination_links(
@conn, @conn,
@ -186,3 +191,4 @@
view_style: :bulma view_style: :bulma
) %></div> ) %></div>
</section> </section>
</section>

Loading…
Cancel
Save