PHP Classes

File: resources/views/livewire/backend/channel/table/channels-table.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/views/livewire/backend/channel/table/channels-table.blade.php  >  Download  
File: resources/views/livewire/backend/channel/table/channels-table.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: 2,075 bytes
 

Contents

Class file image Download
<x-livewire-tables::table.cell class="md:table-cell">
    <div>
        {{ $row->id }}
    </div>
</x-livewire-tables::table.cell>
<x-livewire-tables::table.cell class="md:table-cell">
    <div>
        {{ $row->name }}
    </div>
</x-livewire-tables::table.cell>
<x-livewire-tables::table.cell class="md:table-cell">
    <div>
        @if($row->isBanned())
            <span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-indigo-100 bg-indigo-700 rounded">{{ __('Yes') }}</span>
        @else
            <span class="inline-flex items-center justify-center px-2 py-1 mr-2 text-xs font-bold leading-none text-red-100 bg-red-600 rounded">{{ __('No') }}</span>
        @endif
    </div>
</x-livewire-tables::table.cell>
<x-livewire-tables::table.cell class="md:table-cell">
    <div>
        {{ $row->created_at->format('F j Y h:i A') }}
    </div>
</x-livewire-tables::table.cell>
<x-livewire-tables::table.cell class="md:table-cell flex justify-end items-center">
    {{-- <a wire:click="$emit('openModal', 'backend.admin.modal.view-admin', {{ json_encode(["admin_id" => $row->id]) }})" class="cursor-pointer font-medium mr-2">View</a>--}}
    {{-- <a wire:click="$emit('openModal', 'backend.admin.modal.edit-admin', {{ json_encode(["admin_id" => $row->id]) }})" class="cursor-pointer text-blue-600 font-medium hover:text-blue-900 mr-2">Edit</a>--}}
    {{-- <a wire:click="$emit('openModal', 'backend.admin.modal.delete-admin', {{ json_encode(["admin_id" => $row->id]) }})" class="cursor-pointer text-red-600 font-medium hover:text-red-900">Delete</a>--}}
    @if($row->isBanned())
        <a wire:click="$emit('openModal', 'backend.channel.modal.un-ban-channel', {{ json_encode(["channel_id" => $row->id]) }})" class="cursor-pointer font-medium mr-2">UnBan</a>
    @else
        <a wire:click="$emit('openModal', 'backend.channel.modal.ban-channel', {{ json_encode(["channel_id" => $row->id]) }})" class="cursor-pointer text-red-600 font-medium hover:text-red-900">Ban</a>
    @endif
</x-livewire-tables::table.cell>

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