Reformat user side student.index for mobile
This commit is contained in:
parent
0c3c81fcc8
commit
5900220cab
|
|
@ -35,7 +35,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<x-table.th first>Name</x-table.th>
|
<x-table.th first>Name</x-table.th>
|
||||||
<x-table.th>Grade</x-table.th>
|
<x-table.th>Grade</x-table.th>
|
||||||
<x-table.th>Entries</x-table.th>
|
<x-table.th class="hidden md:table-cell">Entries</x-table.th>
|
||||||
<x-table.th spacer_only>
|
<x-table.th spacer_only>
|
||||||
<span class="sr-only">Edit</span>
|
<span class="sr-only">Edit</span>
|
||||||
</x-table.th>
|
</x-table.th>
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<x-table.td first>{{ $student->full_name(true) }}</x-table.td>
|
<x-table.td first>{{ $student->full_name(true) }}</x-table.td>
|
||||||
<x-table.td>{{ $student->grade }}</x-table.td>
|
<x-table.td>{{ $student->grade }}</x-table.td>
|
||||||
<x-table.td>{{ $student->entries_count }}</x-table.td>
|
<x-table.td class="hidden md:table-cell">{{ $student->entries_count }}</x-table.td>
|
||||||
<x-table.td for_button>
|
<x-table.td for_button>
|
||||||
@if( $student->entries_count === 0)
|
@if( $student->entries_count === 0)
|
||||||
<form method="POST" action="{{ route('students.destroy',$student) }}" class="inline">
|
<form method="POST" action="{{ route('students.destroy',$student) }}" class="inline">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue