]> BookStack Code Mirror - bookstack/blob - resources/views/pages/page-display.blade.php
Fixed some cross browser flexbox popup issues
[bookstack] / resources / views / pages / page-display.blade.php
1 <div ng-non-bindable>
2
3     <h1 id="bkmrk-page-title" class="float left">{{$page->name}}</h1>
4
5     @if(count($page->tags) > 0)
6         <div class="tag-display float right">
7             <table>
8                 <thead>
9                     <tr class="text-left heading primary-background-light">
10                         <th colspan="2">Page Tags</th>
11                     </tr>
12                 </thead>
13                 <tbody>
14                     @foreach($page->tags as $tag)
15                         <tr class="tag">
16                             <td @if(!$tag->value) colspan="2" @endif><a href="{{ baseUrl('/search/all?term=%5B' . urlencode($tag->name) .'%5D') }}">{{ $tag->name }}</a></td>
17                             @if($tag->value) <td class="tag-value"><a href="{{ baseUrl('/search/all?term=%5B' . urlencode($tag->name) .'%3D' . urlencode($tag->value) . '%5D') }}">{{$tag->value}}</a></td> @endif
18                         </tr>
19                     @endforeach
20                 </tbody>
21             </table>
22         </div>
23     @endif
24
25     <div style="clear:left;"></div>
26
27     {!! $page->html !!}
28 </div>