|
|
|
@ -128,22 +128,23 @@ |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<button class="btn btn-outline-success my-2 my-sm-0 sr-only" type="submit"><%= gettext "Search" %></button> |
|
|
|
|
<button class="btn btn-outline-success my-2 my-sm-0 sr-only hidden" type="submit"><%= gettext "Search" %></button> |
|
|
|
|
<% end %> |
|
|
|
|
<ul class="navbar-nav"> |
|
|
|
|
</div> |
|
|
|
|
<ul class="navbar-nav mr-auto"> |
|
|
|
|
<li class="nav-item dropdown"> |
|
|
|
|
<a class="nav-link dropdown-toggle pl-lg-2" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
|
|
<!-- ICON FOR MAINNET --> |
|
|
|
|
<span class="nav-link-icon"> |
|
|
|
|
<span class="nav-link-icon m-r-0"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, network_icon_partial() %> |
|
|
|
|
</span> |
|
|
|
|
<!-- ICON FOR TESTNET --> |
|
|
|
|
<!-- <span class="nav-link-icon"> |
|
|
|
|
<%= render BlockScoutWeb.IconsView, "_test_network_icon.html" %> |
|
|
|
|
</span> --> |
|
|
|
|
<%= subnetwork_title() %> |
|
|
|
|
<!-- <%= subnetwork_title() %> --> |
|
|
|
|
</a> |
|
|
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
|
|
|
|
<div class="dropdown-menu right" aria-labelledby="navbarDropdown"> |
|
|
|
|
<%= for %{url: url, title: title} <- other_networks() do %> |
|
|
|
|
<a class="dropdown-item" href="<%= url%>"><%= title %></a> |
|
|
|
|
<% end %> |
|
|
|
@ -152,5 +153,4 @@ |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</nav> |
|
|
|
|