2021-12-07 09:55:11 -05:00
|
|
|
@extends('layouts.simple')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<div class="container small">
|
|
|
|
|
2022-03-26 17:36:05 -04:00
|
|
|
@include('settings.parts.navbar', ['selected' => 'webhooks'])
|
2021-12-07 09:55:11 -05:00
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
|
2022-10-30 08:02:06 -04:00
|
|
|
<div class="flex-container-row items-center justify-space-between wrap">
|
2021-12-07 09:55:11 -05:00
|
|
|
<h1 class="list-heading">{{ trans('settings.webhooks') }}</h1>
|
|
|
|
|
2022-10-30 08:02:06 -04:00
|
|
|
<div>
|
2021-12-08 12:35:58 -05:00
|
|
|
<a href="{{ url("/settings/webhooks/create") }}"
|
|
|
|
class="button outline">{{ trans('settings.webhooks_create') }}</a>
|
2021-12-07 09:55:11 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-10-30 08:02:06 -04:00
|
|
|
<p class="text-muted">{{ trans('settings.webhooks_index_desc') }}</p>
|
|
|
|
|
|
|
|
<div class="flex-container-row items-center justify-space-between gap-m mt-m mb-l wrap">
|
|
|
|
<div>
|
|
|
|
<div class="block inline mr-xs">
|
|
|
|
<form method="get" action="{{ url("/settings/webhooks") }}">
|
2022-10-30 11:16:06 -04:00
|
|
|
<input type="text"
|
|
|
|
name="search"
|
|
|
|
placeholder="{{ trans('common.search') }}"
|
|
|
|
value="{{ $listOptions->getSearch() }}">
|
2022-10-30 08:02:06 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="justify-flex-end">
|
2022-10-30 11:16:06 -04:00
|
|
|
@include('common.sort', $listOptions->getSortControlData())
|
2022-10-30 08:02:06 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-08 12:35:58 -05:00
|
|
|
|
2022-10-30 08:02:06 -04:00
|
|
|
@if(count($webhooks) > 0)
|
|
|
|
<div class="item-list">
|
2021-12-08 12:35:58 -05:00
|
|
|
@foreach($webhooks as $webhook)
|
2022-10-30 08:02:06 -04:00
|
|
|
@include('settings.webhooks.parts.webhooks-list-item', ['webhook' => $webhook])
|
2021-12-08 12:35:58 -05:00
|
|
|
@endforeach
|
2022-10-30 08:02:06 -04:00
|
|
|
</div>
|
2021-12-08 12:35:58 -05:00
|
|
|
@else
|
2021-12-12 12:39:06 -05:00
|
|
|
<p class="text-muted empty-text px-none">
|
|
|
|
{{ trans('settings.webhooks_none_created') }}
|
2021-12-08 12:35:58 -05:00
|
|
|
</p>
|
|
|
|
@endif
|
|
|
|
|
2022-10-30 08:02:06 -04:00
|
|
|
<div class="my-m">
|
|
|
|
{{ $webhooks->links() }}
|
|
|
|
</div>
|
2021-12-07 09:55:11 -05:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|