1 | <!DOCTYPE html> |
||
2 | <html> |
||
3 | <head> |
||
4 | <meta charset="UTF-8"> |
||
5 | <title>{{ ($page_title)?Session::get('appname').': '.strip_tags($page_title):"Admin Area" }}</title> |
||
6 | <meta name="csrf-token" content="{{ csrf_token() }}"/> |
||
7 | <meta name='generator' content='CRUDBooster 5.4.6'/> |
||
8 | <meta name='robots' content='noindex,nofollow'/> |
||
9 | <link rel="shortcut icon" |
||
10 | href="{{ CRUDBooster::getSetting('favicon')?asset(CRUDBooster::getSetting('favicon')):asset('vendor/crudbooster/assets/logo_crudbooster.png') }}"> |
||
11 | <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> |
||
12 | <!-- Bootstrap 3.4.1 --> |
||
13 | <link href="{{ asset("vendor/crudbooster/assets/adminlte/bootstrap/css/bootstrap.min.css") }}" rel="stylesheet" type="text/css"/> |
||
14 | <!-- Font Awesome Icons --> |
||
15 | <link href="{{asset("vendor/crudbooster/assets/adminlte/font-awesome/css")}}/font-awesome.min.css" rel="stylesheet" type="text/css"/> |
||
16 | <!-- Ionicons --> |
||
17 | <link href="{{asset("vendor/crudbooster/ionic/css/ionicons.min.css")}}" rel="stylesheet" type="text/css"/> |
||
18 | <!-- Theme style --> |
||
19 | <link href="{{ asset("vendor/crudbooster/assets/adminlte/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css"/> |
||
20 | <link href="{{ asset("vendor/crudbooster/assets/adminlte/dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css"/> |
||
21 | |||
22 | <!-- support rtl--> |
||
23 | @if (in_array(App::getLocale(), ['ar', 'fa'])) |
||
24 | <link rel="stylesheet" href="//cdn.rawgit.com/morteza/bootstrap-rtl/v3.3.4/dist/css/bootstrap-rtl.min.css"> |
||
25 | <link href="{{ asset("vendor/crudbooster/assets/rtl.css")}}" rel="stylesheet" type="text/css"/> |
||
26 | @endif |
||
27 | |||
28 | <link rel='stylesheet' href='{{asset("vendor/crudbooster/assets/css/main.css").'?r='.time()}}'/> |
||
29 | |||
30 | <!-- load css --> |
||
31 | <style type="text/css"> |
||
32 | @if($style_css) |
||
33 | {!! $style_css !!} |
||
34 | @endif |
||
35 | </style> |
||
36 | @if($load_css) |
||
37 | @foreach($load_css as $css) |
||
38 | <link href="{{$css}}" rel="stylesheet" type="text/css"/> |
||
39 | @endforeach |
||
40 | @endif |
||
41 | |||
42 | <style type="text/css"> |
||
43 | .dropdown-menu-action { |
||
44 | left: -130%; |
||
45 | } |
||
46 | |||
47 | .btn-group-action .btn-action { |
||
48 | cursor: default |
||
49 | } |
||
50 | |||
51 | #box-header-module { |
||
52 | box-shadow: 10px 10px 10px #dddddd; |
||
53 | } |
||
54 | |||
55 | .sub-module-tab li { |
||
56 | background: #F9F9F9; |
||
57 | cursor: pointer; |
||
58 | } |
||
59 | |||
60 | .sub-module-tab li.active { |
||
61 | background: #ffffff; |
||
62 | box-shadow: 0px -5px 10px #cccccc |
||
63 | } |
||
64 | |||
65 | .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { |
||
66 | border: none; |
||
67 | } |
||
68 | |||
69 | .nav-tabs > li > a { |
||
70 | border: none; |
||
71 | } |
||
72 | |||
73 | .breadcrumb { |
||
74 | margin: 0 0 0 0; |
||
75 | padding: 0 0 0 0; |
||
76 | } |
||
77 | |||
78 | .form-group > label:first-child { |
||
79 | display: block |
||
80 | } |
||
81 | </style> |
||
82 | |||
83 | @stack('head') |
||
84 | </head> |
||
85 | <body class="@php echo (Session::get('theme_color'))?:'skin-blue'; echo ' '; echo config('crudbooster.ADMIN_LAYOUT'); @endphp {{($sidebar_mode)?:''}}"> |
||
86 | <div id='app' class="wrapper"> |
||
87 | |||
88 | <!-- Header --> |
||
89 | @include('crudbooster::header') |
||
90 | |||
91 | <!-- Sidebar --> |
||
92 | @include('crudbooster::sidebar') |
||
93 | |||
94 | <!-- Content Wrapper. Contains page content --> |
||
95 | <div class="content-wrapper"> |
||
96 | |||
97 | <section class="content-header"> |
||
98 | <?php |
||
99 | $module = CRUDBooster::getCurrentModule(); |
||
0 ignored issues
–
show
|
|||
100 | ?> |
||
101 | @if($module) |
||
102 | <h1> |
||
103 | <!--Now you can define $page_icon alongside $page_tite for custom forms to follow CRUDBooster theme style --> |
||
104 | <i class='{!! ($page_icon)?:$module->icon !!}'></i> {!! ($page_title)?:$module->name !!} |
||
105 | |||
106 | <!--START BUTTON --> |
||
107 | |||
108 | @if(CRUDBooster::getCurrentMethod() == 'getIndex') |
||
109 | @if($button_show) |
||
110 | <a href="{{ CRUDBooster::mainpath().'?'.http_build_query(Request::all()) }}" id='btn_show_data' class="btn btn-sm btn-primary" |
||
111 | title="{{trans('crudbooster.action_show_data')}}"> |
||
112 | <i class="fa fa-table"></i> {{trans('crudbooster.action_show_data')}} |
||
113 | </a> |
||
114 | @endif |
||
115 | |||
116 | @if($button_add && CRUDBooster::isCreate()) |
||
117 | <a href="{{ CRUDBooster::mainpath('add').'?return_url='.urlencode(Request::fullUrl()).'&parent_id='.g('parent_id').'&parent_field='.$parent_field }}" |
||
118 | id='btn_add_new_data' class="btn btn-sm btn-success" title="{{trans('crudbooster.action_add_data')}}"> |
||
119 | <i class="fa fa-plus-circle"></i> {{trans('crudbooster.action_add_data')}} |
||
120 | </a> |
||
121 | @endif |
||
122 | @endif |
||
123 | |||
124 | |||
125 | @if($button_export && CRUDBooster::getCurrentMethod() == 'getIndex') |
||
126 | <a href="javascript:void(0)" id='btn_export_data' data-url-parameter='{{$build_query}}' title='Export Data' |
||
127 | class="btn btn-sm btn-primary btn-export-data"> |
||
128 | <i class="fa fa-upload"></i> {{trans("crudbooster.button_export")}} |
||
129 | </a> |
||
130 | @endif |
||
131 | |||
132 | @if($button_import && CRUDBooster::getCurrentMethod() == 'getIndex') |
||
133 | <a href="{{ CRUDBooster::mainpath('import-data') }}" id='btn_import_data' data-url-parameter='{{$build_query}}' title='Import Data' |
||
134 | class="btn btn-sm btn-primary btn-import-data"> |
||
135 | <i class="fa fa-download"></i> {{trans("crudbooster.button_import")}} |
||
136 | </a> |
||
137 | @endif |
||
138 | |||
139 | <!--ADD ACTIon--> |
||
140 | @if(!empty($index_button)) |
||
141 | |||
142 | @foreach($index_button as $ib) |
||
143 | <a href='{{$ib["url"]}}' id='{{str_slug($ib["label"])}}' class='btn {{($ib['color'])?'btn-'.$ib['color']:'btn-primary'}} btn-sm' |
||
144 | @if($ib['onClick']) onClick='return {{$ib["onClick"]}}' @endif |
||
145 | @if($ib['onMouseOver']) onMouseOver='return {{$ib["onMouseOver"]}}' @endif |
||
146 | @if($ib['onMouseOut']) onMouseOut='return {{$ib["onMouseOut"]}}' @endif |
||
147 | @if($ib['onKeyDown']) onKeyDown='return {{$ib["onKeyDown"]}}' @endif |
||
148 | @if($ib['onLoad']) onLoad='return {{$ib["onLoad"]}}' @endif |
||
149 | > |
||
150 | <i class='{{$ib["icon"]}}'></i> {{$ib["label"]}} |
||
151 | </a> |
||
152 | @endforeach |
||
153 | @endif |
||
154 | <!-- END BUTTON --> |
||
155 | </h1> |
||
156 | |||
157 | |||
158 | <ol class="breadcrumb"> |
||
159 | <li><a href="{{CRUDBooster::adminPath()}}"><i class="fa fa-dashboard"></i> {{ trans('crudbooster.home') }}</a></li> |
||
160 | <li class="active">{{$module->name}}</li> |
||
161 | </ol> |
||
162 | @else |
||
163 | <h1>{{Session::get('appname')}} |
||
164 | <small> {{ trans('crudbooster.text_dashboard') }} </small> |
||
165 | </h1> |
||
166 | @endif |
||
167 | </section> |
||
168 | |||
169 | |||
170 | <!-- Main content --> |
||
171 | <section id='content_section' class="content"> |
||
172 | |||
173 | @if(@$alerts) |
||
174 | @foreach(@$alerts as $alert) |
||
175 | <div class='callout callout-{{$alert["type"]}}'> |
||
176 | {!! $alert['message'] !!} |
||
177 | </div> |
||
178 | @endforeach |
||
179 | @endif |
||
180 | |||
181 | |||
182 | @if (Session::get('message')!='') |
||
183 | <div class='alert alert-{{ Session::get("message_type") }}'> |
||
184 | <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> |
||
185 | <h4><i class="icon fa fa-info"></i> {{ trans("crudbooster.alert_".Session::get("message_type")) }}</h4> |
||
186 | {!!Session::get('message')!!} |
||
187 | </div> |
||
188 | @endif |
||
189 | |||
190 | |||
191 | |||
192 | <!-- Your Page Content Here --> |
||
193 | @yield('content') |
||
194 | </section><!-- /.content --> |
||
195 | </div><!-- /.content-wrapper --> |
||
196 | |||
197 | <!-- Footer --> |
||
198 | @include('crudbooster::footer') |
||
199 | |||
200 | </div><!-- ./wrapper --> |
||
201 | |||
202 | |||
203 | @include('crudbooster::admin_template_plugins') |
||
204 | |||
205 | <!-- load js --> |
||
206 | @if($load_js) |
||
207 | @foreach($load_js as $js) |
||
208 | <script src="{{$js}}"></script> |
||
209 | @endforeach |
||
210 | @endif |
||
211 | <script type="text/javascript"> |
||
212 | var site_url = "{{url('/')}}"; |
||
213 | @if($script_js) |
||
214 | {!! $script_js !!} |
||
215 | @endif |
||
216 | </script> |
||
217 | |||
218 | @stack('bottom') |
||
219 | |||
220 | <!-- Optionally, you can add Slimscroll and FastClick plugins. |
||
221 | Both of these plugins are recommended to enhance the |
||
222 | user experience --> |
||
223 | </body> |
||
224 | </html> |
||
225 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths