(update) tabs' styles

pull/1755/head
Gabriel Rodriguez Alsina 6 years ago
parent 0092c71061
commit 665d83eb97
  1. 185
      apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex
  2. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_coin_balance/index.html.eex
  3. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex
  4. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_decompiled_contract/index.html.eex
  5. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_internal_transaction/index.html.eex
  6. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_read_contract/index.html.eex
  7. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_token/index.html.eex
  8. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_token_transfer/index.html.eex
  9. 5
      apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex
  10. 34
      apps/block_scout_web/lib/block_scout_web/templates/block_transaction/index.html.eex
  11. 5
      apps/block_scout_web/lib/block_scout_web/templates/tokens/holder/index.html.eex
  12. 4
      apps/block_scout_web/lib/block_scout_web/templates/tokens/inventory/index.html.eex
  13. 103
      apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_tabs.html.eex
  14. 5
      apps/block_scout_web/lib/block_scout_web/templates/tokens/read_contract/index.html.eex
  15. 5
      apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/index.html.eex
  16. 74
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_tabs.html.eex
  17. 6
      apps/block_scout_web/lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex
  18. 4
      apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex
  19. 5
      apps/block_scout_web/lib/block_scout_web/templates/transaction_token_transfer/index.html.eex

@ -1,146 +1,57 @@
<!-- DESKTOP TAB NAV --> <div class="card-tabs">
<ul class="nav nav-tabs card-header-tabs d-none d-lg-inline-flex"> <%= link(
<li class="nav-item"> gettext("Transactions"),
<%= link( class: "card-tab #{tab_status("transactions", @conn.request_path)}",
gettext("Transactions"), to: address_transaction_path(@conn, :index, @address.hash)
class: "nav-link #{tab_status("transactions", @conn.request_path)}",
to: address_transaction_path(@conn, :index, @address.hash)
) %>
</li>
<li class="nav-item">
<%= link(
gettext("Tokens"),
class: "nav-link #{tab_status("tokens", @conn.request_path)}",
to: address_token_path(@conn, :index, @address.hash),
"data-test": "tokens_tab_link"
) %>
</li>
<li class="nav-item"> <%= link(
gettext("Internal Transactions"),
class: "nav-link #{tab_status("internal_transactions", @conn.request_path)}",
"data-test": "internal_transactions_tab_link",
to: address_internal_transaction_path(@conn, :index, @address.hash)
) %>
</li>
<li class="nav-item">
<%= link(
gettext("Coin Balance History"),
class: "nav-link #{tab_status("coin_balances", @conn.request_path)}",
"data-test": "coin_balance_tab_link",
to: address_coin_balance_path(@conn, :index, @address.hash)
) %>
</li>
<%= if BlockScoutWeb.AddressView.validator?(@validation_count) do %>
<li class="nav-item">
<%= link(
gettext("Blocks Validated"),
class: "nav-link #{tab_status("validations", @conn.request_path)}",
"data-test": "validations_tab_link",
to: address_validation_path(@conn, :index, @address.hash)
) %> ) %>
</li> <%= link(
gettext("Tokens"),
class: "card-tab #{tab_status("tokens", @conn.request_path)}",
to: address_token_path(@conn, :index, @address.hash),
"data-test": "tokens_tab_link"
) %>
<%= link(
gettext("Internal Transactions"),
class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}",
"data-test": "internal_transactions_tab_link",
to: address_internal_transaction_path(@conn, :index, @address.hash)
) %>
<%= link(
gettext("Coin Balance History"),
class: "card-tab #{tab_status("coin_balances", @conn.request_path)}",
"data-test": "coin_balance_tab_link",
to: address_coin_balance_path(@conn, :index, @address.hash)
) %>
<%= if BlockScoutWeb.AddressView.validator?(@validation_count) do %>
<%= link(
gettext("Blocks Validated"),
class: "card-tab #{tab_status("validations", @conn.request_path)}",
"data-test": "validations_tab_link",
to: address_validation_path(@conn, :index, @address.hash)
) %>
<% end %> <% end %>
<%= if contract?(@address) do %> <%= if contract?(@address) do %>
<li class="nav-item"> <%= link(
<%= link( to: address_contract_path(@conn, :index, @address.hash),
to: address_contract_path(@conn, :index, @address.hash), class: "card-tab #{tab_status("contracts", @conn.request_path)}") do %>
class: "nav-link #{tab_status("contracts", @conn.request_path)}") do %> <%= gettext("Code") %>
<%= gettext("Code") %> <%= if smart_contract_verified?(@address) do %>
<i class="far fa-check-circle text-success"></i>
<%= if smart_contract_verified?(@address) do %>
<i class="far fa-check-circle text-success"></i>
<% end %>
<% end %> <% end %>
</li> <% end %>
<% end %> <% end %>
<%= if has_decompiled_code?(@address) do %> <%= if has_decompiled_code?(@address) do %>
<li class="nav-item"> <%= link(
<%= link( to: address_decompiled_contract_path(@conn, :index, @address.hash),
to: address_decompiled_contract_path(@conn, :index, @address.hash), class: "card-tab #{tab_status("decompiled_contracts", @conn.request_path)}") do %>
class: "nav-link #{tab_status("decompiled_contracts", @conn.request_path)}") do %> <%= gettext("Decompiled code") %>
<%= gettext("Decompiled code") %> <% end %>
<% end %>
</li>
<% end %> <% end %>
<%= if smart_contract_with_read_only_functions?(@address) do %> <%= if smart_contract_with_read_only_functions?(@address) do %>
<li class="nav-item"> <%= link(
<%= link( gettext("Read Contract"),
gettext("Read Contract"), to: address_read_contract_path(@conn, :index, @address.hash),
to: address_read_contract_path(@conn, :index, @address.hash), class: "card-tab #{tab_status("read_contract", @conn.request_path)}")
class: "nav-link #{tab_status("read_contract", @conn.request_path)}")%> %>
</li>
<% end %> <% end %>
</ul> </div>
<!-- MOBILE DROPDOWN NAV -->
<ul class="nav nav-tabs card-header-tabs d-lg-none">
<li class="nav-item dropdown flex-fill text-center">
<a class="nav-link active dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
<%= current_tab_name(@conn.request_path) %>
</a>
<div class="dropdown-menu">
<%= link(
gettext("Transactions"),
class: "dropdown-item #{tab_status("transactions", @conn.request_path)}",
to: address_transaction_path(@conn, :index, @address.hash)
) %>
<%= link(
gettext("Tokens"),
class: "dropdown-item #{tab_status("tokens", @conn.request_path)}",
to: address_token_path(@conn, :index, @address.hash)
) %>
<%= link(
gettext("Internal Transactions"),
class: "dropdown-item #{tab_status("internal_transactions", @conn.request_path)}",
"data-test": "internal_transactions_tab_link",
to: address_internal_transaction_path(@conn, :index, @address.hash)
) %>
<%= link(
gettext("Coin Balance History"),
class: "dropdown-item #{tab_status("coin_balances", @conn.request_path)}",
"data-test": "coin_balance_tab_link",
to: address_coin_balance_path(@conn, :index, @address.hash)
) %>
<%= if validator?(@validation_count) do %>
<%= link(
gettext("Blocks Validated"),
class: "dropdown-item",
"data-test": "validations_tab_link",
to: address_validation_path(@conn, :index, @address.hash)
) %>
<% end %>
<%= if contract?(@address) do %>
<%= link(
to: address_contract_path(@conn, :index, @address.hash),
class: "dropdown-item #{tab_status("contracts", @conn.request_path)}") do %>
<%= gettext("Code") %>
<%= if smart_contract_verified?(@address) do %>
<i class="far fa-check-circle"></i>
<% end %>
<%= if has_decompiled_code?(@address) do %>
<%= link(
to: address_decompiled_contract_path(@conn, :index, @address.hash),
class: "dropdown-item #{tab_status("contracts", @conn.request_path)}") do %>
<%= gettext("Decompiled code") %>
<% end %>
<% end %>
<% end %>
<% end %>
<%= if smart_contract_with_read_only_functions?(@address) do %>
<%= link(
gettext("Read Contract"),
to: address_read_contract_path(@conn, :index, @address.hash),
class: "dropdown-item #{tab_status("read_contract", @conn.request_path)}")%>
<% end %>
</div>
</li>
</ul>

@ -3,10 +3,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div class="card-body" data-async-listing="<%= @current_path %>"> <div class="card-body" data-async-listing="<%= @current_path %>">
<div data-selector="channel-disconnected-message" style="display:none;"> <div data-selector="channel-disconnected-message" style="display:none;">
<div data-selector="reload-button" class="alert alert-danger"> <div data-selector="reload-button" class="alert alert-danger">

@ -2,10 +2,7 @@
<%= render BlockScoutWeb.AddressView, "overview.html", assigns %> <%= render BlockScoutWeb.AddressView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<%= if !BlockScoutWeb.AddressView.smart_contract_verified?(@address) do %> <%= if !BlockScoutWeb.AddressView.smart_contract_verified?(@address) do %>
<%= link( <%= link(

@ -2,10 +2,7 @@
<%= render BlockScoutWeb.AddressView, "overview.html", assigns %> <%= render BlockScoutWeb.AddressView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<%= for {contract, _i} <- Enum.with_index(@address.decompiled_smart_contracts) do %> <%= for {contract, _i} <- Enum.with_index(@address.decompiled_smart_contracts) do %>
<div class="card-body"> <div class="card-body">
<h3><%= gettext "Decompiler version" %></h3> <h3><%= gettext "Decompiler version" %></h3>

@ -3,10 +3,7 @@
<section data-page="address-internal-transactions"> <section data-page="address-internal-transactions">
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div class="card-body" data-async-load data-async-listing="<%= @current_path %>"> <div class="card-body" data-async-load data-async-listing="<%= @current_path %>">
<div data-selector="channel-batching-message" style="display: none;"> <div data-selector="channel-batching-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-info"> <div data-selector="reload-button" class="alert alert-info">

@ -3,10 +3,7 @@
<%= render BlockScoutWeb.AddressView, "overview.html", assigns %> <%= render BlockScoutWeb.AddressView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<!-- loaded via AJAX --> <!-- loaded via AJAX -->
<div class="card-body" data-smart-contract-functions data-hash="<%= to_string(@address.hash) %>" data-url="<%= smart_contract_path(@conn, :index) %>"> <div class="card-body" data-smart-contract-functions data-hash="<%= to_string(@address.hash) %>" data-url="<%= smart_contract_path(@conn, :index) %>">
<div> <div>

@ -3,10 +3,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Tokens" %></h2> <h2 class="card-title"><%= gettext "Tokens" %></h2>
<%= if Enum.any?(@tokens) do %> <%= if Enum.any?(@tokens) do %>

@ -3,10 +3,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div data-async-load data-async-listing="<%= @current_path %>" class="card-body"> <div data-async-load data-async-listing="<%= @current_path %>" class="card-body">
<h2 class="card-title"> <h2 class="card-title">
<span class="text-muted"><%= gettext "Tokens" %></span> / <%= token_name(@token) %> <span class="text-muted"><%= gettext "Tokens" %></span> / <%= token_name(@token) %>

@ -4,10 +4,7 @@
<section data-page="address-transactions"> <section data-page="address-transactions">
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
</div>
<div class="card-body" data-async-listing="<%= @current_path %>"> <div class="card-body" data-async-listing="<%= @current_path %>">
<div data-selector="channel-disconnected-message" style="display: none;"> <div data-selector="channel-disconnected-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-danger"> <div data-selector="reload-button" class="alert alert-danger">

@ -4,32 +4,14 @@
<section> <section>
<div class="card mb-3"> <div class="card mb-3">
<div class="card-header"> <div class="card-tabs">
<%=
<!-- DESKTOP TAB NAV --> link(
<ul class="nav nav-tabs card-header-tabs d-none d-lg-inline-flex"> gettext("Transactions"),
<li class="nav-item"> class: "card-tab #{tab_status("transactions", @conn.request_path)}",
<%= link( to: block_transaction_path(@conn, :index, @conn.params["block_hash_or_number"])
gettext("Transactions"), )
class: "nav-link active", %>
to: block_transaction_path(@conn, :index, @conn.params["block_hash_or_number"])
) %>
</li>
</ul>
<!-- MOBILE DROPDOWN NAV -->
<ul class="nav nav-tabs card-header-tabs d-lg-none">
<li class="nav-item dropdown flex-fill text-center">
<a class="nav-link active dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><%= gettext "Transactions" %></a>
<div class="dropdown-menu">
<%= link(
gettext("Transactions"),
class: "dropdown-item active",
to: block_transaction_path(@conn, :index, @conn.params["block_hash_or_number"])
) %>
</div>
</li>
</ul>
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Transactions" %></h2> <h2 class="card-title"><%= gettext "Transactions" %></h2>

@ -10,10 +10,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render OverviewView, "_tabs.html", assigns %>
<%= render OverviewView, "_tabs.html", assigns %>
</div>
<!-- Token Holders --> <!-- Token Holders -->
<div class="card-body" data-async-load data-async-listing="<%= @current_path %>"> <div class="card-body" data-async-load data-async-listing="<%= @current_path %>">
<h2 class="card-title"><%= gettext "Token Holders" %></h2> <h2 class="card-title"><%= gettext "Token Holders" %></h2>

@ -10,9 +10,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render OverviewView, "_tabs.html", assigns %>
<%= render OverviewView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Inventory" %></h2> <h2 class="card-title"><%= gettext "Inventory" %></h2>

@ -1,81 +1,30 @@
<!-- DESKTOP TAB NAV --> <div class="card-tabs">
<ul class="nav nav-tabs card-header-tabs d-none d-lg-inline-flex"> <%= link(
<li class="nav-item"> gettext("Token Transfers"),
<%= link( class: "card-tab #{tab_status("token_transfers", @conn.request_path)}",
gettext("Token Transfers"), to: token_path(@conn, :show, @token.contract_address_hash)
class: "nav-link #{tab_status("token_transfers", @conn.request_path)}", )
to: token_path(@conn, :show, @token.contract_address_hash) %>
) %> <%= link(
</li> gettext("Token Holders"),
class: "card-tab #{tab_status("token_holders", @conn.request_path)}",
<li class="nav-item"> "data-test": "token_holders_tab",
<%= link( to: token_holder_path(@conn, :index, @token.contract_address_hash)
gettext("Token Holders"), )
class: "nav-link #{tab_status("token_holders", @conn.request_path)}", %>
"data-test": "token_holders_tab",
to: token_holder_path(@conn, :index, @token.contract_address_hash)
) %>
</li>
<%= if display_inventory?(@token) do %> <%= if display_inventory?(@token) do %>
<li class="nav-item"> <%= link(
<%= link( gettext("Inventory"),
gettext("Inventory"), class: "card-tab #{tab_status("inventory", @conn.request_path)}",
class: "nav-link #{tab_status("inventory", @conn.request_path)}", to: token_inventory_path(@conn, :index, @token.contract_address_hash)
to: token_inventory_path(@conn, :index, @token.contract_address_hash) )
) %> %>
</li>
<% end %> <% end %>
<%= if smart_contract_with_read_only_functions?(@token) do %> <%= if smart_contract_with_read_only_functions?(@token) do %>
<li class="nav-item"> <%= link(
<%= link( gettext("Read Contract"),
gettext("Read Contract"), to: token_read_contract_path(@conn, :index, @token.contract_address_hash),
to: token_read_contract_path(@conn, :index, @token.contract_address_hash), class: "card-tab #{tab_status("read_contract", @conn.request_path)}")
class: "nav-link #{tab_status("read_contract", @conn.request_path)}")%> %>
</li>
<% end %> <% end %>
</ul> </div>
<!-- MOBILE DROPDOWN NAV -->
<ul class="nav nav-tabs card-header-tabs d-lg-none">
<li class="nav-item dropdown flex-fill text-center">
<a class="nav-link active dropdown-toggle"
data-toggle="dropdown"
href="#"
role="button"
aria-haspopup="true"
aria-expanded="false"
>
<%= current_tab_name(@conn.request_path) %>
</a>
<div class="dropdown-menu">
<%= link(
gettext("Token Transfers"),
class: "dropdown-item #{tab_status("token_transfers", @conn.request_path)}",
to: token_path(@conn, :show, @token.contract_address_hash)
) %>
<%= link(
gettext("Token Holders"),
class: "dropdown-item #{tab_status("token_holders", @conn.request_path)}",
to: token_holder_path(@conn, :index, @token.contract_address_hash)
) %>
<%= if display_inventory?(@token) do %>
<%= link(
gettext("Inventory"),
class: "dropdown-item #{tab_status("inventory", @conn.request_path)}",
to: token_inventory_path(@conn, :index, @token.contract_address_hash)
) %>
<% end %>
<%= if smart_contract_with_read_only_functions?(@token) do %>
<%= link(
gettext("Read Contract"),
to: "#",
class: "dropdown-item #{tab_status("read_contract", @conn.request_path)}")%>
<% end %>
</div>
</li>
</ul>

@ -10,10 +10,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render OverviewView, "_tabs.html", assigns %>
<%= render OverviewView, "_tabs.html", assigns %>
</div>
<!-- loaded via AJAX --> <!-- loaded via AJAX -->
<div class="card-body" data-smart-contract-functions data-hash="<%= to_string(@token.contract_address.hash) %>" data-url="<%= smart_contract_path(@conn, :index) %>"> <div class="card-body" data-smart-contract-functions data-hash="<%= to_string(@token.contract_address.hash) %>" data-url="<%= smart_contract_path(@conn, :index) %>">
<div class="tile tile-muted text-center"> <div class="tile tile-muted text-center">

@ -10,10 +10,7 @@
<section> <section>
<div class="card"> <div class="card">
<div class="card-header"> <%= render OverviewView, "_tabs.html", assigns %>
<%= render OverviewView, "_tabs.html", assigns %>
</div>
<div class="card-body" data-async-load data-async-listing="<%= @current_path %>"> <div class="card-body" data-async-load data-async-listing="<%= @current_path %>">
<h2 class="card-title"><%= gettext "Token Transfers" %></h2> <h2 class="card-title"><%= gettext "Token Transfers" %></h2>
<button data-error-message class="alert alert-danger col-12 text-left" style="display: none;"> <button data-error-message class="alert alert-danger col-12 text-left" style="display: none;">

@ -1,55 +1,23 @@
<!-- DESKTOP TAB NAV --> <div class="card-tabs">
<ul class="nav nav-tabs card-header-tabs d-none d-lg-inline-flex">
<%= if @show_token_transfers do %> <%= if @show_token_transfers do %>
<li class="nav-item">
<%= link(
gettext("Token Transfers"),
class: "nav-link #{tab_status("token_transfers", @conn.request_path)}",
to: transaction_token_transfer_path(@conn, :index, @transaction)
) %>
</li>
<% end %>
<li class="nav-item">
<%= link(
gettext("Internal Transactions"),
class: "nav-link #{tab_status("internal_transactions", @conn.request_path)}",
to: transaction_internal_transaction_path(@conn, :index, @transaction)
) %>
</li>
<li class="nav-item">
<%= link( <%= link(
gettext("Logs"), gettext("Token Transfers"),
class: "nav-link #{tab_status("logs", @conn.request_path)}", class: "card-tab #{tab_status("token_transfers", @conn.request_path)}",
to: transaction_log_path(@conn, :index, @transaction), to: transaction_token_transfer_path(@conn, :index, @transaction)
"data-test": "transaction_logs_link" )
) %> %>
</li> <% end %>
</ul> <%= link(
gettext("Internal Transactions"),
<!-- MOBILE DROPDOWN NAV --> class: "card-tab #{tab_status("internal_transactions", @conn.request_path)}",
<ul class="nav nav-tabs card-header-tabs d-lg-none"> to: transaction_internal_transaction_path(@conn, :index, @transaction)
<li class="nav-item dropdown flex-fill text-center"> )
<a class="nav-link active dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><%= current_tab_name(@conn.request_path) %></a> %>
<div class="dropdown-menu"> <%= link(
<%= if @show_token_transfers do %> gettext("Logs"),
<%= link( class: "card-tab #{tab_status("logs", @conn.request_path)}",
gettext("Token Transfers"), to: transaction_log_path(@conn, :index, @transaction),
class: "dropdown-item #{tab_status("token_transfers", @conn.request_path)}", "data-test": "transaction_logs_link"
to: transaction_token_transfer_path(@conn, :index, @transaction), )
"data-test": "transaction_token_transfer_link" %>
) %> </div>
<% end %>
<%= link(
gettext("Internal Transactions"),
class: "dropdown-item #{tab_status("internal_transactions", @conn.request_path)}",
to: transaction_internal_transaction_path(@conn, :index, @transaction)
) %>
<%= link(
gettext("Logs"),
class: "dropdown-item #{tab_status("logs", @conn.request_path)}",
to: transaction_log_path(@conn, :index, @transaction),
"data-test": "transaction_logs_link"
) %>
</div>
</li>
</ul>

@ -1,11 +1,7 @@
<section class="container"> <section class="container">
<%= render BlockScoutWeb.TransactionView, "overview.html", assigns %> <%= render BlockScoutWeb.TransactionView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Internal Transactions" %></h2> <h2 class="card-title"><%= gettext "Internal Transactions" %></h2>
<%= if Enum.count(@internal_transactions) > 0 do %> <%= if Enum.count(@internal_transactions) > 0 do %>

@ -2,9 +2,7 @@
<%= render BlockScoutWeb.TransactionView, "overview.html", assigns %> <%= render BlockScoutWeb.TransactionView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Logs" %></h2> <h2 class="card-title"><%= gettext "Logs" %></h2>

@ -2,10 +2,7 @@
<%= render BlockScoutWeb.TransactionView, "overview.html", assigns %> <%= render BlockScoutWeb.TransactionView, "overview.html", assigns %>
<div class="card"> <div class="card">
<div class="card-header"> <%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
<%= render BlockScoutWeb.TransactionView, "_tabs.html", assigns %>
</div>
<div class="card-body"> <div class="card-body">
<h2 class="card-title"><%= gettext "Token Transfers" %></h2> <h2 class="card-title"><%= gettext "Token Transfers" %></h2>
<%= if Enum.any?(@token_transfers) do %> <%= if Enum.any?(@token_transfers) do %>

Loading…
Cancel
Save