Commit 00c28035 authored by john's avatar john

Merge origin/master

parents 35627778 af8e50b2
...@@ -151,6 +151,8 @@ class CoContentLang extends \common\components\ActiveRecordModel ...@@ -151,6 +151,8 @@ class CoContentLang extends \common\components\ActiveRecordModel
$arrReplaceNext[] = CoBlocks::printStaticBlock('business-cases'); $arrReplaceNext[] = CoBlocks::printStaticBlock('business-cases');
$arrWhatReplaceNext[] = '[business-case-form]'; $arrWhatReplaceNext[] = '[business-case-form]';
$arrReplaceNext[] = CoBlocks::printStaticBlock('business-case-form'); $arrReplaceNext[] = CoBlocks::printStaticBlock('business-case-form');
$arrWhatReplaceNext[] = '[case-demo-form]';
$arrReplaceNext[] = CoBlocks::printStaticBlock('case-demo-form');
$arrWhatReplaceNext[] = '[projects]'; $arrWhatReplaceNext[] = '[projects]';
$arrReplaceNext[] = CoBlocks::printStaticBlock('projects'); $arrReplaceNext[] = CoBlocks::printStaticBlock('projects');
$arrWhatReplaceNext[] = '[case-subscribe]'; $arrWhatReplaceNext[] = '[case-subscribe]';
......
...@@ -8,7 +8,7 @@ use yii\widgets\ActiveForm; ...@@ -8,7 +8,7 @@ use yii\widgets\ActiveForm;
<div class="row"> <div class="row">
<div class="col-md-12 col-sm-12"> <div class="col-md-12 col-sm-12">
<div class="calk_form"> <div class="calk_form">
<span class="calk_form__title">Отправить запрос на расчет стоимости</span> <span class="calk_form__title">Отправить запрос</span>
<?php <?php
......
<?php
use common\modules\bids\models\Bid;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var $this \yii\web\View
*/
?>
<div class="popup" id="demo_form"> <!-- 13.03.2019 -->
<div class="txtbtnclose">
Закрыть
</div><span class="popup__title">Демо доступ</span>
<?php
$model = new Bid;
$model->scenario = Bid::SCENARIO_CALLBACK;
$model->form = Bid::FORM_CALLBACK;
$form = ActiveForm::begin([
'action' => '/bids/bid/add',
'enableClientValidation' => false,
'options' => [
'class' => 'valid_form bids-form',
'data-title' => 'Заказать звонок',
'data-form' => 'Заказать звонок',
'data-tag' => Bid::TAG_TREATMENT
],
]); ?>
<div class="message-box callback send_secce">
Ваша заявка отправлена, мы вам перезвоним.
</div>
<div class="content">
<?php echo Html::hiddenInput('scenario', $model->scenario, ['class' => 'not_clear']); ?>
<?php echo $form->field($model, 'form', ['template' => '{input}'])->hiddenInput(['class' => 'not_clear']); ?>
<?php echo $form->field($model, 'name', [
'template' => '<div class="row"><div class="col-sm-4">{input}</div></div>',
'errorOptions' => []
])->textInput([
'placeholder' => \Yii::t('form', 'Your name'),
'class' => 'input_st'
]); ?>
<?php echo $form->field($model, 'email', [
'template' => '<div class="row"><div class="col-sm-4">{input}</div></div>',
'errorOptions' => []
])->textInput([
'placeholder' => 'E-mail',
'class' => 'input_st'
]); ?>
<?php echo $form->field($model, 'phone', [
'template' => '<div class="row"><div class="col-sm-4">{input}</div></div>',
'errorOptions' => []
])->textInput([
'placeholder' => \Yii::t('form', 'Telephone') . '*',
'class' => 'input_st'
]); ?>
<?php echo Html::submitButton('Демо доступ', ['class' => 'save-button popup_bt_send']); ?>
</div>
<?php ActiveForm::end(); ?>
</div>
\ No newline at end of file
...@@ -452,6 +452,8 @@ html {overflow-x: hidden;} ...@@ -452,6 +452,8 @@ html {overflow-x: hidden;}
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
color: #fff; color: #fff;
position: relative;
z-index: 99;
} }
.taskon-task-create-process img { .taskon-task-create-process img {
......
...@@ -128,6 +128,66 @@ ...@@ -128,6 +128,66 @@
font-size: 25px; font-size: 25px;
} }
.taskon-task-create-process p{
position: relative;
z-index: 99;
}
.taskon-task-create-process img{
top: 160px;
}
/* add start */
.new_title_box_popup{
background-color: #2b323a;
padding: 15px;
margin-bottom: 20px;
-webkit-justify-content: space-between;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
/* add end */
.new_title_box_popup h4{
padding: 0;
margin-left: 0;
margin-right: 10px;
}
.new_title_box_popup .btn-default{
width: auto;
height: auto;
padding: 10px;
}
.new_title_box_popup .btn-default:hover{
text-decoration: none;
}
@media only screen and (max-width: 991px){
.keys_accounting_top{
height: 250px;
}
.keys_accounting_top .appl_par--without_logo{
display: none;
}
.keys_accounting_top h1 {
font-size: 35px;
line-height: 45px;
text-align: center;
}
.new_title_box_popup{
display: block;
}
.new_title_box_popup .btn-default{
display: block;
width: 100%;
margin-top: 10px;
text-align: center;
}
}
@media only screen and (max-width: 767px){
.taskon-task-create-process img{
display: none;
}
}
@media only screen and (max-width: 991px){ @media only screen and (max-width: 991px){
.toggle_bottom_new{ .toggle_bottom_new{
display: block !important; display: block !important;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment