diff --git a/.gitignore b/.gitignore index d15d877..8eb4b01 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ phpunit.phar /files/* upload.tar.gz app/config/db.php +app/config/main-local.php \ No newline at end of file diff --git a/app/assets/AppAsset.php b/app/assets/AppAsset.php index 2caa7a5..eafef29 100755 --- a/app/assets/AppAsset.php +++ b/app/assets/AppAsset.php @@ -19,6 +19,7 @@ class AppAsset extends AssetBundle public $baseUrl = '@web'; public $css = [ 'css/style.css', + 'css/new-style.css', ]; public $js = [ ]; diff --git a/app/views/layouts/main.php b/app/views/layouts/main.php index 98cd3cf..3bcda2c 100755 --- a/app/views/layouts/main.php +++ b/app/views/layouts/main.php @@ -17,6 +17,7 @@ $this->registerJs(" $this->registerJs(" $('.call').call({token:'".Yii::$app->request->getCsrfToken()."'}); ", View::POS_READY, 'call'); +$this->registerJsFile(Yii::$app->request->baseUrl.'/js/new-basket.js',['position'=>View::POS_HEAD,'depends'=>['yii\web\YiiAsset']]); ?> beginPage() ?> @@ -80,6 +81,101 @@ $this->registerJs(" +
+
+
+
+
+ Корзина +
+
+ + + + + + + + + + + + + + + +
+ + + + + + +
цена 22.90 грн
+
+ удалить +
+
+
+ Количество +
+ +
+ + +
+
+
+
цена 45.80 грн
+ + + + + + +
цена 22.90 грн
+
+ удалить +
+
+
+ Количество +
+ +
+ + +
+
+
+
цена 45.80 грн
+ +
+ +
+ Внимание!
Минимальная сумма заказача 100 грн. +
+
+ Общая сумма: 137,4 грн. +
+
+ + +
+
+
+
+
+ endBody() ?>