kuvia/resources/views/tenant/theme.blade.php
2021-01-27 01:38:17 +01:00

40 lines
1.2 KiB
PHP

@extends('layout/template')
@section('content')
<h1>Themes Tenant</h1>
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Vorschau</th>
<th>Action</th>
</tr>
@foreach($themes as $theme)
<tr>
<td>{{ $theme->name }}</td>
<td><a target="_blank" href="/{{ $current_tenant->url }}?theme={{ $theme->name }}">Vorschau</a></td>
<td><a href="/s/theme/set?name={{ $theme->name }}">Auswählen</a></td>
</tr>
@endforeach
</table>
<h1>Themes Gallery</h1>
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Vorschau</th>
<th>Action</th>
</tr>
@foreach($gallery_themes as $theme)
<tr>
<td>{{ $theme->name }}</td>
<td>
@if(!is_null($gallery))
<a target="_blank" href="/{{ $current_tenant->url }}/{{ $gallery->url }}?theme={{ $theme->name }}">Vorschau</a>
@endif
</td>
<td><a href="/s/theme/set-gallery?name={{ $theme->name }}">Auswählen</a></td>
</tr>
@endforeach
</table>
@endsection