|
|
@ -1,6 +1,17 @@ |
|
|
|
<section class="container"> |
|
|
|
<section class="container"> |
|
|
|
<div class="card"> |
|
|
|
<div class="card"> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="card-body"> |
|
|
|
|
|
|
|
<%= if @next_page_path do %> |
|
|
|
|
|
|
|
<a href="<%= "#{@next_page_path}" %>" class="button button-secondary button-small float-right ml-1"> |
|
|
|
|
|
|
|
<%= gettext("Next") %> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
<%= if @prev_page_path do %> |
|
|
|
|
|
|
|
<a href="<%= "#{@prev_page_path}" %>" class="button button-secondary button-small float-right"> |
|
|
|
|
|
|
|
<%= gettext("Back") %> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<h1 class="card-title margin-bottom-0"><%= gettext "Addresses" %></h1> |
|
|
|
<h1 class="card-title margin-bottom-0"><%= gettext "Addresses" %></h1> |
|
|
|
<p class="card-subtitle"> |
|
|
|
<p class="card-subtitle"> |
|
|
|
<%= gettext "Showing " %> |
|
|
|
<%= gettext "Showing " %> |
|
|
@ -10,26 +21,26 @@ |
|
|
|
<%= gettext "total addresses with a balance" %> |
|
|
|
<%= gettext "total addresses with a balance" %> |
|
|
|
<%= gettext " (page" %> |
|
|
|
<%= gettext " (page" %> |
|
|
|
<%= Cldr.Number.to_string!(@cur_page_number, format: "#,###)") %> |
|
|
|
<%= Cldr.Number.to_string!(@cur_page_number, format: "#,###)") %> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span data-selector="top-addresses-list"> |
|
|
|
|
|
|
|
<%= for {{address, tx_count}, index} <- Enum.with_index(@address_tx_count_pairs, 1) do %> |
|
|
|
|
|
|
|
<%= render "_tile.html", |
|
|
|
|
|
|
|
address: address, index: index, exchange_rate: @exchange_rate, |
|
|
|
|
|
|
|
total_supply: @total_supply, tx_count: tx_count, |
|
|
|
|
|
|
|
validation_count: validation_count(address) %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
<br> |
|
|
|
<%= if @next_page_path do %> |
|
|
|
<%= if @next_page_path do %> |
|
|
|
<a href="<%= "#{@next_page_path}" %>" class="button button-secondary button-small float-right mt-0 ml-1"> |
|
|
|
<a href="<%= "#{@next_page_path}" %>" class="button button-secondary button-small float-right mt-0 mb-0 ml-1"> |
|
|
|
<%= gettext("Next") %> |
|
|
|
<%= gettext("Next") %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= if @prev_page_path do %> |
|
|
|
<%= if @prev_page_path do %> |
|
|
|
<a href="<%= "#{@prev_page_path}" %>" class="button button-secondary button-small float-right mt-0"> |
|
|
|
<a href="<%= "#{@prev_page_path}" %>" class="button button-secondary button-small float-right mt-0 mb-0"> |
|
|
|
<%= gettext("Back") %> |
|
|
|
<%= gettext("Back") %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</p> |
|
|
|
|
|
|
|
<br> |
|
|
|
|
|
|
|
<span data-selector="top-addresses-list"> |
|
|
|
|
|
|
|
<%= for {{address, tx_count}, index} <- Enum.with_index(@address_tx_count_pairs, 1) do %> |
|
|
|
|
|
|
|
<%= render "_tile.html", |
|
|
|
|
|
|
|
address: address, index: index, exchange_rate: @exchange_rate, |
|
|
|
|
|
|
|
total_supply: @total_supply, tx_count: tx_count, |
|
|
|
|
|
|
|
validation_count: validation_count(address) %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|