Merge branch 'module_blog' into dev

This commit is contained in:
Michal Kváček
2016-09-20 15:34:44 +02:00
64 changed files with 692 additions and 357 deletions
+6 -3
View File
@@ -14191,7 +14191,6 @@ img {
.timeline > li {
position: relative;
}
.timeline > li:before,
@@ -14204,7 +14203,6 @@ img {
clear: both;
}
.timeline > li > .timeline-panel {
width: 46%;
float: left;
@@ -14250,7 +14248,7 @@ img {
top: 26px;
left: 50%;
margin-left: -14px;
background-color: #ddd;
background-color: #DDD;
z-index: 100;
border-radius: 50%;
}
@@ -14349,6 +14347,7 @@ img {
.ace-editor-container {
position: relative;
}
.ace-editor {
position: absolute !important;
width: 100%;
@@ -14365,6 +14364,10 @@ img {
padding: .5em;
}
.header-block img {
margin-right: 10px;
}
.truncate {
width: 90%;
white-space: nowrap;
+1
View File
@@ -3,6 +3,7 @@ return [
'overview' => 'List of all files',
'upload' => 'Upload new file',
'edit' => 'Edit file :name',
'delete' => 'Delete',
'fileInfo' => 'Information',
'createdAt' => 'Uploaded',
'updatedAt' => 'Last change',
@@ -1,6 +1,6 @@
@extends('admin.layoutWithNavigation')
@section('pageHeading', @trans('admin/contents.overview'))
@section('pageHeading', @trans(isset($pageHeading) ? $pageHeading : 'admin/contents.overview'))
@section('headerButtons')
@if($module)
@@ -2,8 +2,8 @@
@section('pageHeading', @trans('admin/fileManager.edit', ['name' => $file->original_filename]))
@section('headerButtons')
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-danger btn-sm rounded" title="@lang('admin/fileManager.delete')">
<i class="fa fa-remove"></i>
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-danger btn-sm confirm rounded" title="@lang('admin/fileManager.delete')">
<i class="fa fa-trash"></i>
</a>
@endsection
@@ -9,12 +9,12 @@
<a href="{{route('upload.detail', ['id' => $file->id])}}">
{{str_limit($file->original_filename, 10)}}
</a>
</a>```
@if(!isset($hideDelete) || !$hideDelete)
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-sm btn-danger"
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-sm btn-danger confirm"
title="@lang('admin/fileManager.delete')">
<i class="fa fa-remove"></i>
<i class="fa fa-trash"></i>
</a>
@endif
</div>
@@ -38,7 +38,7 @@
@if (in_array($widget->id, $associatedWidgetIds))
<a href="{{route('widgets.deleteAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
class="button column confirm large-6 alert">
<i class="fa fa-remove"></i>
<i class="fa fa-trash"></i>
</a>
@else
<a href="{{route('widgets.makeAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
@@ -6,4 +6,16 @@
<hr>
{!! $page->content !!}
<form action="{{route('comments.new', ['id' => $page->id])}}" method="post">
{!! csrf_field() !!}
<input type="text" name="name">
<input type="email" name="email">
<textarea name="message" id="" cols="30" rows="10">
</textarea>
<input type="submit">
</form>
@endsection
@@ -0,0 +1 @@
{{dd($page)}}