From 757f16a3b5aa4763c00118f3d7a7284492a84a6a Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 21 Aug 2016 13:35:22 +0100 Subject: [PATCH] Improved page tag box structure and fixed footer in PDF export. Fixes #162. --- resources/assets/sass/_pages.scss | 12 +++--------- resources/views/pages/page-display.blade.php | 18 ++++++++++++------ resources/views/pages/pdf.blade.php | 17 ++++++++++++++--- 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/resources/assets/sass/_pages.scss b/resources/assets/sass/_pages.scss index d70e0cb3c..03faef344 100644 --- a/resources/assets/sass/_pages.scss +++ b/resources/assets/sass/_pages.scss @@ -250,13 +250,10 @@ margin: 0; padding: 0; } - span { - color: #666; - margin-left: $-s; - } - .heading { + .heading th { padding: $-xs $-s; - color: #444; + color: #333; + font-weight: 400; } td { border: 0; @@ -267,9 +264,6 @@ .tag-value { color: #888; } - td i { - color: #888; - } tr:last-child td { border-bottom: none; } diff --git a/resources/views/pages/page-display.blade.php b/resources/views/pages/page-display.blade.php index 11bcddcfc..2ddd4e0d8 100644 --- a/resources/views/pages/page-display.blade.php +++ b/resources/views/pages/page-display.blade.php @@ -4,14 +4,20 @@ @if(count($page->tags) > 0)
-
Page Tags
- @foreach($page->tags as $tag) - - - @if($tag->value) @endif + + + - @endforeach + + + @foreach($page->tags as $tag) + + + @if($tag->value) @endif + + @endforeach +
value) colspan="2" @endif>{{ $tag->name }}{{$tag->value}}
Page Tags
value) colspan="2" @endif>{{ $tag->name }}{{$tag->value}}
@endif diff --git a/resources/views/pages/pdf.blade.php b/resources/views/pages/pdf.blade.php index 3a376334d..0cbf4df02 100644 --- a/resources/views/pages/pdf.blade.php +++ b/resources/views/pages/pdf.blade.php @@ -3,12 +3,12 @@ @section('head') @stop \ No newline at end of file