Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/listing UI revamp #368

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,63 @@
<%= render BlockScoutWeb.TransactionView, "overview.html", assigns %>
<div class="card">
<%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
<div class="card-body" data-async-load data-async-listing="<%= @current_path %>">
<div class="card-body txn-list-container" data-async-load data-async-listing="<%= @current_path %>">
<h1 class="card-title list-title-description"><%= gettext "Internal Transactions" %></h1>

<div class="list-top-pagination-container-wrapper">
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true, data_prev_page_button: true %>
</div>

<button data-error-message class="alert alert-danger col-12 text-left" style="display: none;">


<div class="table-tile-header txn-list-table-head-container">
<span style="width: 2%;">
&nbsp;
</span>
<span style="width: 10%;">
<%= gettext "Txn Hash" %>
</span>
<span style="width: 10%;">
<%= gettext "Txn Type" %>
</span>
<span style="width: 9%;">
<%= gettext "Method" %>
</span>
<span style="width: 8%;">
<%= gettext "Block" %>
</span>
<span style="width: 10%;">
<%= gettext "Age" %>
</span>
<span style="width: 14%;">
<%= gettext "From" %>
</span>
<span style="width: 3%;">
&nbsp;
</span>
<span style="width: 14%;">
<%= gettext "To" %>
</span>
<span style="width: 10%;">
<%= gettext "Value" %>
</span>
<span style="width: 10%;">
<%= gettext "Txn Fee" %>
</span>
</div>

<button data-error-message class="alert alert-danger col-12 text-left" style="display: none;">
<span href="#" class="alert-link"><%= gettext("Something went wrong, click to reload.") %></span>
</button>


<div data-empty-response-message style="display: none;">
<div class="tile tile-muted text-center" data-selector="empty-logs-list">
<%= gettext "There are no internal transactions for this transaction." %>
</div>
</div>

<div data-items>
<div data-items class="table-list-page">
<%= render BlockScoutWeb.CommonComponentsView, "_tile-loader.html" %>
</div>

Expand Down