From 375d6177263f18e159d9db013ff8ce8fbaf7c2d5 Mon Sep 17 00:00:00 2001 From: Веталь Date: Tue, 24 May 2016 17:38:07 +0300 Subject: [PATCH] Веталь --- frontend/views/basket/index.php | 40 +++++++++++++++++++++++++++++++++------- frontend/web/css/style.css | 4 ++++ 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/frontend/views/basket/index.php b/frontend/views/basket/index.php index 3ddee53..6a64c2c 100755 --- a/frontend/views/basket/index.php +++ b/frontend/views/basket/index.php @@ -44,14 +44,40 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ false]); ?>
-field($modelOrder,'name'); ?> -field($modelOrder,'phone'); ?> -field($modelOrder,'phone2'); ?> -field($modelOrder,'city'); ?> -field($modelOrder,'adress'); ?> -field($modelOrder,'email'); ?> +
+ field($modelOrder, 'name', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+
+ field($modelOrder, 'phone', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+
+ field($modelOrder, 'phone2', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+
+ field($modelOrder, 'city', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+
+ field($modelOrder, 'adress', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+
+ field($modelOrder, 'email', [ 'options' => [ 'class' => 'input-blocks' ] ])->textInput([ 'class' => 'custom-input-2' ]); ?> +
+ + + + + + field($modelOrder, 'delivery') - ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>0])->asArray()->all(), 'id', 'title')) + ->radioList(ArrayHelper::map(Delivery::find()->where(['parent_id'=>0])->asArray()->all(), 'id', 'title'),[ + 'item' => function($index, $label, $name, $checked, $value) { + $return = '
'; + $return .= ''; + $return .= ''; + $return .= '
'; + return $return; + }, + ]) ?>
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index cd21d6c..4f7e8f1 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -1302,4 +1302,8 @@ ul.product-special li.promo:after { .info.product-thumb-video iframe { width: 100% !important; height: 100% !important; +} +.input-blocks-wrapper { + width: 100%; + float: left; } \ No newline at end of file -- libgit2 0.21.4