]> BookStack Code Mirror - bookstack/blob - resources/views/base.blade.php
Fixed minor issue with large images again
[bookstack] / resources / views / base.blade.php
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>BookStack</title>
5     <meta name="viewport" content="width=device-width">
6     <link rel="stylesheet" href="/css/app.css">
7     <link href='//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300' rel='stylesheet' type='text/css'>
8     {{--<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">--}}
9     <link rel="stylesheet" href="/bower/material-design-iconic-font/dist/css/material-design-iconic-font.min.css">
10     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
11     <script src="/bower/bootstrap/dist/js/bootstrap.js"></script>
12     <script src="/bower/jquery-sortable/source/js/jquery-sortable.js"></script>
13     <script>
14         $.fn.smoothScrollTo = function() {
15             if(this.length === 0) return;
16             $('body').animate({
17                 scrollTop: this.offset().top - 60 // Adjust to change final scroll position top margin
18             }, 800); // Adjust to change animations speed (ms)
19             return this;
20         };
21         $.expr[":"].contains = $.expr.createPseudo(function(arg) {
22             return function( elem ) {
23                 return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
24             };
25         });
26     </script>
27     @yield('head')
28 </head>
29 <body>
30
31     <section id="sidebar">
32         <header>
33             <div class="padded row clearfix">
34                 <div class="col-md-12">
35                     {{--<div ><img class="logo float left" src="/bookstack.svg" alt="BookStack"></div>--}}
36                     <div class="logo">BookStack</div>
37                 </div>
38             </div>
39         </header>
40         <div class="search-box">
41             <form action="/pages/search/all" id="search-form" method="GET">
42                 <input type="text" placeholder="Search all pages..." name="term" id="search-input">
43             </form>
44         </div>
45         <ul class="menu">
46             <li><a href="/books"><i class="zmdi zmdi-book"></i>Books</a></li>
47         </ul>
48         @if(isset($book) && !isset($books))
49             <div class="book-tree">
50                 @include('pages/sidebar-tree-list', ['book' => $book])
51             </div>
52         @endif
53         @yield('sidebar')
54     </section>
55
56     <section id="content">
57         @yield('content')
58     </section>
59
60 @yield('bottom')
61 </body>
62 </html>