|
|
|
@ -10,13 +10,21 @@ |
|
|
|
|
<ul class="navbar-nav mr-auto"> |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<%= link to: block_path(@conn, :index), class: "nav-link topnav-nav-link" do %> |
|
|
|
|
<i class="fas fa-cube mr-1"></i> |
|
|
|
|
<!-- <i class="fas fa-cube mr-1 text-secondary"></i> --> |
|
|
|
|
<!-- <img src="<%= static_path(@conn, "/images/icons/blocks.svg") %>" class="nav-link-icon"> --> |
|
|
|
|
<span class="nav-link-icon"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_block_icon.html" %> |
|
|
|
|
</span> |
|
|
|
|
<%= gettext("Blocks") %> |
|
|
|
|
<% end %> |
|
|
|
|
</li> |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<%= link to: transaction_path(@conn, :index), class: "nav-link topnav-nav-link" do %> |
|
|
|
|
<i class="fas fa-th-list mr-1"></i> |
|
|
|
|
<!-- <i class="fas fa-th-list mr-1 text-secondary"></i> --> |
|
|
|
|
<!-- <img src="<%= static_path(@conn, "/images/icons/transactions.svg") %>" class="nav-link-icon"> --> |
|
|
|
|
<span class="nav-link-icon"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_transaction_icon.html" %> |
|
|
|
|
</span> |
|
|
|
|
<%= gettext("Transactions") %> |
|
|
|
|
<% end %> |
|
|
|
|
</li> |
|
|
|
@ -27,7 +35,11 @@ |
|
|
|
|
</li> |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<%= link to: api_docs_path(@conn, :index), class: "nav-link topnav-nav-link" do %> |
|
|
|
|
<i class="fas fa-sliders-h mr-1"></i> |
|
|
|
|
<!-- <i class="fas fa-sliders-h mr-1 text-secondary"></i> --> |
|
|
|
|
<!-- <img src="<%= static_path(@conn, "/images/icons/api.svg") %>" class="nav-link-icon"> --> |
|
|
|
|
<span class="nav-link-icon"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_api_icon.html" %> |
|
|
|
|
</span> |
|
|
|
|
<%= gettext("API") %> |
|
|
|
|
<% end %> |
|
|
|
|
</li> |
|
|
|
@ -36,7 +48,10 @@ |
|
|
|
|
<div class="input-group"> |
|
|
|
|
<%= search_input f, :q, class: 'form-control mr-auto', placeholder: gettext("Search by address, transaction hash, or block number"), "aria-describedby": "search-icon", "aria-label": gettext("Search"), "data-test": "search_input" %> |
|
|
|
|
<div class="input-group-append"> |
|
|
|
|
<button class="input-group-text" id="search-icon"><i class="fas fa-search"></i></button> |
|
|
|
|
<button class="input-group-text" id="search-icon"> |
|
|
|
|
<!-- <i class="fas fa-search text-secondary"></i> --> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_search_icon.html" %> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<button class="btn btn-outline-success my-2 my-sm-0 sr-only" type="submit"><%= gettext "Search" %></button> |
|
|
|
@ -44,7 +59,11 @@ |
|
|
|
|
<ul class="navbar-nav"> |
|
|
|
|
<li class="nav-item dropdown"> |
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
|
|
<i class="fas fa-globe mr-1"></i> |
|
|
|
|
<!-- <i class="fas fa-globe mr-1 text-secondary"></i> --> |
|
|
|
|
<!-- <img src="<%= static_path(@conn, "/images/icons/network.svg") %>" class="nav-link-icon"> --> |
|
|
|
|
<span class="nav-link-icon"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_network_icon.html" %> |
|
|
|
|
</span> |
|
|
|
|
<%= gettext("Mainnet") %> |
|
|
|
|
</a> |
|
|
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
|
|
|
|