24 nov 2023
Cette révision appartient à :
Parent
f712dfdee9
révision
281fa0eb2c
112
composer.lock
générée
112
composer.lock
générée
@ -1034,16 +1034,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v10.31.0",
|
||||
"version": "v10.33.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "507ce9b28bce4b5e4140c28943092ca38e9a52e4"
|
||||
"reference": "4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/507ce9b28bce4b5e4140c28943092ca38e9a52e4",
|
||||
"reference": "507ce9b28bce4b5e4140c28943092ca38e9a52e4",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8",
|
||||
"reference": "4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1144,7 +1144,7 @@
|
||||
"league/flysystem-sftp-v3": "^3.0",
|
||||
"mockery/mockery": "^1.5.1",
|
||||
"nyholm/psr7": "^1.2",
|
||||
"orchestra/testbench-core": "^8.12",
|
||||
"orchestra/testbench-core": "^8.15.1",
|
||||
"pda/pheanstalk": "^4.0",
|
||||
"phpstan/phpstan": "^1.4.7",
|
||||
"phpunit/phpunit": "^10.0.7",
|
||||
@ -1232,7 +1232,7 @@
|
||||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2023-11-07T13:48:30+00:00"
|
||||
"time": "2023-11-21T14:49:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/prompts",
|
||||
@ -1359,16 +1359,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/serializable-closure",
|
||||
"version": "v1.3.2",
|
||||
"version": "v1.3.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/serializable-closure.git",
|
||||
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c"
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
|
||||
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1415,7 +1415,7 @@
|
||||
"issues": "https://github.com/laravel/serializable-closure/issues",
|
||||
"source": "https://github.com/laravel/serializable-closure"
|
||||
},
|
||||
"time": "2023-10-17T13:38:16+00:00"
|
||||
"time": "2023-11-08T14:08:06+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/tinker",
|
||||
@ -1676,16 +1676,16 @@
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem",
|
||||
"version": "3.19.0",
|
||||
"version": "3.21.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/flysystem.git",
|
||||
"reference": "1b2aa10f2326e0351399b8ce68e287d8e9209a83"
|
||||
"reference": "a326d8a2d007e4ca327a57470846e34363789258"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1b2aa10f2326e0351399b8ce68e287d8e9209a83",
|
||||
"reference": "1b2aa10f2326e0351399b8ce68e287d8e9209a83",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a326d8a2d007e4ca327a57470846e34363789258",
|
||||
"reference": "a326d8a2d007e4ca327a57470846e34363789258",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1750,7 +1750,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/flysystem/issues",
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.19.0"
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.21.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1762,20 +1762,20 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-07T09:04:28+00:00"
|
||||
"time": "2023-11-18T13:59:15+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem-local",
|
||||
"version": "3.19.0",
|
||||
"version": "3.21.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/flysystem-local.git",
|
||||
"reference": "8d868217f9eeb4e9a7320db5ccad825e9a7a4076"
|
||||
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/8d868217f9eeb4e9a7320db5ccad825e9a7a4076",
|
||||
"reference": "8d868217f9eeb4e9a7320db5ccad825e9a7a4076",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
|
||||
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1810,7 +1810,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/flysystem-local/issues",
|
||||
"source": "https://github.com/thephpleague/flysystem-local/tree/3.19.0"
|
||||
"source": "https://github.com/thephpleague/flysystem-local/tree/3.21.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1822,7 +1822,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-06T20:35:28+00:00"
|
||||
"time": "2023-11-18T13:41:42+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/mime-type-detection",
|
||||
@ -3326,7 +3326,7 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.3.0",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
@ -3373,7 +3373,7 @@
|
||||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3547,7 +3547,7 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher-contracts",
|
||||
"version": "v3.3.0",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
|
||||
@ -3603,7 +3603,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0"
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -4923,16 +4923,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
"version": "v3.3.0",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/service-contracts.git",
|
||||
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4"
|
||||
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
|
||||
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
|
||||
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -4985,7 +4985,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v3.3.0"
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5001,7 +5001,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-23T14:45:45+00:00"
|
||||
"time": "2023-07-30T20:28:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/string",
|
||||
@ -5186,16 +5186,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
"version": "v3.3.0",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation-contracts.git",
|
||||
"reference": "02c24deb352fb0d79db5486c0c79905a85e37e86"
|
||||
"reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/02c24deb352fb0d79db5486c0c79905a85e37e86",
|
||||
"reference": "02c24deb352fb0d79db5486c0c79905a85e37e86",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dee0c6e5b4c07ce851b462530088e64b255ac9c5",
|
||||
"reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5244,7 +5244,7 @@
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.3.0"
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5260,7 +5260,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-30T17:17:10+00:00"
|
||||
"time": "2023-07-25T15:08:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/uid",
|
||||
@ -6033,16 +6033,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/sail",
|
||||
"version": "v1.26.0",
|
||||
"version": "v1.26.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/sail.git",
|
||||
"reference": "c60fe037004e272efd0d81f416ed2bfc623d70b4"
|
||||
"reference": "7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/c60fe037004e272efd0d81f416ed2bfc623d70b4",
|
||||
"reference": "c60fe037004e272efd0d81f416ed2bfc623d70b4",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed",
|
||||
"reference": "7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6094,7 +6094,7 @@
|
||||
"issues": "https://github.com/laravel/sail/issues",
|
||||
"source": "https://github.com/laravel/sail"
|
||||
},
|
||||
"time": "2023-10-18T13:57:15+00:00"
|
||||
"time": "2023-11-20T15:56:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "maximebf/debugbar",
|
||||
@ -6515,16 +6515,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
"version": "10.1.7",
|
||||
"version": "10.1.9",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||
"reference": "355324ca4980b8916c18b9db29f3ef484078f26e"
|
||||
"reference": "a56a9ab2f680246adcf3db43f38ddf1765774735"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e",
|
||||
"reference": "355324ca4980b8916c18b9db29f3ef484078f26e",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735",
|
||||
"reference": "a56a9ab2f680246adcf3db43f38ddf1765774735",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6581,7 +6581,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
||||
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7"
|
||||
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -6589,7 +6589,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-10-04T15:34:17+00:00"
|
||||
"time": "2023-11-23T12:23:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-file-iterator",
|
||||
@ -8231,16 +8231,16 @@
|
||||
},
|
||||
{
|
||||
"name": "theseer/tokenizer",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/theseer/tokenizer.git",
|
||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
|
||||
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
|
||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
|
||||
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -8269,7 +8269,7 @@
|
||||
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
||||
"support": {
|
||||
"issues": "https://github.com/theseer/tokenizer/issues",
|
||||
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
|
||||
"source": "https://github.com/theseer/tokenizer/tree/1.2.2"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -8277,7 +8277,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2021-07-28T10:34:58+00:00"
|
||||
"time": "2023-11-20T00:12:19+00:00"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
|
||||
BIN
public/images/d-logo.png
Fichier normal
BIN
public/images/d-logo.png
Fichier normal
Fichier binaire non affiché.
|
Après Largeur: | Hauteur: | Taille: 3.7 KiB |
@ -65,16 +65,21 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
||||
<td><strong>{{$d->id}}</strong></td>
|
||||
<td><strong>{{$d->category_name}}</strong></td>
|
||||
<td>
|
||||
@if($d->category_status==1){{__('Active')}} @else{{__('Inactive')}} @endif
|
||||
<span class="badge {{$d->category_status==1?"
|
||||
badge-success":"badge-danger"}}">@if($d->category_status==1){{__('Active')}}
|
||||
@else{{__('Inactive')}}@endif</span>
|
||||
</td>
|
||||
<td><img class="rounded" width="200" height="100"
|
||||
<td>
|
||||
<img class="rounded" width="200" height="100"
|
||||
src="{{asset('public/uploads/courseCategories/'.$d->category_image)}}"
|
||||
alt=""></td>
|
||||
alt="">
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{route('courseCategory.edit', $d->id)}}"
|
||||
class="btn btn-sm btn-primary"><i class="la la-pencil"></i></a>
|
||||
class="btn btn-sm btn-primary" title="Edit"><i
|
||||
class="la la-pencil"></i></a>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger"
|
||||
onclick="$('#form{{$d->id}}').submit()"><i
|
||||
title="Delete" onclick="$('#form{{$d->id}}').submit()"><i
|
||||
class="la la-trash-o"></i></a>
|
||||
<form id="form{{$d->id}}"
|
||||
action="{{route('courseCategory.destroy', $d->id)}}"
|
||||
@ -118,7 +123,8 @@ class="la la-trash-o"></i></a>
|
||||
<div class="card-body pt-2">
|
||||
<div class="text-center">
|
||||
<div class="profile-photo">
|
||||
<img src="{{asset('public/uploads/courseCategories/'.$d->category_image)}}" class="w-100" alt="">
|
||||
<img src="{{asset('public/uploads/courseCategories/'.$d->category_image)}}"
|
||||
class="w-100" alt="">
|
||||
</div>
|
||||
<h3 class="mt-4 mb-1">{{$d->category_name}}</h3>
|
||||
<ul class="list-group mb-3 list-group-flush">
|
||||
@ -126,12 +132,14 @@ class="la la-trash-o"></i></a>
|
||||
<span>#Sl.</span><strong>{{$d->id}}</strong>
|
||||
</li>
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span class="mb-0">Status.
|
||||
:</span><strong>@if($d->category_status==1){{__('Active')}} @else{{__('Inactive')}} @endif</strong>
|
||||
<span class="mb-0">Status:</span>
|
||||
<strong><span class="badge {{$d->category_status==1?"
|
||||
badge-success":"badge-danger"}}">@if($d->category_status==1){{__('Active')}}
|
||||
@else{{__('Inactive')}} @endif</span></strong>
|
||||
</li>
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span class="mb-0">Created At.
|
||||
:</span><strong>{{$d->created_at}}</strong>
|
||||
<span class="mb-0">Created At :</span>
|
||||
<strong>{{$d->created_at}}</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="btn btn-outline-primary btn-rounded mt-3 px-4"
|
||||
|
||||
@ -31,8 +31,8 @@
|
||||
<div class="nav-header">
|
||||
<a href="{{route('home')}}" class="brand-logo">
|
||||
<img class="logo-abbr" src="{{asset('public/images/logo-white.png')}}" alt="">
|
||||
<img class="logo-compact" src="{{asset('public/images/logo-text-white.png')}}" alt="">
|
||||
<span class="fw-bold fs-3"> eLEARNING </span>
|
||||
<img class="logo-compact" src="{{asset('public/images/d-logo.png')}}" alt="">
|
||||
<img class="brand-title" src="{{asset('public/images/d-logo.png')}}" alt="">
|
||||
</a>
|
||||
|
||||
<div class="nav-control">
|
||||
@ -136,7 +136,7 @@ class="ti-arrow-right"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item dropdown header-profile">
|
||||
<a class="nav-link" href="#" role="button" data-toggle="dropdown">
|
||||
<a class="nav-link" title="Profile Info" href="#" role="button" data-toggle="dropdown">
|
||||
<img src="{{asset('public/uploads/users/'.request()->session()->get('image'))}}"
|
||||
width="20" alt="">
|
||||
</a>
|
||||
|
||||
@ -63,11 +63,13 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
||||
<td>{{$d->identity}}</td>
|
||||
<td>
|
||||
<a href="{{route('role.edit', encryptor('encrypt',$d->id))}}"
|
||||
class="btn btn-sm btn-primary"><i class="la la-pencil"></i></a>
|
||||
class="btn btn-sm btn-primary" title="Edit"><i
|
||||
class="la la-pencil"></i></a>
|
||||
<a href="{{route('permission.list', encryptor('encrypt',$d->id))}}"
|
||||
class="btn btn-sm btn-primary"><i class="la la-unlock"></i></a>
|
||||
class="btn btn-sm btn-dark" title="Permissions"><i
|
||||
class="la la-unlock"></i></a>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger"
|
||||
onclick="$('#form{{$d->id}}').submit()"><i
|
||||
title="Delete" onclick="$('#form{{$d->id}}').submit()"><i
|
||||
class="la la-trash-o"></i></a>
|
||||
<form id="form{{$d->id}}"
|
||||
action="{{route('role.destroy', encryptor('encrypt',$d->id))}}"
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
<select class="form-control" name="roleId">
|
||||
@forelse ($role as $r)
|
||||
<option value="{{$r->id}}" {{old('roleId')==$r->id?'selected':''}}>
|
||||
{{$r->type}}</option>
|
||||
{{$r->name}}</option>
|
||||
@empty
|
||||
<option value="">No Role Found</option>
|
||||
@endforelse
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
@forelse ($role as $r)
|
||||
<option value="{{$r->id}}" {{old('roleId', $user->
|
||||
role_id)==$r->id?'selected':''}}>
|
||||
{{$r->type}}</option>
|
||||
{{$r->name}}</option>
|
||||
@empty
|
||||
<option value="">No Role Found</option>
|
||||
@endforelse
|
||||
|
||||
@ -54,6 +54,7 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
||||
<th>{{__('Email')}}</th>
|
||||
<th>{{__('Contact')}}</th>
|
||||
<th>{{__('Role')}}</th>
|
||||
<th>{{__('Full Access')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Action')}}</th>
|
||||
</tr>
|
||||
@ -67,12 +68,22 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
||||
<td>{{$d->email}}</td>
|
||||
<td>{{$d->contact_en}}</td>
|
||||
<td>{{$d->role?->name}}</td>
|
||||
<td>@if($d->status==1){{__('Active')}} @else{{__('Inactive')}} @endif
|
||||
<td>
|
||||
<span class="badge {{$d->full_access==1?"
|
||||
badge-info":"badge-warning"}}">@if($d->full_access==1){{__('Yes')}}
|
||||
@else{{__('No')}} @endif</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="badge {{$d->status==1?"
|
||||
badge-success":"badge-danger"}}">@if($d->status==1){{__('Active')}}
|
||||
@else{{__('Inactive')}} @endif</span>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{route('user.edit', encryptor('encrypt',$d->id))}}"
|
||||
class="btn btn-sm btn-primary"><i class="la la-pencil"></i></a>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger" onclick="$('#form{{$d->id}}').submit()"><i
|
||||
class="btn btn-sm btn-primary" title="Edit"><i
|
||||
class="la la-pencil"></i></a>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger"
|
||||
title="Delete" onclick="$('#form{{$d->id}}').submit()"><i
|
||||
class="la la-trash-o"></i></a>
|
||||
<form id="form{{$d->id}}"
|
||||
action="{{route('user.destroy', encryptor('encrypt',$d->id))}}"
|
||||
@ -120,21 +131,27 @@ class="la la-trash-o"></i></a>
|
||||
height="100" class="rounded-circle" alt="">
|
||||
</div>
|
||||
<h3 class="mt-4 mb-1">{{$d->name_en}}</h3>
|
||||
<p class="text-muted">{{$d->role?->type}}</p>
|
||||
<p class="text-muted">{{$d->role?->name}}</p>
|
||||
<ul class="list-group mb-3 list-group-flush">
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span>#Sl.</span><strong>{{$d->id}}</strong>
|
||||
<span>Phone No. :</span>
|
||||
<strong>{{$d->contact_en}}</strong>
|
||||
</li>
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span class="mb-0">Phone No.
|
||||
:</span><strong>{{$d->contact_en}}</strong>
|
||||
<span class="mb-0">Email :</span>
|
||||
<strong>{{$d->email}}</strong>
|
||||
</li>
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span class="mb-0">Email:</span><strong>{{$d->email}}</strong>
|
||||
<span class="mb-0">Status :</span>
|
||||
<span class="badge {{$d->status==1?"
|
||||
badge-success":"badge-danger"}}">@if($d->status==1){{__('Active')}}
|
||||
@else{{__('Inactive')}} @endif</span>
|
||||
</li>
|
||||
<li class="list-group-item px-0 d-flex justify-content-between">
|
||||
<span class="mb-0">Created At.
|
||||
:</span><strong>{{$d->created_at}}</strong>
|
||||
<span class="mb-0">Full Access :</span>
|
||||
<span class="badge {{$d->full_access==1?"
|
||||
badge-info":"badge-warning"}}">@if($d->full_access==1){{__('Yes')}}
|
||||
@else{{__('No')}} @endif</span>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="btn btn-outline-primary btn-rounded mt-3 px-4"
|
||||
|
||||
Chargement…
Référencer dans un nouveau ticket
Block a user