diff --git a/modules/StaticPages/Resources/views/admin/overview.blade.php b/modules/StaticPages/Resources/views/admin/overview.blade.php index 783c6e80..c38adb17 100644 --- a/modules/StaticPages/Resources/views/admin/overview.blade.php +++ b/modules/StaticPages/Resources/views/admin/overview.blade.php @@ -8,44 +8,48 @@
@forelse($pages as $page)
-
+
-
- + {{--
--}} + {{----}} - -
-
- -

{{$page->title}}

+

{{$page->title}}

{{$page->created_at}} {{$page->author_name}} - @if ($page->meta_description) -

{{str_limit($page->meta_description)}}

+

+ @if (trim($page->meta_description)) + {{str_limit($page->meta_description)}} @else -

{{str_limit(strip_tags($page->content))}}

+ {{str_limit(strip_tags($page->content))}} @endif +

@if ($page->meta_keywords)

{{$page->meta_keywords}}

@endif +

+ + + + + @if($page->status == \App\Models\Content::STATUS_DRAFT) + + @endif + + @if(in_array($page->status, [\App\Models\Content::STATUS_PROTECTED, \App\Models\Content::STATUS_PUBLIC])) + + @endif + + +

+
@empty diff --git a/resources/assets/css/admin.css b/resources/assets/css/admin.css index 50b8e40f..3983f666 100644 --- a/resources/assets/css/admin.css +++ b/resources/assets/css/admin.css @@ -34,6 +34,34 @@ list-style-type: none; } +#static-page-overview .page { + position: relative; + padding-bottom: 3em; +} + +#static-page-overview .page .controls { + position: absolute; + bottom: 0; +} + +#static-page-overview .page .controls .button { + margin-bottom: 10px; +} + +#static-page-overview .date, #static-page-overview .author { + font-size: 80%; + +} + +#static-page-overview .perex { + +} + +#static-page-overview .keywords { + margin-bottom: 0; + font-size: 80%; + background:red; +} .red { color: red;