PHP Classes

File: resources/views/vendor/livewire-tables/tailwind/includes/sorting-pills.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/views/vendor/livewire-tables/tailwind/includes/sorting-pills.blade.php  >  Download  
File: resources/views/vendor/livewire-tables/tailwind/includes/sorting-pills.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 4 months ago
Size: 1,862 bytes


Class file image Download
    @if ($showSorting && count($sorts))
        <div class="mb-4 p-6 md:p-0">
            <small class="text-gray-700">@lang('Applied Sorting'):</small>

            @foreach($sorts as $col => $dir)
                    wire:key="sorting-pill-{{ $col }}"
                    class="inline-flex items-center py-0.5 pl-2 pr-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-700"
                    {{ $sortNames[$col] ?? collect($this->columns())->pluck('text', 'column')->get($col, ucwords(strtr($col, ['_' => ' ', '-' => ' ']))) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}

                        wire:click="removeSort('{{ $col }}')"
                        class="flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-indigo-400 hover:bg-indigo-200 hover:text-indigo-500 focus:outline-none focus:bg-indigo-500 focus:text-white"
                        <span class="sr-only">@lang('Remove sort option')</span>
                        <svg class="h-2 w-2" stroke="currentColor" fill="none" viewBox="0 0 8 8">
                            <path stroke-linecap="round" stroke-width="1.5" d="M1 1l6 6m0-6L1 7" />

                class="focus:outline-none active:outline-none"
                <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800">

For more information send a message to info at phpclasses dot org.