From e5ff189d3e473cd40256f2578c2abb498a6ad869 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 20 Aug 2019 15:50:15 +1000 Subject: [PATCH] Added tz and move adminlte css to later --- .../layouts/partials/htmlheader.blade.php | 24 ++++--------------- .../views/layouts/partials/scripts.blade.php | 3 +++ 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php index 20a602f..42e88fc 100644 --- a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php @@ -12,10 +12,10 @@ - - + + @if(file_exists('css/social.css')) @@ -32,26 +32,12 @@ - - {!! Asset::styles() !!} + + + @if(file_exists('css/fixes.css')) diff --git a/resources/themes/adminlte/views/layouts/partials/scripts.blade.php b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php index 0ca2f89..cd29fec 100644 --- a/resources/themes/adminlte/views/layouts/partials/scripts.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php @@ -21,6 +21,9 @@ NoTransitionAfterReload: false }; + // Work out our timezone. + const tz = Intl.DateTimeFormat().resolvedOptions().timeZone; + $(function () { "use strict";