Changed links to chapters, button to synchronize chapters from courses list, dark mode.
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<th>Id</th>
|
||||
<th></th>
|
||||
<th>Name</th>
|
||||
<th>status</th>
|
||||
<th>Status</th>
|
||||
<th>Sync</th>
|
||||
<th>Chapters</th>
|
||||
<th>Published at</th>
|
||||
<th>Estimate file size</th>
|
||||
@@ -18,9 +19,13 @@
|
||||
<td class="align-middle">{{ $course->id }}</td>
|
||||
<td><img src="{{ $course->thumbnail }}" alt="{{ $course->name }}" class="img-thumbnail"
|
||||
style="width: 70px;"></td>
|
||||
<td class="align-middle"><a
|
||||
href="{{ route('course.index', ['course' => $course->id]) }}">{{ $course->name }}</a></td>
|
||||
<td class="align-middle"><a class="text-decoration-none"
|
||||
href="{{ route('course.index', ['course' => $course->id]) }}">{{ $course->name }}</a>
|
||||
</td>
|
||||
<td class="align-middle">{{ $course->status }}</td>
|
||||
<td class="align-middle"><a class="btn btn-outline-primary"
|
||||
href="{{ route('course.sync', ['course' => $course->id]) }}">Sync all
|
||||
chapters offline</a></td>
|
||||
<td class="align-middle">{{ $course->chapters_count }} / {{ $course->numberofchapters }}</td>
|
||||
<td class="align-middle"><abbr
|
||||
title="{{ $course->published_at?->format('Y-m-d') }}">{{ $course->published_at?->diffForHumans() }}</abbr>
|
||||
|
||||
Reference in New Issue
Block a user