add publish module

This commit is contained in:
Arno Kaimbacher 2018-08-29 17:18:15 +02:00
parent 100f6db9a6
commit ffbbc04206
93 changed files with 8150 additions and 10228 deletions

View file

@ -2,43 +2,43 @@
@section('content')
<h1 class="title">Documents</h1>
<h1 class="title">Documents</h1>
<br><br>
<br><br>
<table class="pure-table pure-table-horizontal">
<table class="pure-table pure-table-horizontal">
<thead>
<th>id</th>
<th>document type</th>
<!-- <th>Category</th>
<th>Shelf</th> -->
<thead>
<th>id</th>
<th>document type</th>
<!-- <th>Category</th>
<th>Shelf</th> -->
</thead>
</thead>
<tbody>
@foreach($documents as $document)
<tr>
<td>{{ $document->id }}</td>
<td>{{ $document->type }}</td>
<!-- <td>
if($book->stock > 0)
Available
elseif($book->stock == 0)
-
endif
</td> -->
</tr>
<tbody>
@foreach($documents as $document)
<tr>
<td>{{ $document->id }}</td>
<td>{{ $document->type }}</td>
<!-- <td>
if($book->stock > 0)
Available
elseif($book->stock == 0)
-
endif
</td> -->
</tr>
@endforeach
@endforeach
</tbody>
</table>
</tbody>
</table>
@stop

View file

@ -1,60 +0,0 @@
@extends('layouts.app')
@section('content')
<h1 class="title">Collections</h1>
<div class="col-md-8">
<a href="{{ route('settings.project.add') }}" class="pure-button button-small is-primary">
<i class="fa fa-plus-circle"></i>ADD NEW COLLECTION
</a>
<br><br>
<table class="pure-table pure-table-horizontal">
<thead>
<th>Collection</th>
<th>id</th>
<th>Document id's</th>
<th>Options</th>
</thead>
<tbody>
@foreach($collections as $collection)
<tr>
<td>{{ $collection->name }}</td>
<td>{{ $collection->id }}</td>
<td>
@foreach ($collection->documents as $document)
<p>document id: {{ $document->id }}</p>
@endforeach
</td>
<td>
<a class="edit" href="{{ route('settings.collection.edit', $collection->id) }}"><span aria-hidden="true"></span></a>
<a class="delete" href="{{ route('settings.collection.delete', $collection->id) }}"><span aria-hidden="true"></span></a>
</td>
</td>
</tr>
@endforeach
</tbody>
</table>
<div class="pure-u-1">
{{ $collections->links('vendor.pagination.default') }}
</div>
</div>
@stop

View file

@ -16,7 +16,7 @@
<div class="pure-control-group">
<label for="data-en-key-home_index_imprint_title" class="optional">Titel auf der Seite</label>
<input name="data[de][key][home_index_imprint_title]" id="data-de-key-home_index_imprint_title" value="Impressum nach §5 Telemediengesetz" class="pure-input-1" type="text">
<input name="data[de][key][home_index_imprint_title]" id="data-de-key-home_index_imprint_title" value="Impressum nach <EFBFBD>5 Telemediengesetz" class="pure-input-1" type="text">
</div>
</fieldset>