]> BookStack Code Mirror - bookstack/blob - resources/views/entities/watch-controls.blade.php
ab4af0f77243122a51feec468996e3d65a3a47c5
[bookstack] / resources / views / entities / watch-controls.blade.php
1 <form action="{{ $entity->getUrl('/') }}" method="GET">
2 {{--    {{ method_field('PUT') }}--}}
3
4     <ul class="dropdown-menu xl-limited anchor-left" style="display: block;">
5         <li>
6             <button name="level" value="default" class="icon-item">
7                 <span class="text-pos pt-m">{!!  request()->query('level') === 'default' ? icon('check-circle') : '' !!}</span>
8                 <div class="break-text">
9                     <div class="mb-xxs"><strong>Default Preferences</strong></div>
10                     <div class="text-muted text-small">
11                         Revert watching to just your default notification preferences.
12                     </div>
13                 </div>
14             </button>
15         </li>
16         <li><hr class="my-none"></li>
17         <li>
18             <button name="level" value="ignore" class="icon-item">
19                 <span class="text-pos pt-m">{!!  request()->query('level') === 'ignore' ? icon('check-circle') : '' !!}</span>
20                 <div class="break-text">
21                     <div class="mb-xxs"><strong>Ignore</strong></div>
22                     <div class="text-muted text-small">
23                         Ignore all notifications, including those from user-level preferences.
24                     </div>
25                 </div>
26             </button>
27         </li>
28         <li><hr class="my-none"></li>
29         <li>
30             <button name="level" value="new" class="icon-item">
31                 <span class="text-pos pt-m">{!!  request()->query('level') === 'new' ? icon('check-circle') : '' !!}</span>
32                 <div class="break-text">
33                     <div class="mb-xxs"><strong>New Pages</strong></div>
34                     <div class="text-muted text-small">
35                         Notify when any new page is created within this item.
36                     </div>
37                 </div>
38             </button>
39         </li>
40         <li><hr class="my-none"></li>
41         <li>
42             <button name="level" value="updates" class="icon-item">
43                 <span class="text-pos pt-m">{!!  request()->query('level') === 'updates' ? icon('check-circle') : '' !!}</span>
44                 <div class="break-text">
45                     <div class="mb-xxs"><strong>All Page Updates</strong></div>
46                     <div class="text-muted text-small">
47                         Notify upon all new pages and page changes.
48                     </div>
49                 </div>
50             </button>
51         </li>
52         <li><hr class="my-none"></li>
53         <li>
54             <button name="level" value="comments" class="icon-item">
55                 <span class="text-pos pt-m">{!!  request()->query('level') === 'comments' ? icon('check-circle') : '' !!}</span>
56                 <div class="break-text">
57                     <div class="mb-xxs"><strong>All Page Updates & Comments</strong></div>
58                     <div class="text-muted text-small">
59                         Notify upon all new pages, page changes and new comments.
60                     </div>
61                 </div>
62             </button>
63         </li>
64         <li><hr class="my-none"></li>
65         <li>
66             <div class="text-small text-muted px-l pb-xxs pt-xs">
67                 <a href="{{ url('/preferences/notifications') }}" target="_blank">Change default notification preferences</a>
68             </div>
69         </li>
70     </ul>
71 </form>