{{-- |-------------------------------------------------------------------------- * _ _ __ _ _ _ __ * | | ___ ___ __| | ___| _| | ___ __| | ___ _ __| |__ ___ __|_ | * / __)/ __/ _ \ / _` |/ _ \ || | / _ \/ _` |/ _ \ '__| '_ \ / _ \/ __| | * \__ \ (_| (_) | (_| | __/ || |__| __/ (_| | __/ | | | | | (_) \__ \ | * ( /\___\___/ \__,_|\___| ||_____\___|\__,_|\___|_| |_| |_|\___/|___/ | * |_| |__| |__| * ? @created: 2023-06-18 ? @modified: 2023-06-18 @version: 1.0 @project: Okis 3.0 ? @author: Code[Lederhos] ? Stanislaw Lederhos ? mail@code-lederhos.de * $debugPicasso = [ 0 => 'Crafting a masterpiece out of chaos', * 1 => 'the art of flawless functionality' ]; @description: [A BRIEF DESCRIPTION OF THE PROJECT OR FILE] ---------------------------------------------------------------------------- Changelog: ========== * [VERSION]| (YYYY-MM-DD) | [DESCRIPTION OF CHANGES] 1.0 | 2023-06-18 | Initial version / Bugfixing ---------------------------------------------------------------------------- --}} @extends('layouts.main') @section('title', 'Okis 3.0 | Rechte und Gruppen') @section('content')
@method('PUT') @csrf

Rechte- und Gruppenverwaltung

{{-- Neues Example --}}
@includeIf('_filter', $model = $user_model)
@includeIf('flash_message', ['alert_type' => 'user']) {{-- --}} {{-- ajax loader --}}
ajax loader
@include('rights_and_groups.' .'_users')
ID Name Email Rechte GruppeAktionen
{{ $users_counter > 1 ? $users_counter .' Einträge' : $users_counter .' Eintrag'}}
{{--
@method('PUT') @csrf --}}
@includeIf('layouts.components.card_header', [ 'title' => 'Rechte', 'modal_id' => 'new_right_modal', 'btn_text' => 'Recht erstellen' ])
@includeIf('flash_message', ['alert_type' => 'right']) @includeIf('layouts.components.ajax_loader') @include('rights_and_groups.' .'_rights')
ID @sortablelink('id', 'ID' ) @sortablelink('name', 'Name' ) @sortablelink('description', 'Beschreibung' ) Aktionen
{{ $rights->count() > 1 ? $rights->count() .' Einträge' : $rights->count() .' Eintrag'}}
{{--
--}} {{--
@method('PUT') @csrf --}}
@includeIf('layouts.components.card_header', [ 'title' => 'Gruppen / Abteilungen', 'modal_id' => 'new_group_modal', 'btn_text' => 'Gruppe erstellen' ])
@includeIf('flash_message', ['alert_type' => 'group']) {{-- --}} @includeIf('layouts.components.ajax_loader') @include('rights_and_groups.' .'_groups')
ID ID NameBeschreibungAktionen
{{ $groups->count() > 1 ? $groups->count() .' Einträge' : $groups->count() .' Eintrag'}}
{{--
--}}
{{-- --}} @endsection @section('modal') @php $model = new App\Models\Right; @endphp
@csrf
@php $model = new App\Models\Group; @endphp
@csrf
@endsection