Mobile
This commit is contained in:
parent
e9bd3f0273
commit
3e3cb4c060
3 changed files with 16 additions and 8 deletions
|
@ -1,7 +1,13 @@
|
|||
@extends('layout/template')
|
||||
|
||||
@section('content')
|
||||
<div class="row" style="margin-top: 20px;">
|
||||
<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>
|
||||
<h1>Images</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 10px;" >
|
||||
<div class="col-md-12">
|
||||
@foreach($images as $image)
|
||||
<div class="card col-md-2 editImage" data-name="{{ $image->name }}" data-description="{{ $image->description }}" data-rating="{{ $image->rating }}" x-id="{{ $image->id }}" x-name="{{ $image->filename }}" x-image-url="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=medium" style="float:left;cursor: pointer;" >
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
<div class="col-md-12">
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th class="d-none d-lg-table-cell">#</th>
|
||||
<th>Preview</th>
|
||||
<th>Name</th>
|
||||
<th>Create Date</th>
|
||||
<th class="d-none d-sm-table-cell">Name</th>
|
||||
<th class="d-none d-lg-table-cell">Create Date</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@foreach($galleries as $gallery)
|
||||
<tr>
|
||||
<td>{{ $gallery->id }}</td>
|
||||
<td class="d-none d-lg-table-cell">{{ $gallery->id }}</td>
|
||||
<td style="padding-top:5px;padding-bottom: 5px;">
|
||||
@if($gallery->main_image == null)
|
||||
<img src="/images/lens-3114729_1920.jpg" height="87px;">
|
||||
|
@ -27,15 +27,14 @@
|
|||
@endif
|
||||
|
||||
</td>
|
||||
<td>{{ $gallery->name }}</td>
|
||||
<td>{{ $gallery->gallery_create_time }}</td>
|
||||
<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">
|
||||
<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}}/upload">Upload Images</a>
|
||||
<a class="dropdown-item" href="/g/{{$gallery->url}}">Bilder</a>
|
||||
<a class="dropdown-item" href="/g/{{$gallery->url}}/edit">Bearbeiten</a>
|
||||
<a class="dropdown-item" target="_blank" href="/{{ $tenant->url }}/{{$gallery->url}}">Anschauen</a>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
@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>Images</h1>
|
||||
<p>Add Images to your gallery</p>
|
||||
<div class="col-md-12">
|
||||
|
|
Loading…
Reference in a new issue