Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/lib/explorer_web/templates/pending_transaction/index.html.eex

40 lines
3.0 KiB

<section class="container__section">
<div class="transactions__headline">
<h1 class="transactions__headline-title"><%= gettext("Showing %{count} Pending Transactions", count: @transactions.total_entries) %></h1>
<div class="transactions__pagination"><%= pagination_links @conn, @transactions, ["en"], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &pending_transaction_path/4 %></div>
</div>
<div class="transactions">
<div class="transactions__container">
<table class="transactions__table">
<thead class="transactions__header">
<tr>
<th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header"><%= gettext "Last Seen" %></th>
<th class="transactions__column-header"><%= gettext "Gas Price" %></th>
<th class="transactions__column-header"><%= gettext "Gas Limit" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "From" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "To" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "Value" %></th>
</tr>
</thead>
<tbody>
<%= for transaction <- @transactions do %>
<tr class="transactions__row">
<td class="transactions__column transactions__column--hash">
<div class="transactions__hash"><%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link") %></div>
</td>
<td class="transactions__column transactions__column--last-seen"><%= transaction.last_seen %></td>
<td class="transactions__column transactions__column--gas-price"><%= transaction.gas_price %></td>
<td class="transactions__column transactions__column--gas-limit"><%= transaction.gas |> Cldr.Number.to_string! %></td>
<td class="transactions__column transactions__column--optional transactions__column--from-address"><%= link(transaction.from_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address_hash), class: "transactions__link") %>
</td>
<td class="transactions__column transactions__column--optional transactions__column--to-address"><%= link(transaction.to_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address_hash), class: "transactions__link") %>
</td>
<td class="transactions__column transactions__column--optional transactions__column--value"><%= Decimal.div(Decimal.new(transaction.value), Decimal.new(1_000_000_000_000_000_000)) |> Decimal.to_string(:normal) %> <%= gettext "POA" %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
</section>