This commit is contained in:
Kekskurse 2021-02-09 01:01:13 +01:00
parent d5bfe7b4cb
commit 1f6fd5d2d9
10 changed files with 91 additions and 36 deletions

View File

@ -1,43 +1,53 @@
@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 class="row" style="margin-top: 20px;">
<div class="col-md-12" style="margin-bottom: 10px;">
<h1>Themes</h1>
<p>With the Themes you can decide how your overview Page and your Gallery Page looks like.</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Tenant Overview</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
@foreach($themes as $theme)
<div class="card" style="max-width: 400px; float: left;margin-right: 20px;">
<img class="card-img-top" src="/s/theme/tenant/{{ $theme["name"] }}.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">{{ $theme["name"] }}</h5>
<a href="/s/theme/set?name={{ $theme->name }}" class="btn btn-primary">Activate</a>
<a href="/{{ $current_tenant->url }}?theme={{ $theme->name }}" target="_blank" class="btn btn-outline-primary">Preview</a>
</div>
</div>
@endforeach
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Gallery Overview</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
@foreach($gallery_themes as $theme)
<div class="card" style="max-width: 400px; float: left;margin-right: 20px;">
<img class="card-img-top" src="/s/theme/gallery/{{ $theme["name"] }}.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">{{ $theme["name"] }}</h5>
<a href="/s/theme/set?name={{ $theme->name }}" class="btn btn-primary">Activate</a>
@if(!is_null($gallery))
<a href="/{{ $current_tenant->url }}/{{ $gallery->url }}?theme={{ $theme->name }}" target="_blank" class="btn btn-outline-primary">Preview</a>
@endif
</div>
</div>
@endforeach
</div>
</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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,9 @@
{
"usesSize": {
"pixel": true,
"small": false,
"medium": false,
"big": true
},
"public": true
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,9 @@
{
"usesSize": {
"pixel": true,
"small": false,
"medium": false,
"big": true
},
"public": true
}

View File

@ -0,0 +1,9 @@
{
"usesSize": {
"pixel": false,
"small": false,
"medium": false,
"big": false
},
"public": false
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,9 @@
{
"usesSize": {
"pixel": false,
"small": false,
"medium": false,
"big": true
},
"public": true
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -0,0 +1,9 @@
{
"usesSize": {
"pixel": false,
"small": false,
"medium": true,
"big": false
},
"public": true
}