@extends('dashboard.layout') @section('title', 'Keywords') @section('meta_description', 'Browse, search, create and edit scraping keywords.') @section('page_title', 'Keywords') @section('content') {{-- Flash messages --}} @if(session('success'))
{{ session('success') }}
@endif {{-- ══════════════════════════════════════ PAGE HEADER ═══════════════════════════════════════ --}}

Keywords

{{ number_format($keywords->total()) }} records @if($filters['search']) — filtered @endif

New Keyword
{{-- ══════════════════════════════════════ SEARCH BAR ═══════════════════════════════════════ --}}
@if($filters['search']) Clear @endif
{{-- ══════════════════════════════════════ TABLE ═══════════════════════════════════════ --}}
@if($keywords->isEmpty())

No keywords found

@if($filters['search']) Try a different search term, or create one. @else Create your first keyword. @endif

@else
@foreach($keywords as $kw) @endforeach
# Keyword Parent Updated Actions
{{ $kw->id }} {{ $kw->keyword }} @if($kw->parent_keyword) {{ $kw->parent_keyword }} @else Top-level @endif {{ \Carbon\Carbon::parse($kw->updated_at)->diffForHumans() }}
@csrf @method('DELETE')
{{-- Pagination --}} @if($keywords->hasPages())

Showing {{ $keywords->firstItem() }}–{{ $keywords->lastItem() }} of {{ number_format($keywords->total()) }}

{{ $keywords->links() }}
@endif @endif
@endsection