One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
Compro-ISP
/
resources
/
views
/
v
/
role
/
Edit File:
index.blade.php
@extends('layouts.dashboard') @section('content') <div class="page-heading"> <div class="page-title"> <div class="row"> <div class="col-12 col-md-6 order-md-1 order-last"> <h3>Menu Hak Akses</h3> <p class="text-subtitle text-muted"></p> </div> <div class="col-12 col-md-6 order-md-2 order-first"> <nav aria-label="breadcrumb" class="breadcrumb-header float-start float-lg-end"> <ol class="breadcrumb"> <li class="breadcrumb-item active" aria-current="page">Hak Akses</li> </ol> </nav> </div> </div> </div> <section class="section"> <div class="card"> <div class="card-header"> <div class="button"> @can('role-create') <a href="{{ route('role.create') }}" class="btn btn-primary">Tambah Data</a> @endcan </div> </div> <div class="card-body table-responsive"> <table class="table table-striped" id="table1"> <thead> <tr> <th>no</th> <th>Nama</th> {{-- <th>Action</th> --}} <th>Action</th> </tr> </thead> <tbody> @foreach ($roles as $index => $role) <tr> <td>{{ $index + 1 }}</td> <td> <span class="badge bg-primary">{{ $role->name }}</span></td> <td> @can('role-show') <a href="{{ route('role.show', $role->id) }}" class="btn btn-info d-inline">Detail</a> @endcan @can('role-edit') <a href="{{ route('role.edit', $role->id) }}" class="btn btn-success d-inline">Edit</a> @endcan @can('role-delete') <form action="{{ route('role.destroy', $role->id) }}" method="POST" class="d-inline"> @csrf @method('DELETE') <button class="btn btn-danger"> Delete </button> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </section> </div> @endsection
Simpan