parent
60ceb4bb84
commit
ad333aac7f
@ -1,20 +1,21 @@ |
|||||||
<section class="container"> |
<section class="container"> |
||||||
<div class="card"> |
<div class="card"> |
||||||
<div class="card-body"> |
<div class="card-body" data-async-listing="<%= @current_path %>"> |
||||||
<h1 class="card-title"><%= gettext "Addresses" %></h1> |
<h1 class="card-title"><%= gettext "Addresses" %></h1> |
||||||
|
|
||||||
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", prev_page_path: @prev_page_path, next_page_path: @next_page_path, cur_page_number: @cur_page_number, show_pagination_limit: true %> |
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true %> |
||||||
|
|
||||||
<div data-selector="top-addresses-list"> |
<div data-selector="top-addresses-list"></div> |
||||||
<%= for {{address, tx_count}, index} <- Enum.with_index(@address_tx_count_pairs, 1) do %> |
|
||||||
<%= render "_tile.html", |
<div data-loading-message class="tile tile-muted text-center mt-3" style="display: none;"> |
||||||
address: address, index: index, exchange_rate: @exchange_rate, |
<span class="loading-spinner-small mr-2"> |
||||||
total_supply: @total_supply, tx_count: tx_count, |
<span class="loading-spinner-block-1"></span> |
||||||
validation_count: validation_count(address) %> |
<span class="loading-spinner-block-2"></span> |
||||||
<% end %> |
</span> |
||||||
|
<%= gettext("Loading") %>... |
||||||
</div> |
</div> |
||||||
|
|
||||||
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "bottom", prev_page_path: @prev_page_path, next_page_path: @next_page_path, cur_page_number: @cur_page_number, show_pagination_limit: true %> |
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "bottom", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true %> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</section> |
</section> |
||||||
|
Loading…
Reference in new issue