Merge pull request #2291 from maxgrapps/master
Dashboard fix for md resolution, transactions load fix, block info row fix, address page issues, check mark issuepull/2302/head
commit
31d8560737
@ -1,51 +1,39 @@ |
|||||||
<div class="tile"> |
<tr> |
||||||
<div class="row"> |
<td class="stakes-td"> |
||||||
<!-- rank --> |
|
||||||
<div class="col-2 col-md-1 d-flex justify-content-center align-items-center"> |
|
||||||
<!-- incremented number by order in the list --> |
<!-- incremented number by order in the list --> |
||||||
<span> |
<span class="color-lighten"> |
||||||
<%= @index %> |
<%= @index %> |
||||||
</span> |
</span> |
||||||
</div> |
</td> |
||||||
|
<td class="stakes-td"> |
||||||
<div class="col-10 col-md-11"> |
<%= @address |> BlockScoutWeb.AddressView.address_partial_selector(nil, nil) |> BlockScoutWeb.RenderHelpers.render_partial() %> |
||||||
<div class="row"> |
</td> |
||||||
<div class="col-md-6 d-flex flex-column"> |
<td class="stakes-td"> |
||||||
<%= @address |> BlockScoutWeb.AddressView.address_partial_selector(nil, nil) |> BlockScoutWeb.RenderHelpers.render_partial() %> |
<span data-test="address_balance"><%= balance(@address) %></span> |
||||||
<!-- number of txns for this address --> |
<!-- USD value of the balance --> |
||||||
<span class="mr-4"> |
<span |
||||||
<span data-test="transaction_count"> |
data-wei-value="<%= if @address.fetched_coin_balance, do: @address.fetched_coin_balance.value %>" |
||||||
<%= @tx_count %> |
<% if !empty_exchange_rate?(@exchange_rate) do %> |
||||||
</span> <%= gettext "Transactions sent" %> |
data-usd-exchange-rate="<%= @exchange_rate.usd_value %>"> |
||||||
<% if validator?(@address) do %> |
<% end %> |
||||||
<span data-test="validation_count"> |
</span> |
||||||
<%= @validation_count %> |
</td> |
||||||
</span> <%= gettext "Validations" %> |
<td class="stakes-td color-lighten"> |
||||||
<% end %> |
<!-- percentage of coins from total supply --> |
||||||
</span> |
<%= if @total_supply do %> |
||||||
</div> |
(<%= balance_percentage(@address, @total_supply) %>) |
||||||
|
<% end %> |
||||||
<!-- balance and percentage --> |
</td> |
||||||
<div class="col-md-6 d-flex flex-column text-md-right mt-3 mt-md-0"> |
<td class="stakes-td"> |
||||||
<!-- address coin balance --> |
<span class="mr-4"> |
||||||
<span class="tile-title" data-test="address_balance"><%= balance(@address) %></span> |
<span data-test="transaction_count"> |
||||||
<div class="d-flex flex-column flex-md-row justify-content-md-end"> |
<%= @tx_count %> |
||||||
<!-- USD value of the balance --> |
</span> <%= gettext "Transactions sent" %> |
||||||
<span |
<% if validator?(@address) do %> |
||||||
data-wei-value="<%= if @address.fetched_coin_balance, do: @address.fetched_coin_balance.value %>" |
<span data-test="validation_count"> |
||||||
<% if !empty_exchange_rate?(@exchange_rate) do %> |
<%= @validation_count %> |
||||||
data-usd-exchange-rate="<%= @exchange_rate.usd_value %>"> |
</span> <%= gettext "Validations" %> |
||||||
<% end %> |
<% end %> |
||||||
</span> |
</span> |
||||||
<!-- percentage of coins from total supply --> |
</td> |
||||||
<span class="ml-0 ml-md-2"> |
</tr> |
||||||
<%= if @total_supply do %> |
|
||||||
(<%= balance_percentage(@address, @total_supply) %>) |
|
||||||
<% end %> |
|
||||||
</span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
Loading…
Reference in new issue