|
|
@ -83,7 +83,7 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<%= gettext("Tokens") %> |
|
|
|
<%= gettext("Tokens") %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown"> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown"> |
|
|
|
<%= link( |
|
|
|
<%= link( |
|
|
|
gettext("All"), |
|
|
|
gettext("All"), |
|
|
|
class: "dropdown-item #{tab_status("tokens", @conn.request_path)}", |
|
|
|
class: "dropdown-item #{tab_status("tokens", @conn.request_path)}", |
|
|
@ -105,7 +105,7 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<%= gettext("APIs") %> |
|
|
|
<%= gettext("APIs") %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown"> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarTransactionsDropdown"> |
|
|
|
<%= link( |
|
|
|
<%= link( |
|
|
|
gettext("GraphQL"), |
|
|
|
gettext("GraphQL"), |
|
|
|
class: "dropdown-item #{tab_status("graphiql", @conn.request_path)}", |
|
|
|
class: "dropdown-item #{tab_status("graphiql", @conn.request_path)}", |
|
|
@ -138,7 +138,7 @@ |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarAppsDropdown"> |
|
|
|
<div class="dropdown-menu" aria-labeledby="navbarAppsDropdown"> |
|
|
|
<%= if apps_menu == true do %> |
|
|
|
<%= if apps_menu == true do %> |
|
|
|
<%= for %{url: url, title: title} <- external_apps_list() do %> |
|
|
|
<%= for %{url: url, title: title} <- external_apps_list() do %> |
|
|
|
<a href="<%= url %>" class="dropdown-item" target="_blank"><%= title %> |
|
|
|
<a href="<%= url %>" class="dropdown-item" target="_blank"><%= title %> |
|
|
|
<span class="external-link-icon"> |
|
|
|
<span class="external-link-icon"> |
|
|
|
<%= render BlockScoutWeb.IconsView, "_external_link.html" %> |
|
|
|
<%= render BlockScoutWeb.IconsView, "_external_link.html" %> |
|
|
@ -156,24 +156,24 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<%= subnetwork_title() %> |
|
|
|
<%= subnetwork_title() %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> |
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> |
|
|
|
<%= if Enum.count(main_nets) > 0 do %> |
|
|
|
<%= if Enum.count(main_nets) > 0 do %> |
|
|
|
<a class="dropdown-item header division">Mainnets</a> |
|
|
|
<a class="dropdown-item header division">Mainnets</a> |
|
|
|
<%= for %{url: url, title: title} <- main_nets do %> |
|
|
|
<%= for %{url: url, title: title} <- main_nets do %> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= if Enum.count(test_nets) > 0 do %> |
|
|
|
<%= if Enum.count(test_nets) > 0 do %> |
|
|
|
<a class="dropdown-item header division">Testnets</a> |
|
|
|
<a class="dropdown-item header division">Testnets</a> |
|
|
|
<%= for %{url: url, title: title} <- test_nets do %> |
|
|
|
<%= for %{url: url, title: title} <- test_nets do %> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= if Enum.count(other_nets) > 0 do %> |
|
|
|
<%= if Enum.count(other_nets) > 0 do %> |
|
|
|
<a class="dropdown-item header division">Other Networks</a> |
|
|
|
<a class="dropdown-item header division">Other Networks</a> |
|
|
|
<%= for %{url: url, title: title} <- other_nets do %> |
|
|
|
<%= for %{url: url, title: title} <- other_nets do %> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<a class="dropdown-item" href="<%= url %>"><%= title %></a> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|