]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/pdf.blade.php
Added plaintext & basic PDF page Export
[bookstack] / resources / views / pages / pdf.blade.php
index 73cf131bcf5a0946d7ea985ed8340f9bdac06826..1077c093164d14e47dd3dbbd2bb627265db31cef 100644 (file)
@@ -1,32 +1,24 @@
-<!doctype html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>{{ $page->name }}</title>
+@extends('pages/export')
 
+@section('head')
     <style>
-        {!! $css !!}
-    </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')
+        body {
+            font-size: 15px;
+            line-height: 1;
+        }
 
-                <hr>
+        h1, h2, h3, h4, h5, h6 {
+            line-height: 1;
+        }
 
-                <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>
+        table {
+            max-width: 800px !important;
+            font-size: 0.8em;
+            width: auto !important;
+        }
 
-            </div>
-        </div>
-    </div>
-</div>
-</body>
-</html>
+        table td {
+            width: auto !important;
+        }
+    </style>
+@stop
\ No newline at end of file