kuvia/resources/views/tenant/theme.blade.php

44 lines
1.4 KiB
PHP

@extends('layout/template')
@section('content')
<div class="alert-warning alert" style="margin-top: 20px;">
This is just for functional testing, need to be redesign.
</div>
<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