2019-11-25 16:23:25 +01:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
2019-12-01 23:36:12 +01:00
|
|
|
@section('title') My Home @endsection
|
2019-11-30 21:32:42 +01:00
|
|
|
|
2019-11-25 16:23:25 +01:00
|
|
|
@section('content')
|
2019-12-01 23:36:12 +01:00
|
|
|
<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', [Auth::user()->id, 'weekday']) }}" class="btn btn-primary"> My subjects </a>
|
|
|
|
<a href="{{ route('user_classes', [Auth::user()->id, 'subject_id']) }}" class="btn btn-primary"> My classes </a>
|
|
|
|
<a href="{{ route('user_attendances', [Auth::user()->id, 'classes_id']) }}" class="btn btn-primary"> Attendance </a>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
@yield('user_content')
|
|
|
|
</div>
|
2019-11-25 16:23:25 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|