diff --git a/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex index 2be4903e53..da55445f2c 100644 --- a/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex @@ -1,4 +1,4 @@ -
+

Transactions @@ -25,8 +25,8 @@

-
-
+
+
@@ -68,7 +68,7 @@ <%= if @last_seen_pending_inserted_at do %> <%= link( gettext("Next Page"), - class: "button button--secondary button--sm u-float-right", + class: "button button--secondary button--sm u-float-right mt-3", to: pending_transaction_path( @conn, :index, diff --git a/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex index f3fdf495d3..93ad02d1c6 100644 --- a/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex @@ -1,87 +1,87 @@ -
-

- Transactions -

-

- <%= gettext("Showing %{count} Validated Transactions", count: @transaction_count) %> -

-
- -
-
-
-
- +
+

+ Transactions +

+

+ <%= gettext("Showing %{count} Validated Transactions", count: @transaction_count) %> +

+
+ +
+
+
+
+ + + + + + + + + + + + + <%= for transaction <- @transactions do %> - - - - - - - + + + + + + + - - - <%= for transaction <- @transactions do %> - - - - - - - - - - <% end %> - -
<%= gettext "Status" %><%= gettext "Hash" %><%= gettext "Block" %><%= gettext "Age" %><%= gettext "From" %><%= gettext "To" %><%= gettext "Value" %> (<%= gettext "Ether" %>)
<%= gettext "Status" %><%= gettext "Hash" %><%= gettext "Block" %><%= gettext "Age" %><%= gettext "From" %><%= gettext "To" %><%= gettext "Value" %> (<%= gettext "Ether" %>) +
+
+ <%= render ExplorerWeb.TransactionView, "_link.html", conn: @conn, transaction: transaction %> + + <%= link( + transaction.block, + class: "transactions__link", + to: block_path(@conn, :show, @conn.assigns.locale, transaction.block) + ) %> + + <%= transaction.block.timestamp |> Timex.from_now %> + + <%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %> + + <%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.to_address %> + + <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> +
-
-
- <%= render ExplorerWeb.TransactionView, "_link.html", conn: @conn, transaction: transaction %> - - <%= link( - transaction.block, - class: "transactions__link", - to: block_path(@conn, :show, @conn.assigns.locale, transaction.block) - ) %> - - <%= transaction.block.timestamp |> Timex.from_now %> - - <%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %> - - <%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.to_address %> - - <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> -
-
+ <% end %> + +
- <%= if @last_seen_collated_hash do %> - <%= link( - gettext("Next Page"), - class: "button button--secondary button--sm u-float-right", - to: transaction_path( - @conn, - :index, - @conn.assigns.locale, - %{"last_seen_collated_hash" => to_string(@last_seen_collated_hash)} - ) - ) %> - <% end %> -
+ + <%= if @last_seen_collated_hash do %> + <%= link( + gettext("Next Page"), + class: "button button--secondary button--sm u-float-right mt-3", + to: transaction_path( + @conn, + :index, + @conn.assigns.locale, + %{"last_seen_collated_hash" => to_string(@last_seen_collated_hash)} + ) + ) %> + <% end %> +