Blame view

resources/views/partials/admin/content.blade.php 1.33 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  @stack('content_start')
  
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
      @stack('content_wrapper_start')
  
      <!-- Content Header (Page header) -->
      <section class="content-header content-center">
          @stack('content_header_start')
  
          <h1>
              @yield('title')
              @yield('new_button')
              @if (!empty($suggestion_modules))
                  @foreach($suggestion_modules as $s_module)
                      <span class="new-button">
                          <a href="{{ url($s_module->action_url) . '?' . http_build_query((array) $s_module->action_parameters) }}" class="btn btn-default btn-sm" target="{{ $s_module->action_target }}"><span class="fa fa-rocket"></span> &nbsp;{{ $s_module->name }}</a>
                      </span>
                  @endforeach
              @endif
          </h1>
  
          @stack('content_header_end')
      </section>
  
      <!-- Main content -->
      <section class="content content-center">
          @include('flash::message')
  
          @stack('content_content_start')
  
          @yield('content')
  
          @stack('content_content_end')
      </section>
      <!-- /.content -->
  
      @stack('content_wrapper_end')
  </div>
  <!-- /.content-wrapper -->
  
  <script type="text/javascript">
      $('div.alert').not('.alert-important').delay(3000).fadeOut(350);
  </script>
  
  @stack('content_end')