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
/
form
/
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 Form</h3> </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">Form</li> </ol> </nav> </div> </div> </div> <!-- Minimal jQuery Datatable start --> <section class="section"> <div class="card"> <div class="card-header"> <form action="{{ route('form.form') }}" method="GET"> <label for="status">Pilih Status:</label> <select name="status" id="status" class="form-select" onchange="this.form.submit()"> <option value="registered" {{ $status == 'registered' ? 'selected' : '' }}>Registered</option> <option value="approved" {{ $status == 'approved' ? 'selected' : '' }}>Approved</option> <option value="completed" {{ $status == 'completed' ? 'selected' : '' }}>Completed</option> </select> </form> </div> <div class="card-body"> <div class="table-responsive"> <table class="table" id="table1" role="grid"> <thead> <tr> <th>Nama </th> <th>Address Installation</th> <th>Phone</th> <th>Package</th> <th>Action</th> </tr> </thead> <tbody> @foreach ($data as $data) <tr> <td>{{ $data->name }}</td> <td>{{ $data->installation_address }}</td> <td>{{ $data->phone }}</td> <td>{{ $data->plan }}</td> <td> @can('form_show') <a href="{{ route('forms.show', $data->id) }}" class="btn btn-primary d-inline custom-margin"> Detail </a> @endcan @can('form_edit') <a href="{{ route('forms.edit', $data->id) }}" class="btn btn-success d-inline custom-margin"> Edit </a> @endcan @can('form_delete') <form action="{{ route('forms.destroy', $data->id) }}" method="POST" class="d-inline"> @csrf @method('DELETE') <button class="btn btn-danger" onclick="return confirm('Are you sure you want to delete this?');"> Delete </button> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </section> <!-- Basic Tables end --> </div> @endsection @push('style') <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <style> /* Custom styles for text wrapping */ #table1 td { word-wrap: break-word; white-space: normal; max-width: 200px; } .custom-margin { margin-right: 10px; /* Menambahkan jarak di sebelah kanan tombol Edit */ } </style> @endpush
Simpan