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

44 lines
1.4 KiB
PHP
Raw Normal View History

2021-01-27 00:11:16 +00:00
@extends('layout/template')
@section('content')
2021-01-27 00:47:07 +00:00
<div class="alert-warning alert" style="margin-top: 20px;">
This is just for functional testing, need to be redesign.
</div>
2021-01-27 00:38:17 +00:00
<h1>Themes Tenant</h1>
2021-01-27 00:11:16 +00:00
<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>
2021-01-27 00:38:17 +00:00
<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>
2021-01-27 00:11:16 +00:00
</tr>
@endforeach
</table>
@endsection