table css

This commit is contained in:
Andras Bacsai
2023-06-12 21:12:07 +02:00
parent 169dc3c2d1
commit 6626795a99
5 changed files with 40 additions and 17 deletions

View File

@@ -2,9 +2,9 @@
@if ($invitations->count() > 0)
<h4 class="pb-2">Pending Invitations</h4>
<div class="overflow-x-auto">
<table class="table">
<table>
<thead>
<tr class="font-bold text-white uppercase border-coolgray-200">
<tr>
<th>Email</th>
<th>Via</th>
<th>Role</th>
@@ -15,7 +15,7 @@
<tbody x-data>
@foreach ($invitations as $invite)
<tr class="border-coolgray-200">
<tr>
<td>{{ $invite->email }}</td>
<td>{{ $invite->via }}</td>
<td>{{ $invite->role }}</td>

View File

@@ -1,8 +1,9 @@
<tr class="border-coolgray-200">
{{-- <th class="text-warning">{{ $member->id }}</th> --}}
<th>{{ $member->name }}</th>
<tr>
<td>
{{ $member->name }}</th>
<td>{{ $member->email }}</td>
<td>{{ data_get($member, 'pivot.role') }}</td>
<td>
{{ data_get($member, 'pivot.role') }}</td>
<td>
{{-- TODO: This is not good --}}
@if (auth()->user()->isAdmin())