This commit is contained in:
Kekskurse 2021-01-28 12:31:42 +01:00
parent 3e3cb4c060
commit a0f1570bbb
3 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,9 @@
@section('content')
<div class="row"style="margin-top: 20px;">
<div class="col-md-12">
<a class="btn btn-outline-success" style="float:right;" href="/g/{{$gallery->url}}/upload">Upload Images</a>
<a class="btn btn-outline-primary" style="float:right;" href="/g/{{$gallery->url}}/upload">Upload Images</a>
<a class="btn btn-outline-primary" style="float:right;margin-right: 10px;" href="/g/{{$gallery->url}}/edit">Edit</a>
<h1>Images</h1>
</div>
</div>

View File

@ -3,7 +3,7 @@
@section('content')
<div class="row" style="margin-top: 20px;">
<div class="col-md-12" style="margin-bottom: 10px;">
<a href="/g/new" class="btn btn-outline-success" style="float: right;">New Gallery</a>
<a href="/g/new" class="btn btn-outline-primary" style="float: right;">New Gallery</a>
<h1>Gallery</h1>
</div>
<div style="clear: both; margin-bottom: 10px;"></div>
@ -30,13 +30,14 @@
<td class="d-none d-sm-table-cell">{{ $gallery->name }}</td>
<td class="d-none d-lg-table-cell">{{ $gallery->gallery_create_time }}</td>
<td>
<div class="dropdown">
<div class="dropdown" style="float: right;">
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Actions
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="/g/{{$gallery->url}}">Bilder</a>
<a class="dropdown-item" href="/g/{{$gallery->url}}/edit">Bearbeiten</a>
<div role="separator" class="dropdown-divider"></div>
<a class="dropdown-item" target="_blank" href="/{{ $tenant->url }}/{{$gallery->url}}">Anschauen</a>
</div>
</div>

View File

@ -41,7 +41,7 @@
</div>
</div>
<input type="submit" class="btn btn-outline-success" value="Save" style="margin-top: 10px;">
</div>
<div class="col-md-3">
@ -63,7 +63,11 @@
<textarea class="form-control" name="tags" rows="3" placeholder="Tags">{{ old('tags') ?? $tags }}</textarea>
</div>
<div style="margin-top: 10px;">
<a href="/{{ $current_tenant->url }}/{{ $gallery->url }}/" class="btn btn-outline-primary" style="width: 100%">View Gallery</a>
@if (!empty($gallery->url))
<a href="/{{ $current_tenant->url }}/{{ $gallery->url }}/" class="btn btn-outline-primary" style="width: 48%">View Gallery</a>
<a href="/g/{{$gallery->url}}" class="btn btn-outline-primary" style="width: 48%;float: right;">Edit Images</a>
@endif
<input type="submit" class="btn btn-outline-success" value="Save" style="margin-top: 10px; width: 100%;">
</div>
</div>
</div>