Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
34b8190c
Commit
34b8190c
authored
Jun 19, 2019
by
Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t_3325 - 2)Обновление верстки кнопок и форм. 3)Размещение блока с партнером Яндекс на старницу.
parent
2fb2c01d
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
375 additions
and
306 deletions
+375
-306
common/modules/blog/views/post/_modals.php
common/modules/blog/views/post/_modals.php
+4
-4
frontend/config/main.php
frontend/config/main.php
+7
-7
frontend/messages/ru-RU/footer.php
frontend/messages/ru-RU/footer.php
+2
-1
frontend/messages/ru-RU/form.php
frontend/messages/ru-RU/form.php
+2
-0
frontend/messages/ru-RU/index.php
frontend/messages/ru-RU/index.php
+1
-1
frontend/views/layouts/block/business-case-form.php
frontend/views/layouts/block/business-case-form.php
+2
-3
frontend/views/layouts/block/callback.php
frontend/views/layouts/block/callback.php
+17
-5
frontend/views/layouts/block/callback_yandex_form.php
frontend/views/layouts/block/callback_yandex_form.php
+76
-0
frontend/views/layouts/block/case-demo-form.php
frontend/views/layouts/block/case-demo-form.php
+1
-1
frontend/views/layouts/footer-index.php
frontend/views/layouts/footer-index.php
+69
-35
frontend/views/layouts/head.php
frontend/views/layouts/head.php
+1
-2
frontend/views/site/contacts.php
frontend/views/site/contacts.php
+88
-45
frontend/web/css/custom.css
frontend/web/css/custom.css
+40
-5
frontend/web/css/screen.css
frontend/web/css/screen.css
+43
-191
frontend/web/css/style_form.css
frontend/web/css/style_form.css
+22
-6
No files found.
common/modules/blog/views/post/_modals.php
View file @
34b8190c
...
...
@@ -8,7 +8,7 @@ use common\modules\bids\models\Bid;
?>
<div
class=
"hidden"
>
<div
id=
"article"
class=
"popup popup_2 blog_form"
>
<div
id=
"article"
class=
"popup popup_2 blog_form
popup_custom
"
>
<div
class=
"txtbtnclose"
>
<?=
\Yii
::
t
(
'blog'
,
'Close'
)
?>
</div>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Suggest an article for the blog'
)
?>
</span>
...
...
@@ -71,7 +71,7 @@ use common\modules\bids\models\Bid;
<div
class=
"clear"
></div>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'blog'
,
'Submit'
),
[
'class'
=>
'save-button btn-default button-lg'
]);
?>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'blog'
,
'Submit'
),
[
'class'
=>
'save-button btn-default button-lg
btn-custom
'
]);
?>
</div>
...
...
@@ -80,7 +80,7 @@ use common\modules\bids\models\Bid;
</div>
<div
id=
"feedback"
class=
"popup popup_2 blog_form_2"
>
<div
id=
"feedback"
class=
"popup popup_2 blog_form_2
popup_custom
"
>
<div
class=
"txtbtnclose"
>
<?=
\Yii
::
t
(
'blog'
,
'Close'
)
?>
</div>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Offer a subject'
)
?>
</span>
<p><strong>
<?=
\Yii
::
t
(
'blog'
,
"We are ready to share our experience, let us know what a topic you're interested in."
)
?>
</strong></p>
...
...
@@ -139,7 +139,7 @@ For example: write about CRM"),
<div
class=
"clear"
></div>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'blog'
,
' Submit '
),
[
'class'
=>
'save-button btn-default button-lg'
]);
?>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'blog'
,
' Submit '
),
[
'class'
=>
'save-button btn-default button-lg
btn-custom
'
]);
?>
</div>
...
...
frontend/config/main.php
View file @
34b8190c
...
...
@@ -58,13 +58,13 @@ return [
'cache'
=>
[
'class'
=>
'yii\caching\FileCache'
,
],
'view'
=>
[
'class'
=>
'rmrevin\yii\minify\View'
,
'base_path'
=>
'@app/web'
,
'minify_path'
=>
'@app/web/minify'
,
'force_charset'
=>
'UTF-8'
,
'expand_imports'
=>
true
,
],
//
'view' => [
//
'class' => 'rmrevin\yii\minify\View',
//
'base_path' => '@app/web',
//
'minify_path' => '@app/web/minify',
//
'force_charset' => 'UTF-8',
//
'expand_imports' => true,
//
],
'user'
=>
[
'identityClass'
=>
'common\modules\users\models\User'
,
'identityCookie'
=>
[
...
...
frontend/messages/ru-RU/footer.php
View file @
34b8190c
...
...
@@ -7,6 +7,7 @@ return [
'Your number'
=>
'Ваш телефон'
,
'Submit'
=>
'Заказать звонок'
,
'Close'
=>
'Закрыть'
,
'Close'
=>
'Закрыть'
,
'Your request has been send. We will call you'
=>
'Ваша заявка отправлена, мы вам перезвоним'
,
'Posting a project on Yandex.Cloud'
=>
'Размещение проекта на Яндекс.Облако'
,
'Please fill your number so we can ask clarifying questions'
=>
'Оставьте свой номер телефо, чтобы мы задать уточняющие вопросы'
,
];
\ No newline at end of file
frontend/messages/ru-RU/form.php
View file @
34b8190c
...
...
@@ -18,6 +18,8 @@ return [
'Subscribe'
=>
'Подписаться'
,
'Write here summary of your article or send a short offer.'
=>
'Напишите краткие тезисы статьи или опишите интересующий вопрос.'
,
'You have successfully subscribed to the update notification.'
=>
'Вы успешно подписались на уведомление об обновлениях.'
,
'I agree to the terms of usung'
=>
'Я согласен с условиями использования'
,
'personal data'
=>
'личных данных'
,
'Please enter your name.'
=>
'Пожалуйста, укажите своё имя:'
,
'Thank you very much for showing interest!'
=>
'Нам очень приятно, что вы проявили интерес!'
];
\ No newline at end of file
frontend/messages/ru-RU/index.php
View file @
34b8190c
...
...
@@ -2,5 +2,5 @@
return
[
'Have a project or idea - send us'
=>
'Рассчитать проект'
,
'We are ready to talk about any idea or can prepare an offer for your project'
=>
'Готовы обсудить любой проект. Есть идея или готовое ТЗ по проекту - отправьте его нам!'
,
'Submit'
=>
'
Рассчитать проект
'
,
'Submit'
=>
'
Отправить
'
,
];
\ No newline at end of file
frontend/views/layouts/block/business-case-form.php
View file @
34b8190c
...
...
@@ -7,10 +7,9 @@ use yii\widgets\ActiveForm;
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"calk_form"
>
<div
class=
"calk_form
calk_form_custom
"
>
<span
class=
"calk_form__title"
>
Отправить запрос
</span>
<?php
$model
=
new
Bid
;
$model
->
scenario
=
Bid
::
SCENARIO_BUSINESS
;
...
...
@@ -78,7 +77,7 @@ use yii\widgets\ActiveForm;
])
->
label
(
false
);
?>
</div>
<?php
echo
Html
::
submitButton
(
'Узнать стоимость'
,
[
'class'
=>
'btn-default save-button'
]);
?>
<?php
echo
Html
::
submitButton
(
'Узнать стоимость'
,
[
'class'
=>
'btn-default save-button
business-case-btn
'
]);
?>
</div>
...
...
frontend/views/layouts/block/callback.php
View file @
34b8190c
...
...
@@ -6,7 +6,7 @@ use common\modules\bids\models\Bid;
?>
<div
class=
"hidden"
>
<div
id=
"zvonok_form"
class=
"popup"
>
<div
id=
"zvonok_form"
class=
"popup
popup_custom
"
>
<div
class=
"txtbtnclose"
>
<?=
Yii
::
t
(
'footer'
,
'Close'
)
?>
</div>
<span
class=
"popup__title"
>
<?=
Yii
::
t
(
'footer'
,
'Сall request'
)
?>
</span>
<span
class=
"popup__subtittle"
>
<?=
Yii
::
t
(
'footer'
,
'Please fill your number and we will call you'
)
?>
:
</span>
...
...
@@ -36,7 +36,7 @@ use common\modules\bids\models\Bid;
<?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>'
,
'template'
=>
'<div class="row"><div class="col-sm-
12
">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
Yii
::
t
(
'footer'
,
'Your name'
),
...
...
@@ -44,13 +44,25 @@ use common\modules\bids\models\Bid;
])
->
label
(
false
);
?>
<?php
echo
$form
->
field
(
$model
,
'phone'
,
[
'template'
=>
'<div class="row"><div class="col-sm-
4
">{input}</div></div>'
,
'template'
=>
'<div class="row"><div class="col-sm-
12
">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
Yii
::
t
(
'footer'
,
'Your number'
),
'class'
=>
'input_st'
])
->
label
(
false
);
?>
<div
class=
"form-group field-bid-check"
>
<input
class=
"footer_form__check"
type=
"checkbox"
id=
"check"
>
<label
for=
"check"
>
Я согласен с условиями обработки
<br>
<a
href=
"javascript:;"
>
персональных данных
</a>
.
</label>
</div>
<?php
echo
Html
::
submitButton
(
Yii
::
t
(
'footer'
,
'Submit'
),
[
'class'
=>
'save-button popup_bt_send'
]);
?>
</div>
...
...
frontend/views/layouts/block/callback_yandex_form.php
0 → 100644
View file @
34b8190c
<?php
use
yii\widgets\ActiveForm
;
use
yii\helpers\Html
;
use
common\modules\bids\models\Bid
;
?>
<div
class=
"hidden"
>
<div
id=
"zvonok_form_yandex"
class=
"popup popup_custom"
>
<div
class=
"txtbtnclose"
>
<?=
Yii
::
t
(
'footer'
,
'Close'
)
?>
</div>
<span
class=
"popup__title"
>
<?=
Yii
::
t
(
'footer'
,
'Posting a project on Yandex.Cloud'
)
?>
</span>
<span
class=
"popup__subtittle"
>
<?=
Yii
::
t
(
'footer'
,
'Please fill your number so we can ask clarifying questions'
)
?>
:
</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'
=>
Yii
::
t
(
'footer'
,
'Сall request'
),
'data-form'
=>
Yii
::
t
(
'footer'
,
'Сall request'
),
'data-tag'
=>
Bid
::
TAG_TREATMENT
],
]);
?>
<div
class=
"message-box callback send_secce"
>
<?=
Yii
::
t
(
'footer'
,
'Your request has been send. We will call you'
)
?>
.
</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-12">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
Yii
::
t
(
'footer'
,
'Your name'
),
'class'
=>
'input_st'
])
->
label
(
false
);
?>
<?php
echo
$form
->
field
(
$model
,
'phone'
,
[
'template'
=>
'<div class="row"><div class="col-sm-12">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
Yii
::
t
(
'footer'
,
'Your number'
),
'class'
=>
'input_st'
])
->
label
(
false
);
?>
<div
class=
"form-group field-bid-check"
>
<input
class=
"footer_form__check"
type=
"checkbox"
id=
"check"
>
<label
for=
"check"
>
Я согласен с условиями обработки
<br>
<a
href=
"javascript:;"
>
персональных данных
</a>
.
</label>
</div>
<?php
echo
Html
::
submitButton
(
Yii
::
t
(
'footer'
,
'Submit'
),
[
'class'
=>
'save-button popup_bt_send'
]);
?>
</div>
<?php
ActiveForm
::
end
();
?>
</div>
<?php
//todo ?? ?>
<?
php
//echo \common\modules\users\widgets\LoginWidget::widget(); ?>
<?
php
//echo \common\modules\users\widgets\RegistrationWidget::widget(); ?>
</
div
>
\ No newline at end of file
frontend/views/layouts/block/case-demo-form.php
View file @
34b8190c
...
...
@@ -56,7 +56,7 @@ use yii\widgets\ActiveForm;
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Telephone'
)
.
'*'
,
'class'
=>
'input_st'
]);
?>
<?php
echo
Html
::
submitButton
(
'Демо доступ'
,
[
'class'
=>
'save-button popup_bt_send'
]);
?>
<?php
echo
Html
::
submitButton
(
'Демо доступ'
,
[
'class'
=>
'save-button popup_bt_send
demo-btn
'
]);
?>
</div>
<?php
ActiveForm
::
end
();
?>
</div>
\ No newline at end of file
frontend/views/layouts/footer-index.php
View file @
34b8190c
...
...
@@ -12,14 +12,33 @@ FileUploadBundle::register($this);
<footer
class=
"footer"
>
<div
class=
"footer_top"
>
<div
class=
"claud_wrap"
>
<div
class=
"container"
>
<div
class=
"claud_box"
>
<div
class=
"claud_txt"
>
<h3>
Мы являемся официальным
<br>
партнером Яндекс.Облако
</h3>
<p>
Закажите перенос вашего сайта или сервиса
</p>
</div>
<div
class=
"claud_img"
>
<img
src=
"./img_form/claud_img.png"
alt=
""
>
</div>
<div
class=
"claud_btn"
>
<a
href=
"#zvonok_form_yandex"
class=
"btn_claud popup-form"
>
Заказать
</a>
</div>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"calk_for
m"
>
<div
class=
"calk_form calk_form_custo
m"
>
<span
class=
"calk_form__title"
>
<?=
\Yii
::
t
(
'index'
,
'Have a project or idea - send us'
);
?>
</span>
<span
class=
"calk_form_subtitle"
>
<?=
\Yii
::
t
(
'index'
,
'We are ready to talk about any idea or can prepare an offer for your project'
);
?>
</span>
<?php
$model
=
new
Bid
;
$model
->
scenario
=
Bid
::
SCENARIO_PROJECT
;
...
...
@@ -35,12 +54,13 @@ FileUploadBundle::register($this);
'data-title'
=>
'Рассчитать проект'
,
'data-form'
=>
'Рассчитать проект'
,
'enctype'
=>
'multipart/form-data'
,
'data-tag'
=>
Bid
::
TAG_TREATMENT
'data-tag'
=>
Bid
::
TAG_TREATMENT
,
'method'
=>
'post'
,
'name'
=>
'form_foot'
],
]);
?>
<div
class=
"message-box send_secce"
>
Ваша заявка на проект успешно отправлена!
</div>
<div
class=
"content"
>
<?php
echo
Html
::
hiddenInput
(
'scenario'
,
$model
->
scenario
,
[
'class'
=>
'not_clear'
]);
?>
...
...
@@ -76,6 +96,17 @@ FileUploadBundle::register($this);
'class'
=>
'footer_form__textarea'
])
->
label
(
false
);
?>
<div
class=
"form-group field-bid-check"
>
<input
class=
"footer_form__check"
type=
"checkbox"
id=
"check"
>
<label
for=
"check"
>
<?=
\Yii
::
t
(
'form'
,
'I agree to the terms of usung'
)
?>
<a
href=
"javascript:;"
>
<?=
\Yii
::
t
(
'form'
,
'personal data'
)
?>
</a>
.
</label>
</div>
<div
class=
"file-upload_block dropzone"
id=
"block_upload"
>
<div
class=
"file_upload_bt"
>
<div
class=
"file-upload"
>
...
...
@@ -83,21 +114,22 @@ FileUploadBundle::register($this);
<span>
<?=
\Yii
::
t
(
'form'
,
'Choose file'
)
?>
</span>
</label>
</div>
<!--<input type="text" id="filename" class="filename" disabled>-->
<div
class=
"file_drop"
>
<?=
\Yii
::
t
(
'form'
,
'Drag any files here or choose in folder'
)
?>
</div>
</div>
</div>
<div
id=
"files-zone"
>
</div>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'index'
,
'Submit'
),
[
'class'
=>
'btn-default save-button'
]);
?>
</div>
<?php
ActiveForm
::
end
();
?>
</div>
</div>
</div>
<div
class=
"footer_top_wrap"
>
<div
class=
"footer_top_column footer_top_column1"
>
<h4>
Рекомендуем посмотреть
</h4>
...
...
@@ -156,6 +188,7 @@ FileUploadBundle::register($this);
</div>
</div>
</div>
<div
class=
"footer_bottom"
>
<div
class=
"container"
>
<div
class=
"footer_bottom_wrap"
>
...
...
@@ -186,3 +219,4 @@ FileUploadBundle::register($this);
</div>
<?php
echo
$this
->
render
(
'block/callback'
);
?>
<?php
echo
$this
->
render
(
'block/callback_yandex_form'
);
?>
\ No newline at end of file
frontend/views/layouts/head.php
View file @
34b8190c
...
...
@@ -45,8 +45,6 @@ endif;?>
<?php
$this
->
registerCssFile
(
'/css/style_add_06.06.16.css'
);
?>
<?php
$this
->
registerCssFile
(
'/css/style_form.css'
);
?>
<?php
//$this->registerJsFile('/js/add_06.06.16.js', ['position' => yii\web\View::POS_END]); ?>
<?
php
//$this->registerJsFile('/js/modernizr.js', ['position' => yii\web\View::POS_END]); ?>
...
...
@@ -60,5 +58,6 @@ endif;?>
<?php
$this
->
registerCssFile
(
'/css/style_crypto.css'
);
?>
<?php
$this
->
registerCssFile
(
'/css/style_build.css'
);
?>
<?php
$this
->
registerCssFile
(
'/css/jquery.fancybox.min.css'
);
?>
<?php
$this
->
registerCssFile
(
'/css/style_form.css'
);
?>
<?php
Yii
::
$app
->
view
->
registerAssetFiles
(
'/'
)
?>
frontend/views/site/contacts.php
View file @
34b8190c
...
...
@@ -42,16 +42,37 @@ $lang = Languages::getCurrent();
</div>
<a
href=
"#map"
class=
"view_sheme_link scrollto show-scheme"
data-tab=
"moscow"
>
<?=
\Yii
::
t
(
'contacts'
,
'View a map'
)
?>
</a>
</div>
<!-- <div class="col-md-6 col-xs-6 col-sm 12">-->
<!-- <div class="cont_block">-->
<!-- <div class="cont_block__city">-->
<?
//=\Yii::t('contacts', 'Kazan')?><!--</div>-->
<!--
<
div
class
=
"cont_block__phone"
><
strong
>--><?
//=\Yii::t('contacts', 'Phone')?><!--:</strong> --><?//=Settings::getValue('contacts-phone-kazan')?><!--</div>-->
<!--
<
div
class
=
"cont_block__link_pp"
><
a
href
=
"#zvonok_form"
class
=
"popup-form"
>--><?
//=\Yii::t('contacts', 'Call me')?><!--</a></div>-->
<!--
<
div
class
=
"cont_block__email"
><
strong
>
E
-
mail
:</
strong
>
--><?
//=Settings::getValue('contacts-email-kazan')?><!--</div>-->
<!--
<
div
class
=
"cont_block__adr"
><
strong
>--><?
//=\Yii::t('contacts', 'Address')?><!--:</strong> --><?//=Settings::getValue('contacts-address-kazan'.(!$lang->default?'-'.$lang->url:''))?><!--</div>-->
<!--
</
div
>-->
<!--
<
a
href
=
"#tabmap"
class
=
"view_sheme_link scrollto show-scheme"
data
-
tab
=
"kazan"
>--><?
//=\Yii::t('contacts', 'View a map')?><!--</a>-->
<!--
</
div
>-->
<!-- <div class="col-md-6 col-xs-6 col-sm 12">
<div class="cont_block">
<div class="cont_block__city">
<?=
\Yii
::
t
(
'contacts'
,
'Kazan'
)
?>
</div>
<div class="cont_block__phone">
<strong>
<?=
\Yii
::
t
(
'contacts'
,
'Phone'
)
?>
:</strong>
<?=
Settings
::
getValue
(
'contacts-phone-kazan'
)
?>
</div>
<div class="cont_block__link_pp">
<a href="#zvonok_form" class="popup-form">
<?=
\Yii
::
t
(
'contacts'
,
'Call me'
)
?>
</a>
</div>
<div class="cont_block__email">
<strong>E-mail:</strong>
<?=
Settings
::
getValue
(
'contacts-email-kazan'
)
?>
</div>
<div class="cont_block__adr">
<strong>
<?=
\Yii
::
t
(
'contacts'
,
'Address'
)
?>
:</strong>
<?=
Settings
::
getValue
(
'contacts-address-kazan'
.
(
!
$lang
->
default
?
'-'
.
$lang
->
url
:
''
))
?>
</div>
</div>
<a href="#tabmap" class="view_sheme_link scrollto show-scheme" data-tab="kazan">
<?=
\Yii
::
t
(
'contacts'
,
'View a map'
)
?>
</a>
</div> -->
</div>
</div>
</section>
...
...
@@ -89,27 +110,31 @@ $lang = Languages::getCurrent();
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<div
class=
"sect_cont_block"
>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"calk_form calk_form_custom"
>
<?php
$model
=
new
Bid
;
$model
->
scenario
=
Bid
::
SCENARIO_CALLBACK
;
$model
->
form
=
Bid
::
FORM_MESSAGE
;
$model
->
form
=
Bid
::
FORM_PROJECT
;
$form
=
ActiveForm
::
begin
([
'id'
=>
'form_foot'
,
'action'
=>
'/bids/bid/add'
,
'enableClientValidation'
=>
false
,
'options'
=>
[
'class'
=>
'sect_cont_form bids-form'
,
'data-title'
=>
'Отправить сообщение с сайта'
,
'data-form'
=>
'Отправить сообщение с сайта'
,
'data-tag'
=>
Bid
::
TAG_TREATMENT
'class'
=>
'footer_form bids-form'
,
'data-title'
=>
'Рассчитать проект'
,
'data-form'
=>
'Рассчитать проект'
,
'enctype'
=>
'multipart/form-data'
,
'data-tag'
=>
Bid
::
TAG_TREATMENT
,
'method'
=>
'post'
,
'name'
=>
'form_foot'
],
]);
?>
<div
class=
"message-box send_secce"
>
Ваша заявка отправлена, мы вам перезвоним.
</div>
<div
class=
"message-box send_secce"
>
Ваша заявка на проект успешно отправлена!
</div>
<div
class=
"content"
>
<?php
echo
Html
::
hiddenInput
(
'scenario'
,
$model
->
scenario
,
[
'class'
=>
'not_clear'
]);
?>
...
...
@@ -121,41 +146,59 @@ $lang = Languages::getCurrent();
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Your name'
),
'class'
=>
'
sect_cont
_form__input'
'class'
=>
'
footer
_form__input'
]);
?>
<?php
echo
$form
->
field
(
$model
,
'phone'
,
[
'template'
=>
'<div class="row"><div class="col-sm-4">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Phone'
)
.
' *'
,
'class'
=>
'sect_cont_form__input'
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Telephone'
),
'class'
=>
'footer_form__input'
]);
?>
<?php
echo
$form
->
field
(
$model
,
'email'
,
[
'template'
=>
'<div class="row"><div class="col-sm-4">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
'E-mail*'
,
'class'
=>
'footer_form__input'
]);
?>
<?php
echo
$form
->
field
(
$model
,
'text'
)
->
textArea
([
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Write a message'
),
'class'
=>
'
sect_cont
_form__textarea'
'class'
=>
'
footer
_form__textarea'
])
->
label
(
false
);
?>
<div
class=
"file-upload_block_cs dropzone"
id=
"block_upload"
>
<div
class=
"file_upload_bt_cs"
>
<div
class=
"file-upload_cs"
>
<div
class=
"form-group field-bid-check"
>
<input
class=
"footer_form__check"
type=
"checkbox"
id=
"check"
>
<label
for=
"check"
>
Я согласен с условиями обработки
<a
href=
"javascript:;"
>
персональных данных
</a>
.
</label>
</div>
<div
class=
"file-upload_block dropzone"
id=
"block_upload"
style=
'top: 55px'
>
<div
class=
"file_upload_bt"
>
<div
class=
"file-upload"
>
<label>
<span>
<?=
\Yii
::
t
(
'form'
,
'Choose file'
)
?>
</span>
</label>
</div>
<div
class=
"file_drop
_cs
"
>
<?=
\Yii
::
t
(
'form'
,
'Drag any files here or choose in folder'
)
?>
</div>
<div
class=
"file_drop"
>
<?=
\Yii
::
t
(
'form'
,
'Drag any files here or choose in folder'
)
?>
</div>
</div>
</div>
<div
id=
"files-zone"
>
<div
id=
"files-zone"
>
</div>
</div>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'form'
,
'Submit'
),
[
'class'
=>
'btn-default save-button'
]);
?>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'index'
,
'Submit'
),
[
'class'
=>
'btn-default save-button'
]);
?>
</div>
<?php
ActiveForm
::
end
();
?>
</div>
</div>
</div>
...
...
frontend/web/css/custom.css
View file @
34b8190c
...
...
@@ -179,9 +179,6 @@ color: #fff;
content
:
""
;
}
.table_header
.box_td
p
{
margin
:
0
;
color
:
#2d3642
;
...
...
@@ -731,8 +728,6 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
.sh_ft
.popup_text
,
.reg_form
.popup_text
{
margin-top
:
10px
;
}
.subsc_form
input
,
.subsc_blog_form
input
,
.blog-bid-form
input
{
display
:
block
;
width
:
273px
;
...
...
@@ -748,6 +743,46 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
font-size
:
16px
;
color
:
#83999e
;
}
.subsc_form
input
,
.keys_send_mail
form
input
,
.subsc_blog_form
input
{
border-radius
:
2px
;
font-size
:
16px
;
line-height
:
18px
;
width
:
345px
;
transition
:
0.3s
;
background
:
#e6ece0
;
border
:
none
;
height
:
50px
;
padding
:
0px
14px
;
color
:
#3c4755
;
}
.subsc_form
input
:hover
,
.keys_send_mail
form
input
:hover
,
.subsc_blog_form
input
:hover
{
background-color
:
#e6ece0
;
transition
:
0.3s
;
}
.subsc_form
input
:focus
,
.keys_send_mail
form
input
:focus
,
.subsc_blog_form
input
:focus
{
box-shadow
:
none
;
background-color
:
#e6ece0
;
transition
:
0.3s
;
}
@media
only
screen
and
(
min-width
:
480px
)
and
(
max-width
:
767px
)
{
.keys_send_mail
form
input
{
margin
:
0
auto
20px
;
display
:
block
;
}
}
@media
only
screen
and
(
min-width
:
320px
)
and
(
max-width
:
479px
)
{
.keys_send_mail
form
input
{
margin
:
0
auto
20px
;
width
:
196px
;
display
:
block
;
}
}
.txt_server
:before
{
position
:
absolute
;
}
...
...
frontend/web/css/screen.css
View file @
34b8190c
...
...
@@ -3992,39 +3992,25 @@ textarea.file-upload_block {
}
.input_st
{
width
:
264px
;
height
:
44px
;
background
:
#F5F5F5
;
border
:
none
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
margin-bottom
:
34px
;
color
:
#698387
;
font-size
:
16px
;
padding
:
0px
18px
;
}
.input_st
::-webkit-input-placeholder
{
color
:
#698387
;
font-size
:
16px
;
opacity
:
1
;
}
.input_st
:-moz-placeholder
{
color
:
#698387
;
border-radius
:
2px
;
font-size
:
16px
;
opacity
:
1
;
line-height
:
18px
;
width
:
276px
;
transition
:
0.3s
;
background
:
#F1F1F1
;
border
:
none
;
height
:
50px
;
padding
:
0px
14px
;
color
:
#3c4755
;
}
.input_st
::-moz-placeholder
{
color
:
#698387
;
font-size
:
16px
;
opacity
:
1
;
.input_st
:hover
{
background-color
:
#e6ece0
;
transition
:
0.3s
;
}
.input_st
:
-ms-input-placeholder
{
color
:
#698387
;
font-size
:
16px
;
opacity
:
1
;
.input_st
:
focus
{
box-shadow
:
none
;
background-color
:
#e6ece0
;
transition
:
0.3s
;
}
.field-input.input-error
{
...
...
@@ -4032,36 +4018,20 @@ textarea.file-upload_block {
border
:
1px
solid
#E9A2A2
;
}
.popup_bt_send
{
width
:
256px
;
height
:
47px
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
.demo-btn
{
display
:
inline-block
;
padding
:
12px
40px
;
border-radius
:
3px
;
background-color
:
rgb
(
253
,
209
,
4
);
box-shadow
:
0px
8px
23px
0px
rgba
(
253
,
209
,
4
,
0.35
);
text-align
:
center
;
color
:
#b39b02
;
font-size
:
16px
;
background-image
:
linear-gradient
(
to
top
,
#fdd000
0%
,
#fff04e
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-bottom
:
4px
solid
#D2BF00
;
margin
:
0
auto
;
}
.popup_bt_send
:hover
,
.popup_bt_send
:focus
{
background-image
:
linear-gradient
(
to
top
,
#fde654
0%
,
#fef77d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border-bottom
:
4px
solid
#D2BF00
;
}
.popup_bt_send
:active
{
background-image
:
linear-gradient
(
to
top
,
#f4db15
0%
,
#fbd20d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-top
:
4px
solid
#D2BF00
;
line-height
:
18px
;
color
:
#464646
;
text-decoration
:
none
!important
;
border
:
none
!important
;
transition
:
0.3s
;
width
:
276px
}
.phone_hover_foot
{
...
...
@@ -11284,54 +11254,7 @@ h6 {
line-height
:
20px
;
}
}
.keys_send_mail
form
input
{
width
:
273px
;
height
:
49px
;
background
:
#fff
;
border
:
1px
solid
#E9E9E9
;
border-radius
:
10px
;
-moz-border-radius
:
10px
;
-webkit-border-radius
:
10px
;
-o-border-radius
:
10px
;
-ms-border-radius
:
10px
;
color
:
#83999e
;
font-size
:
16px
;
padding
:
0px
12px
;
}
@media
only
screen
and
(
min-width
:
480px
)
and
(
max-width
:
767px
)
{
.keys_send_mail
form
input
{
margin
:
0
auto
20px
;
display
:
block
;
}
}
@media
only
screen
and
(
min-width
:
320px
)
and
(
max-width
:
479px
)
{
.keys_send_mail
form
input
{
margin
:
0
auto
20px
;
width
:
196px
;
display
:
block
;
}
}
.keys_send_mail
form
button
{
width
:
178px
;
height
:
50px
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
text-align
:
center
;
color
:
#b39b02
;
font-family
:
"RobotoBold"
;
font-size
:
20px
;
background-image
:
linear-gradient
(
to
top
,
#fdd000
0%
,
#fff04e
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-bottom
:
4px
solid
#D2BF00
;
line-height
:
43px
;
display
:
inline-block
;
margin
:
0px
0px
0px
16px
;
}
@media
only
screen
and
(
min-width
:
480px
)
and
(
max-width
:
767px
)
{
.keys_send_mail
form
button
{
margin
:
0
auto
20px
;
...
...
@@ -11344,21 +11267,6 @@ h6 {
display
:
block
;
}
}
.keys_send_mail
form
button
:hover
,
.keys_send_mail
form
button
:focus
{
background-image
:
linear-gradient
(
to
top
,
#fde654
0%
,
#fef77d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border-bottom
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
}
.keys_send_mail
form
button
:active
{
background-image
:
linear-gradient
(
to
top
,
#f4db15
0%
,
#fbd20d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-top
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
}
.send_secce
{
font-size
:
14px
;
...
...
@@ -12661,41 +12569,21 @@ p.sborka_shkafov_bigp {
background
:
#fff
url(../images/icon-fail.png)
no-repeat
96%
center
;
border
:
1px
solid
#E9A2A2
;
}
.subsc_form
button
{
width
:
178px
;
height
:
50px
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
text-align
:
center
;
color
:
#655d04
;
font-family
:
"RobotoBold"
;
font-size
:
20px
;
background-image
:
linear-gradient
(
to
top
,
#fdd000
0%
,
#fff04e
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-bottom
:
4px
solid
#D2BF00
;
line-height
:
43px
;
.subsc_form
button
,
.keys_send_mail
form
button
,
.blog-subscribe-button
{
display
:
inline-block
;
margin
:
20px
0px
0px
;
}
.subsc_form
button
:hover
,
.subsc_form
button
:focus
{
background-image
:
linear-gradient
(
to
top
,
#fde654
0%
,
#fef77d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border-bottom
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
}
.subsc_form
button
:active
{
background-image
:
linear-gradient
(
to
top
,
#f4db15
0%
,
#fbd20d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-top
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
padding
:
12px
40px
;
border-radius
:
3px
;
background-color
:
rgb
(
253
,
209
,
4
);
box-shadow
:
0px
8px
23px
0px
rgba
(
253
,
209
,
4
,
0.35
);
text-align
:
center
;
font-size
:
16px
;
line-height
:
18px
;
color
:
#464646
;
text-decoration
:
none
!important
;
border
:
none
!important
;
transition
:
0.3s
;
}
.end_keys_neft
{
...
...
@@ -14085,42 +13973,6 @@ li.appl_list_icon {
background
:
#fff
url(../images/icon-fail.png)
no-repeat
96%
center
;
border
:
1px
solid
#E9A2A2
;
}
.subsc_blog_form
button
{
width
:
178px
;
height
:
50px
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
text-align
:
center
;
color
:
#655d04
;
font-family
:
"RobotoBold"
;
font-size
:
20px
;
background-image
:
linear-gradient
(
to
top
,
#fdd000
0%
,
#fff04e
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-bottom
:
4px
solid
#D2BF00
;
line-height
:
43px
;
display
:
inline-block
;
margin
:
20px
0px
0px
;
}
.subsc_blog_form
button
:hover
,
.subsc_blog_form
button
:focus
{
background-image
:
linear-gradient
(
to
top
,
#fde654
0%
,
#fef77d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border-bottom
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
}
.subsc_blog_form
button
:active
{
background-image
:
linear-gradient
(
to
top
,
#f4db15
0%
,
#fbd20d
100%
);
box-shadow
:
2px
3.5px
5px
rgba
(
0
,
0
,
0
,
0.12
);
color
:
#908505
;
border
:
none
;
border-top
:
4px
solid
#D2BF00
;
text-decoration
:
none
;
}
.article_short
{
margin-bottom
:
57px
;
...
...
frontend/web/css/style_form.css
View file @
34b8190c
...
...
@@ -5,7 +5,7 @@
.calk_form_custom
.form-group
{
margin-bottom
:
20px
;
}
.calk_form_custom
.footer_form__input
{
.calk_form_custom
.footer_form__input
.subsc_form
input
{
border-radius
:
2px
;
font-size
:
16px
;
line-height
:
18px
;
...
...
@@ -100,6 +100,12 @@
border
:
none
!important
;
transition
:
0.3s
;
}
.business-case-btn
,
.btn-custom
{
width
:
276px
!important
;
}
.calk_form_custom
.save-button
:hover
{
box-shadow
:
none
;
background-color
:
#f1c808
!important
;
...
...
@@ -543,13 +549,9 @@ body{
height
:
31px
;
}
.calk_form_custom
{
margin-bottom
:
0
;
margin-bottom
:
50px
;
}
@media
only
screen
and
(
max-width
:
992px
){
.calk_form_custom
.footer_form__input
{
width
:
100%
;
...
...
@@ -638,4 +640,18 @@ body{
.calk_form_custom
{
margin-bottom
:
20px
;
}
.case-subscribe-button
{
display
:
inline-block
;
padding
:
12px
40px
;
border-radius
:
3px
;
background-color
:
rgb
(
253
,
209
,
4
);
box-shadow
:
0px
8px
23px
0px
rgba
(
253
,
209
,
4
,
0.35
);
text-align
:
center
;
font-size
:
16px
;
line-height
:
18px
;
color
:
#464646
;
text-decoration
:
none
!important
;
border
:
none
!important
;
transition
:
0.3s
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment