|
|
|
@ -128,29 +128,29 @@ |
|
|
|
|
</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"> |
|
|
|
|
<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"> |
|
|
|
|
<%= 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() %> |
|
|
|
|
</a> |
|
|
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
|
|
|
|
<%= for %{url: url, title: title} <- other_networks() do %> |
|
|
|
|
<a class="dropdown-item" href="<%= url%>"><%= title %></a> |
|
|
|
|
<% end %> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</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 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() %> --> |
|
|
|
|
</a> |
|
|
|
|
<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 %> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</nav> |
|
|
|
|