This commit is contained in:
Dharmaraj Shrestha 2024-04-16 11:27:13 +05:45
parent d1851922ec
commit 9a50f296fe
6 changed files with 1644 additions and 1127 deletions

View File

@ -14,7 +14,8 @@ class CalendarController extends Controller
*/
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()
{
return view('admin::create');
return view('admin::calendars.create');
}
/**
@ -38,7 +39,7 @@ class CalendarController extends Controller
*/
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)
{
return view('admin::edit');
return view('admin::calendars.edit');
}
/**

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,6 @@
{{ html()->label('Date of Birth')->class('form-label') }}
{{ html()->date('dob')->class('form-control')->placeholder('Choose Date of Birth')->required() }}
{{ html()->div('Please choose dob')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
@ -56,9 +55,7 @@
<div class="col-md-4">
{{ html()->label('Upload Profile Picture')->class('form-label') }}
{{ html()->file('profile_picture')->class('form-control') }}
</div>
</div>
<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

View File

@ -88,7 +88,7 @@
<li class="nav-item">
<a class="nav-link menu-link @if (\Request::is('calendar') || \Request::is('calendar/*')) active @endif"
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>
</li>