]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/pdf.blade.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / views / pages / pdf.blade.php
index 73cf131bcf5a0946d7ea985ed8340f9bdac06826..0cbf4df02a32ec16f7ee99f00e4730236a034ec1 100644 (file)
@@ -1,32 +1,41 @@
-<!doctype html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>{{ $page->name }}</title>
+@extends('pages/export')
 
+@section('head')
     <style>
-        {!! $css !!}
+        body {
+            font-size: 14px;
+            line-height: 1.2;
+        }
+
+        h1, h2, h3, h4, h5, h6 {
+            line-height: 1.2;
+        }
+
+        table {
+            max-width: 800px !important;
+            font-size: 0.8em;
+            width: auto !important;
+        }
+
+        table td {
+            width: auto !important;
+        }
+
+        .page-content .float {
+            float: none !important;
+        }
+
+        .page-content img.align-left, .page-content img.align-right  {
+            float: none !important;
+            clear: both;
+            display: block;
+        }
+
+        .tag-display {
+            min-width: 0;
+            max-width: none;
+            display: none;
+        }
+
     </style>
-</head>
-<body>
-<div class="container" id="page-show" ng-non-bindable>
-    <div class="row">
-        <div class="col-md-8 col-md-offset-2">
-            <div class="page-content">
-
-                @include('pages/page-display')
-
-                <hr>
-
-                <p class="text-muted small">
-                    Created {{$page->created_at->diffForHumans()}} @if($page->createdBy) by {{$page->createdBy->name}} @endif
-                    <br>
-                    Last Updated {{$page->updated_at->diffForHumans()}} @if($page->updatedBy) by {{$page->updatedBy->name}} @endif
-                </p>
-
-            </div>
-        </div>
-    </div>
-</div>
-</body>
-</html>
+@stop
\ No newline at end of file