atcheck/resources/views/home.blade.php

31 lines
1.2 KiB
PHP
Raw Normal View History

@extends('layouts.app')
2019-12-01 23:36:12 +01:00
@section('title') My Home @endsection
@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>
</div>
</div>
</div>
</div>
@endsection