Preview: index.blade.php
Size: 15.60 KB
//proc/thread-self/root/home/getspomw/itechservicellc.com/resources/views/admin/settingsold/index.blade.php
@extends('admin.includes.app')
@section('content')
<!--end header -->
<!--start page wrapper -->
<div class="page-wrapper">
<div class="page-content">
<div class="container">
<div class="card">
<div class="card-body flex flex-col p-6">
<header class="mb-5 items-center border-b border-slate-100 dark:border-slate-700 pb-5 -mx-6 px-6">
<div class="flex-1">
<div class="card-title text-slate-900 dark:text-white">Setting</div>
</div>
</header>
<div class="card-text h-full nav_tab_Dashboard">
<div>
<ul class="nav nav-tabs flex flex-col md:flex-row flex-wrap list-none border-b-0 pl-0 mb-4"
id="tabs-tab" role="tablist">
<li class="nav-item" role="presentation">
<a href="#tabs-profile"
class="nav-link w-full block font-medium text-sm font-Inter leading-tight capitalize border-x-0 border-t-0 border-b border-transparent px-4 pb-2 my-2 hover:border-transparent focus:border-transparent active dark:text-slate-300"
id="tabs-profile-tab" data-bs-toggle="pill" data-bs-target="#tabs-profile"
role="tab" aria-controls="tabs-profile" aria-selected="false">Contact
Details</a>
</li>
<li class="nav-item" role="presentation">
<a href="#tabs-settings"
class="nav-link w-full block font-medium text-sm font-Inter leading-tight capitalize border-x-0 border-t-0 border-b border-transparent px-4 pb-2 my-2 hover:border-transparent focus:border-transparent dark:text-slate-300"
id="tabs-settings-tab" data-bs-toggle="pill" data-bs-target="#tabs-settings"
role="tab" aria-controls="tabs-settings" aria-selected="false">Meta</a>
</li>
</ul>
<div class="tab-content" id="tabs-tabContent">
<div class="tab-pane fade" id="tabs-home" role="tabpanel"
aria-labelledby="tabs-home-tab">
<!--Header setting start here-->
<!--Header setting end here-->
</div>
<div class="tab-pane fade show active" id="tabs-profile" role="tabpanel"
aria-labelledby="tabs-profile-tab">
</div>
<div class="tab-pane fade" id="tabs-messages" role="tabpanel"
aria-labelledby="tabs-messages-tab">
</div>
<div class="tab-pane fade" id="tabs-settings" role="tabpanel"
aria-labelledby="tabs-settings-tab">
<div class="container">
<div class="row">
<form action="{{ route('settings.new_meta') }}" method="post">
@csrf
<div class="col-md-12 mt-3">
<div>
<label class="form-label" for="selectmeta">Select Meta Type
:</label>
<select name="metaselect" class="form-select" required
id="">
<option value="" selected>Select your meta type
</option>
<option value="description_">Description</option>
<option value="title_">Title</option>
<option value="keyword_">Keyword</option>
</select>
</div>
</div>
<div class="col-md-12 mt-2">
<div>
<label class="form-label" for="type">Name :</label>
<input class="form-control" type="text" name="type"
required>
</div>
</div>
<div class="col-md-12 mt-2">
<div>
<label class="form-label" for="value">Value To Display
:</label>
<input class="form-control" type="text" name="value"
required>
</div>
</div>
<div class="col-md-4 mt-3">
<button class="btn btn-success btn-sm mt-4 mb-3" type="submit">Add
Value</button>
</div>
</form>
</div>
</div>
<div class="container">
<ul class="nav nav-tabs mt-4 mb-5" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="home-tab" data-bs-toggle="tab"
data-bs-target="#home" type="button" role="tab"
aria-controls="home" aria-selected="true">Description</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab"
data-bs-target="#profile" type="button" role="tab"
aria-controls="profile" aria-selected="false">Keyword</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="contact-tab" data-bs-toggle="tab"
data-bs-target="#contact" type="button" role="tab"
aria-controls="contact" aria-selected="false">Title</button>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="home" role="tabpanel"
aria-labelledby="home-tab">
<table
class="table table-success table-bordered table-striped text-center mt-3">
<thead>
<tr>
<th>#</th>
<th>Meta Name</th>
<th>Meta Value</th>
<th>Action</th>
</tr>
</thead>
@foreach ($descriptionsettings as $description)
<tbody>
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $description->type }}</td>
<td>{{ $description->value }}</td>
<td><a href="{{ route('settings.edit_meta', ['id' => $description->id]) }}"
class="btn btn-primary btn-sm ">Edit</a>
{{-- <a href="{{ route('delete_setting_form', ['id' => $description->id])}}" class="btn btn-danger btn-sm ">Delete</a></td> --}}
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel"
aria-labelledby="profile-tab">
<table
class="table table-success table-bordered table-stripped text-center">
<thead>
<tr>
<th>#</th>
<th>Meta Name</th>
<th>Meta Value</th>
<th>Action</th>
</tr>
</thead>
@foreach ($keywordsettings as $keyword)
<tbody>
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $keyword->type }}</td>
<td>{{ $keyword->value }}</td>
<td><a href="{{ route('settings.edit_meta', ['id' => $keyword->id]) }}"
class="btn btn-primary btn-sm ">Edit</a>
{{-- <a href="{{ route('delete_setting_form', ['id' => $keyword->id])}}" class="btn btn-danger btn-sm ">Delete</a></td> --}}
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="tab-pane fade" id="contact" role="tabpanel"
aria-labelledby="contact-tab">
<table
class="table table-success table-bordered table-striped text-center">
<thead>
<tr>
<th>#</th>
<th>Meta Name</th>
<th>Meta Value</th>
<th>Action</th>
</tr>
</thead>
@foreach ($titlesettings as $title)
<tbody>
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $title->type }}</td>
<td>{{ $title->value }}</td>
<td><a href="{{ route('settings.edit_meta', ['id' => $title->id]) }}"
class="btn btn-primary btn-sm ">Edit</a>
{{-- <a href="{{ route('delete_setting_form', ['id' => $title->id])}}" class="btn btn-danger btn-sm ">Delete</a></td> --}}
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Displaying Existing Settings -->
</div>
</div>
</div>
<!--end page wrapper -->
<!--start overlay-->
<div class="overlay toggle-icon"></div>
<!--end overlay-->
<!--Start Back To Top Button-->
<a href="javaScript:;" class="back-to-top"><i class='bx bxs-up-arrow-alt'></i></a>
<!--End Back To Top Button-->
</div>
<!--end wrapper-->
@endsection
Directory Contents
Dirs: 0 × Files: 2