From 5099494ba35bb3a62bed055161bd8163052063d8 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Mon, 6 Jul 2015 21:04:17 +0300 Subject: [PATCH] OPTIMIZATION --- ground/controllers/IndexController.php | 4 ++-- ground/views/layout.php | 25 ++++++++++++++----------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ground/controllers/IndexController.php b/ground/controllers/IndexController.php index 479fac2..cbabc7c 100644 --- a/ground/controllers/IndexController.php +++ b/ground/controllers/IndexController.php @@ -8,7 +8,7 @@ class IndexController extends Controller */ static function actionIndex() { - self::addScript('/js/jquery-2.1.0.min.js'); +// self::addScript('/js/jquery-2.1.0.min.js'); self::addScript('/js/jquery-ui-1.10.4.custom.min.js'); self::addScript('/js/bootstrap.min.js'); self::addScript('/js/leaflet-0.7.3.js'); @@ -29,7 +29,7 @@ class IndexController extends Controller self::addScript('/js/suggest.js?ver=' . App::getConfig('version')); self::addScript('/js/navigation.js?ver=' . App::getConfig('version')); - self::addStyle('/css/style.css?ver=' . App::getConfig('version')); +// self::addStyle('/css/style.css?ver=' . App::getConfig('version')); self::addStyle('/css/leaflet-0.7.3.css'); self::addStyle('/css/bootstrap.min.css'); self::addStyle('/css/bootstrap-theme.min.css'); diff --git a/ground/views/layout.php b/ground/views/layout.php index 4a77d6e..17027f7 100644 --- a/ground/views/layout.php +++ b/ground/views/layout.php @@ -7,17 +7,8 @@ <?= App::getConfig('title') ?> - - - - - - - - - - - + + @@ -52,4 +43,16 @@ + + + + + + + + + + + + \ No newline at end of file