Changed links to chapters, button to synchronize chapters from courses list, dark mode.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<x-layout>
|
||||
<h1>
|
||||
<a href="/">List</a> » {{ $course->name }}
|
||||
<a href="/" class="text-decoration-none">List</a> » {{ $course->name }}
|
||||
</h1>
|
||||
|
||||
<a href="{{ route('course.sync', ['course' => $course->id]) }}">Sync all chapters offline</a>
|
||||
@@ -16,7 +16,7 @@
|
||||
</thead>
|
||||
@foreach($course->chapters()->get() as $chapter)
|
||||
<tr>
|
||||
<td><a href="{{ route('course.chapter', ['chapter' => $chapter->id]) }}">{{ $chapter->title }}</a></td>
|
||||
<td><a href="{{ route('course.chapter', ['course' => $course->id, 'chapter' => $chapter->order]) }}" class="text-decoration-none">{{ $chapter->title }}</a></td>
|
||||
<td>{{ $chapter->duration }}</td>
|
||||
<td>{{ $chapter->sync_offline?'Yes':'no' }}</td>
|
||||
<td>{{ $chapter->is_video_file?'Yes':'-' }}</td>
|
||||
|
||||
Reference in New Issue
Block a user