| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/injazaat/public_html/resources/views/admin/settings_managment/ |
Upload File : |
@extends('admin.adminlayouts.adminlayout')
@section('contant')
<!-- Page Wrapper -->
<div class="page-wrapper">
<div class="content container-fluid">
<!-- Page Header -->
<div class="page-header">
<div class="row align-items-center">
<div class="col">
<h3 class="page-title"><a href="{{route('show-settings')}}">Settings managment</a></h3>
</div>
<div class="col-auto">
<a href="{{route('add-settings')}}" class="btn btn-primary mr-1">
<i class="fas fa-plus"></i>
</a>
</div>
</div>
</div>
<!-- /Page Header -->
<div class="row">
<div class="col-sm-12">
<div class="card card-table">
<div class="card-body">
<div class="table-responsive">
<table class="table table-center table-hover link_datatable ">
<thead class="thead-light">
<tr>
<th>ID</th>
<th>key</th>
<th>value</th>
<th> Action</th>
</tr>
</thead>
<tbody>
@foreach ($setting as $setting)
<tr>
<td>{{$setting->id }}</td>
<td>{{$setting->key}}</td>
<td>{!! \Str::limit($setting->value,50) !!}</td>
<td class="text-right"> <a href="{{ route('edit-settings', $setting->id) }}" class="btn btn-sm btn-white text-success mr-2">
<i class="far fa-edit mr-1"></i> Edit</a>
<a href="{{route('delete-settings',$setting->id)}} " onclick="return confirm('Are you sure you want to delete this item?');" class="btn btn-sm btn-white text-danger mr-2"><i class="far fa-trash-alt mr-1"></i>Delete</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /Page Wrapper -->
</div>
<!-- /Main Wrapper -->
@endsection