]> BookStack Code Mirror - bookstack/blob - resources/views/base.blade.php
47c4a13d39bda76380044e5f7af5dedb02d5c3c7
[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='http://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     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
10     <script src="/bower/bootstrap/dist/js/bootstrap.js"></script>
11     <script src="/bower/jquery-sortable/source/js/jquery-sortable.js"></script>
12     <script>
13         $.fn.smoothScrollTo = function() {
14             if(this.length === 0) return;
15             $('body').animate({
16                 scrollTop: this.offset().top - 60 // Adjust to change final scroll position top margin
17             }, 800); // Adjust to change animations speed (ms)
18             return this;
19         };
20         $.expr[":"].contains = $.expr.createPseudo(function(arg) {
21             return function( elem ) {
22                 return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
23             };
24         });
25     </script>
26     @yield('head')
27 </head>
28 <body>
29
30     <section id="sidebar">
31         <header>
32             <div class="padded row clearfix">
33                 <div class="col-md-12">
34                     {{--<div ><img class="logo float left" src="/bookstack.svg" alt="BookStack"></div>--}}
35                     <div class="logo">BookStack</div>
36                 </div>
37             </div>
38         </header>
39         <div class="search-box">
40             <form action="/pages/search/all" id="search-form" method="GET">
41                 <input type="text" placeholder="Search all pages..." name="term" id="search-input">
42             </form>
43         </div>
44         <ul class="menu">
45             <li><a href="/books"><i class="fa fa-book"></i>Books</a></li>
46         </ul>
47         @yield('sidebar')
48     </section>
49
50     <section id="content">
51         @yield('content')
52     </section>
53
54 @yield('bottom')
55 </body>
56 </html>