calendar
This commit is contained in:
parent
d1851922ec
commit
9a50f296fe
@ -14,7 +14,8 @@ class CalendarController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return view('admin::index');
|
$data['title'] = 'Calendar';
|
||||||
|
return view('admin::calendars.index', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -22,7 +23,7 @@ class CalendarController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
return view('admin::create');
|
return view('admin::calendars.create');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,7 +39,7 @@ class CalendarController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function show($id)
|
public function show($id)
|
||||||
{
|
{
|
||||||
return view('admin::show');
|
return view('admin::calendars.show');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -46,7 +47,7 @@ class CalendarController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function edit($id)
|
public function edit($id)
|
||||||
{
|
{
|
||||||
return view('admin::edit');
|
return view('admin::calendars.edit');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -34,7 +34,6 @@
|
|||||||
{{ html()->label('Date of Birth')->class('form-label') }}
|
{{ html()->label('Date of Birth')->class('form-label') }}
|
||||||
{{ html()->date('dob')->class('form-control')->placeholder('Choose Date of Birth')->required() }}
|
{{ html()->date('dob')->class('form-control')->placeholder('Choose Date of Birth')->required() }}
|
||||||
{{ html()->div('Please choose dob')->class('invalid-feedback') }}
|
{{ html()->div('Please choose dob')->class('invalid-feedback') }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
@ -56,9 +55,7 @@
|
|||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
{{ html()->label('Upload Profile Picture')->class('form-label') }}
|
{{ html()->label('Upload Profile Picture')->class('form-label') }}
|
||||||
{{ html()->file('profile_picture')->class('form-control') }}
|
{{ html()->file('profile_picture')->class('form-control') }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row gy-1 mt-1">
|
<div class="row gy-1 mt-1">
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -88,7 +88,7 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link menu-link @if (\Request::is('calendar') || \Request::is('calendar/*')) active @endif"
|
<a class="nav-link menu-link @if (\Request::is('calendar') || \Request::is('calendar/*')) active @endif"
|
||||||
href="{{ route('calendar.index') }}">
|
href="{{ route('calendar.index') }}">
|
||||||
<i class="ri-team-line"></i> <span data-key="t-widgets">Calendar</span>
|
<i class="ri-calendar-line"></i> <span data-key="t-widgets">Calendar</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user