mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Change dropdown into normal tabs
This commit is contained in:
parent
1a3824a5af
commit
ff43a47716
1 changed files with 15 additions and 20 deletions
|
@ -74,26 +74,21 @@
|
||||||
<div class="pure-u-1-3"> <!-- Sort by -->
|
<div class="pure-u-1-3"> <!-- Sort by -->
|
||||||
<div class="pure-menu pure-menu-horizontal" style="">
|
<div class="pure-menu pure-menu-horizontal" style="">
|
||||||
<ul class="pure-menu-list", style="float: right">
|
<ul class="pure-menu-list", style="float: right">
|
||||||
<li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover">
|
<% sort_options.each do |sort| %>
|
||||||
<a class="pure-menu-link">Sort By</a> <!-- Translate! -->
|
<% if sort_by == sort %>
|
||||||
<ul class="pure-menu-children">
|
<li class="pure-menu-item pure-menu-selected">
|
||||||
<% sort_options.each do |sort| %>
|
<a class="pure-menu-link" href="/channel/<%= channel.ucid %>?page=<%= page %>&sort_by=<%= sort %>">
|
||||||
<% if sort_by == sort %>
|
<b><%= translate(locale, sort) %></b>
|
||||||
<li class="pure-menu-item pure-menu-selected">
|
</a>
|
||||||
<a class="pure-menu-link" href="/channel/<%= channel.ucid %>?page=<%= page %>&sort_by=<%= sort %>">
|
</li>
|
||||||
<b><%= translate(locale, sort) %></b>
|
<% else %>
|
||||||
</a>
|
<li class="pure-menu-item">
|
||||||
</li>
|
<a class="pure-menu-link" href="/channel/<%= channel.ucid %>?page=<%= page %>&sort_by=<%= sort %>">
|
||||||
<% else %>
|
<%= translate(locale, sort) %>
|
||||||
<li class="pure-menu-item">
|
</a>
|
||||||
<a class="pure-menu-link" href="/channel/<%= channel.ucid %>?page=<%= page %>&sort_by=<%= sort %>">
|
</li>
|
||||||
<%= translate(locale, sort) %>
|
<% end %>
|
||||||
</a>
|
<% end %>
|
||||||
</li>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue