@extends('admin.layout') @section('title','Şablonlar') @section('content')

Şablonlar

Kateqoriyalar

@csrf
@foreach($categories as $cat)
{{ $cat->name }}
@csrf @method('DELETE')
@endforeach

Teqlər

@csrf
@foreach($tags as $tag){{ $tag->name }}
@csrf @method('DELETE')
@endforeach

Yeni şablon yüklə

@csrf
@foreach($tags as $tag)@endforeach
@foreach(['tünd'=>'#0f172a','açıq'=>'#f1f5f9','göy'=>'#3b82f6','yaşıl'=>'#22c55e','qırmızı'=>'#ef4444','sarı'=>'#eab308','bənövşəyi'=>'#8b5cf6','narıncı'=>'#f97316','qara'=>'#000000','ağ'=>'#ffffff','boz'=>'#9ca3af','qəhvəyi'=>'#78350f'] as $color=>$hex)@endforeach
@foreach($templates as $tpl) @endforeach
Ön baxışAdNövTarifKateqoriyaStatus
@if($tpl->thumbnail)@endif {{$tpl->name}} @php $types=['mini_site'=>'Mini-səhifə','default'=>'Bio-link','menu'=>'QR-Menyu','shop'=>'Mağaza','all'=>'Hamısı']; @endphp {{$types[$tpl->target_page_type]??$tpl->target_page_type}} {{$tpl->plan->name??'—'}} {{$tpl->category??'—'}}
@csrf @method('PUT')
@csrf @method('DELETE')
@endsection