:::

4-1 /resources/views/exam/index.blade.php

@extends('layouts.app') 

@section('content')
    <h1>隨機題庫系統<small>(共 {{$exams->total()}} 筆資料)</small></h1>

    <div class="list-group">      

        @forelse($exams as $exam)
            <a href="exam/{{ $exam->id }}" class="list-group-item list-group-item-action">
                {{ $exam->updated_at->format('Y年m月d日') }}
                {{ $exam->title }}
                @if(!$exam->enable)
                    <span class="badge badge-danger">關</span>
                @endif
            </a>
        @empty
            <div class="alert alert-danger">
                尚無任何測驗
            </div>
        @endforelse

    </div>
    <div class="mt-3">
        {{ $exams->links() }}
    </div>
@endsection

 


:::

書籍目錄

展開 | 闔起

快速登入


https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1302%26tbsn%3D41

計數器

今天: 8431843184318431
昨天: 2489248924892489
總計: 8030413803041380304138030413803041380304138030413