]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/export.blade.php
Updated attachment links to have dropdown for open type
[bookstack] / resources / views / pages / export.blade.php
index 96f06290e30272b8407924eb0259aff5c3c8c81a..d2f448d6e889bd430f3ce53852530d8411c2945c 100644 (file)
@@ -1,33 +1,13 @@
-<!doctype html>
-<html lang="en">
-<head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-    <title>{{ $page->name }}</title>
+@extends('layouts.export')
 
-    <style>
-        {!! $css !!}
-    </style>
-    @yield('head')
-</head>
-<body>
-<div class="container" id="page-show">
-    <div class="row">
-        <div class="col-md-8 col-md-offset-2">
-            <div class="page-content">
+@section('title', $page->name)
 
-                @include('pages/page-display')
+@section('content')
+    @include('pages.parts.page-display')
 
-                <hr>
+    <hr>
 
-                <p class="text-muted small">
-                    Created {{$page->created_at->toDayDateTimeString()}} @if($page->createdBy) by {{$page->createdBy->name}} @endif
-                    <br>
-                    Last Updated {{$page->updated_at->toDayDateTimeString()}} @if($page->updatedBy) by {{$page->updatedBy->name}} @endif
-                </p>
-
-            </div>
-        </div>
+    <div class="text-muted text-small">
+        @include('entities.export-meta', ['entity' => $page])
     </div>
-</div>
-</body>
-</html>
+@endsection
\ No newline at end of file