Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c5413d5b50 | ||
|
8bafc735c4 | ||
|
1bfd5609a5 |
@@ -36,6 +36,9 @@
|
||||
@include('adminlte::layouts.partials.scripts')
|
||||
{{-- Scripts --}}
|
||||
{!! Asset::scripts() !!}
|
||||
|
||||
@yield('page-scripts')
|
||||
@show
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -29,13 +29,7 @@
|
||||
echo json_encode($trans);
|
||||
@endphp
|
||||
</script>
|
||||
<script src="https://code.highcharts.com/highcharts.js"></script>
|
||||
<style>
|
||||
#favourite.selected {
|
||||
color: orange;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- STYLESHEETS -->
|
||||
{!! Asset::styles() !!}
|
||||
</head>
|
||||
</head>
|
||||
|
@@ -2,12 +2,21 @@
|
||||
|
||||
<!-- JQuery and bootstrap are required by Laravel 5.3 in resources/assets/js/bootstrap.js-->
|
||||
<!-- Laravel App -->
|
||||
<script src="{{ url (mix('/js/app.js')) }}" type="text/javascript"></script>
|
||||
<script src="{{ url(mix('/js/app.js')) }}" type="text/javascript"></script>
|
||||
|
||||
<!-- Our our CSRF token to each interaction -->
|
||||
{{-- @todo Test that we are validating this, also axios should be doing this for us? --}}
|
||||
<script type="text/javascript">
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@yield('page-scripts')
|
||||
<!-- Optionally, you can add Slimscroll and FastClick plugins.
|
||||
Both of these plugins are recommended to enhance the
|
||||
user experience. Slimscroll is required when using the
|
||||
fixed layout. -->
|
||||
@js('site/js/jquery.slimscroll.min.js','jq.slimscroll');
|
||||
@js('site/js/fastclick.min.js','jq.fastclick');
|
||||
@js('/site/js/jquery.slimscroll.min.js','jq.slimscroll');
|
||||
@js('/site/js/fastclick.min.js','jq.fastclick');
|
||||
|
@@ -37,7 +37,7 @@
|
||||
</aside>
|
||||
|
||||
@section('page-scripts')
|
||||
<script src="{{ url('/plugins/bootstrap3-typeahead.min.js') }}"></script>
|
||||
@js('/site/js/bootstrap3-typeahead.min.js','bs-typeahead')
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
@@ -44,7 +44,6 @@ class AdminController extends Controller
|
||||
return Redirect::to('/home');
|
||||
}
|
||||
|
||||
|
||||
public function switch_authorised()
|
||||
{
|
||||
// @todo
|
||||
|
Reference in New Issue
Block a user