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">
|
2019-12-04 10:21:58 +01:00
|
|
|
<a href="{{ route('user_subjects', ['weekday']) }}" class="btn btn-primary"> My subjects </a>
|
|
|
|
<a href="{{ route('user_classes', ['subject_id']) }}" class="btn btn-primary"> My classes </a>
|
|
|
|
<a href="{{ route('user_attendances', ['classes_id']) }}" class="btn btn-primary"> Attendance </a>
|
2019-12-01 23:36:12 +01:00
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
@yield('user_content')
|
|
|
|
</div>
|
2019-11-25 16:23:25 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|