diff --git a/html/channel.ejs b/html/channel.ejs index d54c6730..99f98df0 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -928,6 +928,76 @@ width: fit-content; <% } %> + <% if (isMobile) { %> + +
+ Sort by + +
+ <% if (sort == "newest") { %> + + + Recently Uploaded + + + + + Popular + + + + Oldest + + + <% } %> + <% if (sort) { %> + + <% if (sort === "popular") { %> + + + Recently Uploaded + + + + Popular + + + + Oldest + + <% } %> + + + <% if (sort === "oldest") { %> + + + Recently Uploaded + + + + Popular + + + + Oldest + + <% } %> + + <% } %> + + +
+ + + <% } %> +