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
00c28035
Commit
00c28035
authored
Mar 25, 2019
by
john
Browse files
Options
Browse Files
Download
Plain Diff
Merge origin/master
parents
35627778
af8e50b2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
127 additions
and
1 deletion
+127
-1
common/modules/content/models/CoContentLang.php
common/modules/content/models/CoContentLang.php
+2
-0
frontend/views/layouts/block/business-case-form.php
frontend/views/layouts/block/business-case-form.php
+1
-1
frontend/views/layouts/block/case-demo-form.php
frontend/views/layouts/block/case-demo-form.php
+62
-0
frontend/web/css/main-v2.css
frontend/web/css/main-v2.css
+2
-0
frontend/web/css/style_26.11.2018.css
frontend/web/css/style_26.11.2018.css
+60
-0
No files found.
common/modules/content/models/CoContentLang.php
View file @
00c28035
...
@@ -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]'
;
...
...
frontend/views/layouts/block/business-case-form.php
View file @
00c28035
...
@@ -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
...
...
frontend/views/layouts/block/case-demo-form.php
0 → 100644
View file @
00c28035
<?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
frontend/web/css/main-v2.css
View file @
00c28035
...
@@ -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
{
...
...
frontend/web/css/style_26.11.2018.css
View file @
00c28035
...
@@ -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
;
...
...
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