2024-10-20 21:19:07 +02:00
|
|
|
<x-page::setting-layout :active="$settingClass">
|
2024-10-24 23:05:12 +02:00
|
|
|
<x-slot:toolbar>
|
|
|
|
<x-ui::badge wire:click.prevent="$dispatch('openModal', {component: 'modules.mailgateway.components.form', props: {}, title: 'Verbindung erstellen'})" icon="plus">Neue Verbindung</x-ui::badge>
|
|
|
|
</x-slot:toolbar>
|
2024-10-20 21:19:07 +02:00
|
|
|
<div>
|
|
|
|
<x-ui::table>
|
|
|
|
<thead>
|
|
|
|
<th>Bezeichnung</th>
|
|
|
|
<th>Domain</th>
|
|
|
|
<th>Typ</th>
|
|
|
|
<th>Prüfung</th>
|
|
|
|
<th>Aktion</th>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
|
|
@foreach ($data as $index => $gateway)
|
|
|
|
<tr wire:key="$index">
|
|
|
|
<td>{{ $gateway->name }}</td>
|
|
|
|
<td>{{ $gateway->domain }}</td>
|
|
|
|
<td>{{ $gateway->type::name() }}</td>
|
|
|
|
<td>
|
|
|
|
<x-ui::boolean-display :value="$gateway->type->works()"
|
|
|
|
hint="Verbindungsstatus"
|
|
|
|
right="Verbindung erfolgreich"
|
|
|
|
wrong="Verbindung fehlgeschlagen"
|
|
|
|
></x-ui::boolean-display>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<x-ui::action wire:click="$dispatch('openModal', {
|
|
|
|
component: 'modules.mailgateway.components.form',
|
2024-10-20 22:02:43 +02:00
|
|
|
props: {id: '{{$gateway->id}}'},
|
2024-10-20 21:19:07 +02:00
|
|
|
title: 'Verbindung {{$gateway->name}} bearbeiten'}
|
|
|
|
)" icon="pencil" variant="warning">Bearbeiten</x-ui::action>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</x-ui::table>
|
|
|
|
</div>
|
|
|
|
</x-page::setting-layout>
|