PHP Classes

File: resources/views/livewire/central/show-roles.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   Laravel SAAS Boilerplate   resources/views/livewire/central/show-roles.blade.php   Download  
File: resources/views/livewire/central/show-roles.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel SAAS Boilerplate
Base application to develop software as a service
Author: By
Last change:
Date: 1 year ago
Size: 1,243 bytes
 

Contents

Class file image Download
<div class="bg-white overflow-hidden shadow-md sm:rounded-lg" x-data="{}">
    <table class="min-w-max w-full table-auto">
        <thead>
        <tr class="bg-gray-200 text-gray-600 uppercase text-sm leading-normal">
            <th class="py-3 px-6 text-left">{{ __('Name') }}</th>
            <th class="py-3 px-6 text-right">{{ __('Actions') }}</th>
        </tr>
        </thead>
        <tbody class="text-gray-600 text-sm font-light">
        @foreach($roles as $role)
            <tr class="border-b border-gray-200 hover:bg-gray-100">
                <td class="py-3 px-6 text-left whitespace-nowrap">
                    <div class="flex items-center">
                        <span class="font-medium">{{ $role->name }}</span>
                    </div>
                </td>
                <td class="py-3 px-6 text-right">
                    @include('central.backend.role.includes.actions')
                </td>
            </tr>
        @endforeach
        </tbody>
        @if($roles->hasPages())
            <tfoot>
            <tr>
                <td colspan="5" class="px-4 py-2">
                    {{ $roles->links() }}
                </td>
            </tr>
            </tfoot>
        @endif
    </table>
</div>