Gallery: Admin Icons on same line
This commit is contained in:
parent
30e0c77f84
commit
e85a45cb17
2 changed files with 316 additions and 10 deletions
|
|
@ -11,13 +11,13 @@
|
|||
<!-- <ul class="list-group offset-2 col-8" style="display:inline"> -->
|
||||
<ul class="list-group offset-2 col-8" style="display:flex; flex-direction: row;">
|
||||
@foreach($imagelist as $img_tpl) <!-- 0=filename, 1=displayname -->
|
||||
<label style="display:flex; flex-direction: column;">
|
||||
<a style="display: inline;" href="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}_gross.jpg" data-lightbox="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}_gross.jpg" data-title="{{$img_tpl[1]}}">
|
||||
<img class="mt-3 ml-3" src="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}.jpg">
|
||||
</a>
|
||||
|
||||
@if(Auth::user()->role=="ADMIN")
|
||||
<p>
|
||||
<label style="display:flex; flex-direction: column;">
|
||||
<a title="{{$img_tpl[1]}}" style="display: inline;" href="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}_gross.jpg" data-lightbox="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}_gross.jpg" data-title="{{$img_tpl[1]}}">
|
||||
<img class="mt-3 ml-3" src="/img_storage/tour-{{$tour_id}}/{{$img_tpl[0]}}.jpg">
|
||||
</a>
|
||||
|
||||
@if(Auth::user()->role=="ADMIN")
|
||||
<div>
|
||||
<a id="edit_{{$tour_id}}_{{$img_tpl[0]}}" href="#"
|
||||
onclick="document.getElementById('input_new_name_{{$tour_id}}_{{$img_tpl[0]}}').setAttribute('style','display: inline;');"
|
||||
><label style="display:inline;">🖊</label></a>
|
||||
|
|
@ -32,9 +32,9 @@
|
|||
|
||||
|
||||
<a href="/tour/gallery/{{$tour_id}}/delete_image/{{$img_tpl[0]}}.jpg" style="color:red;"><span data-toggle="tooltip" title="Löschen">X</a>
|
||||
</p>
|
||||
@endif
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
306
tools/motorradig_2023-11-19_163837.sql
Normal file
306
tools/motorradig_2023-11-19_163837.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue