forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-19 22:14:06 -06:00
parent 5a550dbee9
commit e0c4578f13
2 changed files with 26 additions and 26 deletions

View File

@ -11,32 +11,32 @@
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownSearchSortsButton" x-placement="bottom-start">
<li class="{% if t=='hour' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=hour">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=hour">
<i class="fas fa-clock fa-sm fa-fw mr-4"></i>Hour
</a>
</li>
<li class="{% if t=='day' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=day">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=day">
<i class="fas fa-calendar-day fa-sm fa-fw mr-4"></i>Day
</a>
</li>
<li class="{% if t=='week' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=week">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=week">
<i class="fas fa-calendar-week fa-sm fa-fw mr-4"></i>Week
</a>
</li>
<li class="{% if t=='month' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=month">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=month">
<i class="fas fa-calendar-alt fa-sm fa-fw mr-4"></i>Month
</a>
</li>
<li class="{% if t=='year' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=year">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=year">
<i class="fas fa-calendar fa-sm fa-fw mr-4"></i>Year
</a>
</li>
<li class="{% if t=='all' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=all">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=all">
<i class="fas fa-infinity fa-sm fa-fw mr-4"></i>All
</a>
</li>
@ -55,37 +55,37 @@
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownSearchSortsTypeButton" x-placement="bottom-start">
<li class="{% if sort == 'top' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=top&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=top&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-arrow-alt-circle-up fa-sm fa-fw mr-4"></i>Top
</a>
</li>
<li class="{% if sort == 'bottom' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=bottom&q={{query | urlencode}}&t={{t}}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=bottom&q={{query | urlencode}}&t={{t}}}">
<i class="fas fa-arrow-alt-circle-down fa-sm fa-fw mr-4"></i>Bottom
</a>
</li>
<li class="{% if sort == 'new' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=new&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=new&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-sparkles fa-sm fa-fw mr-4"></i>New
</a>
</li>
<li class="{% if sort == 'old' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=old&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=old&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-book fa-sm fa-fw mr-4"></i>Old
</a>
</li>
<li class="{% if sort == 'controversial' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=fiery&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=fiery&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-bullhorn fa-sm fa-fw mr-4"></i>Controversial
</a>
</li>
<li class="{% if sort == 'comments' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=comments&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=comments&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-comments fa-sm fa-fw mr-4"></i>Comments
</a>
</li>
<li class="{% if sort == 'random' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=random&q={{query | urlencode}}&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=random&q={{query | urlencode}}&t={{t}}">
<i class="fas fa-question fa-sm fa-fw mr-4"></i>Random
</a>
</li>

View File

@ -11,32 +11,32 @@
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownSubmissionSortButton" x-placement="bottom-start">
<li class="{% if t=='hour' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=hour">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=hour">
<i class="fas fa-clock fa-sm fa-fw mr-4"></i>Hour
</a>
</li>
<li class="{% if t=='day' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=day">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=day">
<i class="fas fa-calendar-day fa-sm fa-fw mr-4"></i>Day
</a>
</li>
<li class="{% if t=='week' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=week">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=week">
<i class="fas fa-calendar-week fa-sm fa-fw mr-4"></i>Week
</a>
</li>
<li class="{% if t=='month' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=month">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=month">
<i class="fas fa-calendar-alt fa-sm fa-fw mr-4"></i>Month
</a>
</li>
<li class="{% if t=='year' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=year">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=year">
<i class="fas fa-calendar fa-sm fa-fw mr-4"></i>Year
</a>
</li>
<li class="{% if t=='all' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort={{sort}}&t=all">
<a class="dropdown-item dropdown-item-primary" href="?sort={{sort}}&t=all">
<i class="fas fa-infinity fa-sm fa-fw mr-4"></i>All
</a>
</li>
@ -55,37 +55,37 @@
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownSubmissionSortTypeButton" x-placement="bottom-start">
<li class="{% if sort == 'hot' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=hot&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=hot&t={{t}}">
<i class="fas fa-fire fa-sm fa-fw mr-4"></i>Hot
</a>
</li>
<li class="{% if sort == 'top' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=top&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=top&t={{t}}">
<i class="fas fa-arrow-alt-circle-up fa-sm fa-fw mr-4"></i>Top
</a>
</li>
<li class="{% if sort == 'bottom' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=bottom&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=bottom&t={{t}}">
<i class="fas fa-arrow-alt-circle-down fa-sm fa-fw mr-4"></i>Bottom
</a>
</li>
<li class="{% if sort == 'new' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=new&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=new&t={{t}}">
<i class="fas fa-sparkles fa-sm fa-fw mr-4"></i>New
</a>
</li>
<li class="{% if sort == 'old' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=old&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=old&t={{t}}">
<i class="fas fa-book fa-sm fa-fw mr-4"></i>Old
</a>
</li>
<li class="{% if sort == 'controversial' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=controversial&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=controversial&t={{t}}">
<i class="fas fa-bullhorn fa-sm fa-fw mr-4"></i>Controversial
</a>
</li>
<li class="{% if sort == 'comments' %}hidden{% endif %}">
<a class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" href="?sort=comments&t={{t}}">
<a class="dropdown-item dropdown-item-primary" href="?sort=comments&t={{t}}">
<i class="fas fa-comments fa-sm fa-fw mr-4"></i>Comments
</a>
</li>