1 @extends('layouts.simple')
5 <div class="container small">
7 @include('settings.parts.navbar', ['selected' => 'webhooks'])
9 <div class="card content-wrap auto-height">
11 <div class="flex-container-row items-center justify-space-between wrap">
12 <h1 class="list-heading">{{ trans('settings.webhooks') }}</h1>
15 <a href="{{ url("/settings/webhooks/create") }}"
16 class="button outline">{{ trans('settings.webhooks_create') }}</a>
20 <p class="text-muted">{{ trans('settings.webhooks_index_desc') }}</p>
22 <div class="flex-container-row items-center justify-space-between gap-m mt-m mb-l wrap">
24 <div class="block inline mr-xs">
25 <form method="get" action="{{ url("/settings/webhooks") }}">
26 <input type="text" name="search" placeholder="{{ trans('common.search') }}" @if($listDetails['search']) value="{{$listDetails['search']}}" @endif>
30 <div class="justify-flex-end">
31 @include('common.sort', ['options' => [
32 'name' => trans('common.sort_name'),
33 'endpoint' => trans('settings.webhooks_endpoint'),
34 'created_at' => trans('common.sort_created_at'),
35 'updated_at' => trans('common.sort_updated_at'),
36 'active' => trans('common.status'),
37 ], 'order' => $listDetails['order'], 'sort' => $listDetails['sort'], 'type' => 'webhooks'])
41 @if(count($webhooks) > 0)
42 <div class="item-list">
43 @foreach($webhooks as $webhook)
44 @include('settings.webhooks.parts.webhooks-list-item', ['webhook' => $webhook])
48 <p class="text-muted empty-text px-none">
49 {{ trans('settings.webhooks_none_created') }}
54 {{ $webhooks->links() }}