PATH:
home
/
lab2454c
/
tripvare.com
/
resources
/
views
/
admin
/
dashboard
/
manage_users
@extends('layouts.admin.dashboard') @section('content') <div class="inner__body__wrapp faq__wrap"> @include('validation.flashmessage') <div class="list__header__wrapp"> <h2>{{ __('messages.admin.manage_users.heading')}}</h2> <div class="filter__wrapp"> <form class="frm__wrapp" method="GET" action='{{ route("admin.search-user") }}'> @csrf <input type="text" name="q" value="@isset($q){{$q}}@endisset" placeholder="{{ __('messages.admin.manage_users.search_heading')}}" class="frm__content" required> <button type="submit" class="search__btn">{{ __('messages.admin.manage_users.btn_search')}}</button> <a href="{{ route('admin.export-user') }}" class="search__btn">{{ __('messages.admin.manage_users.excel_export')}}</a> </form> </div> </div> <div class="table-responsive"> <table class="table table-sm"> <thead> <tr> <th scope="col">#</th> <th scope="col">{{ __('messages.admin.manage_users.list.heading.name')}}</th> <th scope="col">{{ __('messages.admin.manage_users.list.heading.email')}}</th> <th scope="col">{{ __('messages.admin.manage_users.list.heading.account_status')}}</th> <th scope="col">{{ __('messages.admin.manage_users.list.heading.manage')}}</th> </tr> </thead> <tbody> @foreach($users as $user) <tr class="manage__user__data__table"> <td> <!--<img src="@if(!empty($user->profile_picture)){{ asset("storage/profile_images/100_".$user->profile_picture) }}@else{{ asset('img/no-image.png') }}@endif" width="80" />--> <img src="{{ isset($user->profile_picture) ? config("app.url").Storage::url($user->profile_picture) : asset('img/no-image.png') }}" width="80" /> </td> <td>{{ $user->first_name }} {{ $user->last_name }}</td> <td>{{ $user->email }}</td> <td> @if($user->account_status == 1) {{ __('messages.admin.manage_users.list.heading.active')}} @else {{ __('messages.admin.manage_users.list.heading.inactive')}} @endif </td> <td> <ul class="list-inline m-0"> <li class="list-inline-item"> <a href='{{ route("admin.manage-user", ["id"=>$user->id,"page"=>$users->currentPage()])}}' class="btn btn-success btn-sm rounded-0" type="button" data-toggle="tooltip" data-placement="top" title="{{ __('messages.admin.manage_users.list.heading.manage')}}"><i class="fa fa-eye"></i></a> </li> @if(isset($user->vaccination_review)) <li class="list-inline-item"> <a href='{{ route("admin.manage-user-vaccination", $user)}}' class="btn btn-success btn-sm rounded-0" type="button" data-toggle="tooltip" data-placement="top" title="{{ __('Manage Vaccination Info')}}"><i class="fa fa-info-circle"></i></a> </li> @endif <li class="list-inline-item"> <a href='{{ route("admin.remove-user",[$user->id])}}' class="btn btn-danger btn-sm rounded-0" type="button" data-toggle="tooltip" data-placement="top" title="{{ __('messages.admin.manage_users.list.heading.btn_delete')}}" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i></a> </li> </ul> </td> </tr> @endforeach </tbody> </table> {!! $users->links('pagination::bootstrap-4') !!} </div> </div> @endsection
[+]
..
[-] user_vaccination_info.blade.php
[edit]
[-] list.blade.php
[edit]
[-] user_info.blade.php
[edit]
[-] user_immunization_info.blade.php
[edit]