You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<%= turbo_frame_tag :scores do %> <table class="min-w-full divide-gray-300 dark:divide-gray-500 divide-y-4 border-gray-200 dark:border-gray-600 border-2"> <thead> <tr class="whitespace-nowrap text-md text-left font-semibold text-gray-800 dark:text-gray-200 bg-gray-100 dark:bg-gray-700"> <th scope="col" class="p-2"> <%= pagy_sort_link(@q, :name, t('modules.etherpad.padname')) %> </th> <th scope="col" class="p-2"> <%= pagy_sort_link(@q, :grade, t('modules.etherpad.comment')) %> </th> <th scope="col" class="p-2"> <%= pagy_sort_link(@q, :created_at, t('modules.etherpad.created_at')) %> </th> <th scope="col" class="p-2"> Actions </th> </tr> <tr class="text-gray-800 bg-gray-100 dark:bg-gray-600 dark:text-gray-200"> <th class='p-1'> <%= pagy_search_field(@q, :name_cont, class: "text-sm w-full h-8 text-gray-800 dark:text-gray-400 bg-gray-200 dark:bg-gray-700") %> </th> <th class='p-1 hidden lg:table-cell'> </th> <th> </th> <th class='p-1 hidden sm:table-cell'> </th> </tr> </thead> <tbody class="divide-y divide-gray-200 dark:divide-gray-700"> <%= render @scores %> </tbody> </table> <div class="flex flex-col items-center justify-center text-sm text-gray-500 my-5 gap-2"> <%== pagy_nav @pagy %> <%== pagy_info @pagy %> </div> <%end%>
|