31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('title') My Home @endsection
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-12">
|
|
<div class="card">
|
|
<div class="card-header">Dashboard</div>
|
|
<div class="card-body">
|
|
@if (session('status'))
|
|
<div class="alert alert-success" role="alert">
|
|
{{ session('status') }}
|
|
</div>
|
|
@endif
|
|
</div>
|
|
<div class="card-body">
|
|
<a href="{{ route('user_subjects') }}" class="btn btn-primary"> My subjects </a>
|
|
<a href="{{ route('user_classes') }}" class="btn btn-primary"> My classes </a>
|
|
<a href="{{ route('user_attendances') }}" class="btn btn-primary"> Attendance </a>
|
|
</div>
|
|
<div class="card-body">
|
|
@yield('user_content')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|