Improve templates

pull/3663/head
Victor Baranov 4 years ago
parent 7e7c8d5db8
commit 0d03df9ae8
  1. 1
      apps/block_scout_web/lib/block_scout_web/templates/bridged_tokens/_tile.html.eex
  2. 50
      apps/block_scout_web/lib/block_scout_web/templates/common_components/_table-loader.html.eex

@ -58,6 +58,7 @@
<span class="mr-4">
<span data-test="transaction_count">
<%= @token.holder_count %>
</span>
</span>
</td>
</tr>

@ -8,10 +8,12 @@
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if assigns[:total_supply] do %>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<% end %>
<% end %>
<td class="stakes-td">
<span class="table-content-loader"></span>
@ -27,10 +29,12 @@
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if assigns[:total_supply] do %>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<% end %>
<% end %>
<td class="stakes-td">
<span class="table-content-loader"></span>
@ -46,10 +50,12 @@
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if assigns[:total_supply] do %>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<% end %>
<% end %>
<td class="stakes-td">
<span class="table-content-loader"></span>
@ -65,10 +71,12 @@
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if assigns[:total_supply] do %>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<% end %>
<% end %>
<td class="stakes-td">
<span class="table-content-loader"></span>
@ -84,10 +92,12 @@
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<%= if assigns[:total_supply] do %>
<%= if balance_percentage_enabled?(@total_supply) do %>
<td class="stakes-td">
<span class="table-content-loader"></span>
</td>
<% end %>
<% end %>
<td class="stakes-td">
<span class="table-content-loader"></span>

Loading…
Cancel
Save