PHP Classes

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

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/views/vendor/livewire-tables/bootstrap-5/includes/sorting-pills.blade.php  >  Download  
File: resources/views/vendor/livewire-tables/bootstrap-5/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: 5 months ago
Size: 1,509 bytes


Class file image Download
    @if ($showSorting && count($sorts))
        <div class="mb-3">
            <small>@lang('Applied Sorting'):</small>

            @foreach($sorts as $col => $dir)
                    wire:key="sorting-pill-{{ $col }}"
                    class="badge rounded-pill bg-info d-inline-flex align-items-center"
                    <span>{{ $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') }}</span>

                        wire:click.prevent="removeSort('{{ $col }}')"
                        class="text-white ms-2"
                        <span class="visually-hidden">@lang('Remove sort option')</span>
                        <svg style="width:.5em;height:.5em" stroke="currentColor" fill="none" viewBox="0 0 8 8">
                            <path stroke-linecap="round" stroke-width="1.5" d="M1 1l6 6m0-6L1 7" />

                class="badge rounded-pill bg-light text-dark text-decoration-none"

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