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
bfed083d
Commit
bfed083d
authored
Jun 26, 2019
by
Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t_3325 Правки вёрстки(ч2)
parent
5be249a3
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
42 additions
and
15 deletions
+42
-15
common/modules/bids/models/Bid.php
common/modules/bids/models/Bid.php
+3
-1
frontend/messages/ru-RU/footer.php
frontend/messages/ru-RU/footer.php
+1
-1
frontend/messages/ru-RU/form.php
frontend/messages/ru-RU/form.php
+2
-2
frontend/views/layouts/block/callback.php
frontend/views/layouts/block/callback.php
+3
-1
frontend/views/layouts/block/callback_yandex_form.php
frontend/views/layouts/block/callback_yandex_form.php
+4
-2
frontend/views/layouts/footer-index.php
frontend/views/layouts/footer-index.php
+4
-4
frontend/web/css/custom.css
frontend/web/css/custom.css
+13
-1
frontend/web/css/screen.css
frontend/web/css/screen.css
+1
-0
frontend/web/css/style_form.css
frontend/web/css/style_form.css
+10
-3
frontend/web/js/cases.js
frontend/web/js/cases.js
+1
-0
No files found.
common/modules/bids/models/Bid.php
View file @
bfed083d
...
...
@@ -33,6 +33,7 @@ class Bid extends \common\components\ActiveRecordModel
const
FORM_MESSAGE
=
'message'
;
const
FORM_BUSINESS
=
'business'
;
const
FORM_DOCUMENTATION
=
'documentation'
;
const
FORM_YANDEX_CLOUD
=
'yandex_cloud'
;
const
TAG_INVOLVEMENT
=
'Вовлечение'
;
const
TAG_TREATMENT
=
'Обращение'
;
...
...
@@ -43,7 +44,8 @@ class Bid extends \common\components\ActiveRecordModel
// self::FORM_SUBSCRIBE => 'Подписка',
self
::
FORM_MESSAGE
=>
'Сообщение с сайта'
,
self
::
FORM_BUSINESS
=>
'Расчет для бизнес решения'
,
self
::
FORM_DOCUMENTATION
=>
'Заявка на Taskon'
self
::
FORM_DOCUMENTATION
=>
'Заявка на Taskon'
,
self
::
FORM_YANDEX_CLOUD
=>
'Запрос на подключение к Яндекс.Облако'
];
public
static
$tag_titles
=
[
...
...
frontend/messages/ru-RU/footer.php
View file @
bfed083d
...
...
@@ -9,5 +9,5 @@ return [
'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'
=>
'Оставьте свой номер телефо
, чтобы мы
задать уточняющие вопросы'
,
'Please fill your number so we can ask clarifying questions'
=>
'Оставьте свой номер телефо
на, чтобы мы смогли
задать уточняющие вопросы'
,
];
\ No newline at end of file
frontend/messages/ru-RU/form.php
View file @
bfed083d
...
...
@@ -18,8 +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'
=>
'лич
ных данных'
,
'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/views/layouts/block/callback.php
View file @
bfed083d
...
...
@@ -17,6 +17,7 @@ use common\modules\bids\models\Bid;
$model
->
form
=
Bid
::
FORM_CALLBACK
;
$form
=
ActiveForm
::
begin
([
'id'
=>
'callback_form'
,
'action'
=>
'/bids/bid/add'
,
'enableClientValidation'
=>
false
,
'options'
=>
[
...
...
@@ -54,12 +55,13 @@ use common\modules\bids\models\Bid;
<?php
echo
$form
->
field
(
$model
,
'confirm'
,
[
'template'
=>
'{input}{label}{error}{hint}'
]
)
->
checkbox
([
'id'
=>
'bid-confirm'
,
'checked'
=>
false
,
'required'
=>
true
,
'class'
=>
'footer_form__check'
,
],
false
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
the terms of usung'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'
personal data'
)
.
'</a>.'
);
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'the terms of usung
personal data'
)
.
'</a>.'
);
?>
<?php
echo
Html
::
submitButton
(
Yii
::
t
(
'footer'
,
'Submit'
),
[
'class'
=>
'save-button popup_bt_send'
]);
?>
...
...
frontend/views/layouts/block/callback_yandex_form.php
View file @
bfed083d
...
...
@@ -14,9 +14,10 @@ use common\modules\bids\models\Bid;
<?php
$model
=
new
Bid
;
$model
->
scenario
=
Bid
::
SCENARIO_CALLBACK
;
$model
->
form
=
Bid
::
FORM_
CALLBACK
;
$model
->
form
=
Bid
::
FORM_
YANDEX_CLOUD
;
$form
=
ActiveForm
::
begin
([
'id'
=>
'yandex_callback_form'
,
'action'
=>
'/bids/bid/add'
,
'enableClientValidation'
=>
false
,
'options'
=>
[
...
...
@@ -54,12 +55,13 @@ use common\modules\bids\models\Bid;
<?php
echo
$form
->
field
(
$model
,
'confirm'
,
[
'template'
=>
'{input}{label}{error}{hint}'
]
)
->
checkbox
([
'id'
=>
'bid-confirm-yandex'
,
'checked'
=>
false
,
'required'
=>
true
,
'class'
=>
'footer_form__check'
,
],
false
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
the terms of usung'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'
personal data'
)
.
'</a>.'
);
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'the terms of usung
personal data'
)
.
'</a>.'
);
?>
<?php
echo
Html
::
submitButton
(
Yii
::
t
(
'footer'
,
'Submit'
),
[
'class'
=>
'save-button popup_bt_send'
]);
?>
...
...
frontend/views/layouts/footer-index.php
View file @
bfed083d
...
...
@@ -10,7 +10,7 @@ use frontend\assets\FileUploadBundle;
FileUploadBundle
::
register
(
$this
);
?>
<footer
class=
"footer"
>
<footer
class=
"footer
footer_index
"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 col-sm-12"
>
...
...
@@ -78,12 +78,13 @@ FileUploadBundle::register($this);
<?php
echo
$form
->
field
(
$model
,
'confirm'
,
[
'template'
=>
'{input}{label}{error}{hint}'
]
)
->
checkbox
([
'id'
=>
'bid-confirm-index'
,
'checked'
=>
false
,
'required'
=>
true
,
'class'
=>
'footer_form__check'
,
],
false
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
the terms of usung'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'
personal data'
)
.
'</a>.'
);
)
->
label
(
Yii
::
t
(
'form'
,
'I agree to
'
)
.
' <a>'
.
\Yii
::
t
(
'form'
,
'the terms of usung
personal data'
)
.
'</a>.'
);
?>
<div
class=
"file-upload_block dropzone"
id=
"block_upload"
>
...
...
@@ -199,5 +200,4 @@ FileUploadBundle::register($this);
<div
class=
"up-button"
></div>
</div>
<?php
echo
$this
->
render
(
'block/callback'
);
?>
<?php
echo
$this
->
render
(
'block/callback_yandex_form'
);
?>
\ No newline at end of file
<?php
echo
$this
->
render
(
'block/callback'
);
?>
\ No newline at end of file
frontend/web/css/custom.css
View file @
bfed083d
...
...
@@ -913,7 +913,19 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
.article_short_tags
{
margin-bottom
:
14px
;
}
.bids-form
.message-box
,
.blog-bid-form
.message-box
{
.bids-form
.message-box
{
position
:
absolute
;
z-index
:
110
;
text-align
:
center
;
width
:
480px
;
left
:
50%
;
top
:
35%
;
font-size
:
18px
;
margin
:
-11px
0
0
-240px
;
display
:
none
;
line-height
:
30px
;
}
.blog-bid-form
.message-box
{
position
:
absolute
;
z-index
:
110
;
text-align
:
center
;
...
...
frontend/web/css/screen.css
View file @
bfed083d
...
...
@@ -105,6 +105,7 @@ ol {
}
body {
background: #344555;
font-size: 17px;
color: #f9f9fa;
font-family: "RobotoRegular";
...
...
frontend/web/css/style_form.css
View file @
bfed083d
...
...
@@ -263,11 +263,14 @@
/* Claud */
.claud_sec
{
background-color
:
white
!important
;
}
.claud_wrap
{
margin-top
:
20px
;
margin-bottom
:
20px
;
padding
:
20px
20px
50px
20px
;
}
.claud_box
{
background-repeat
:
no-repeat
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
...
...
@@ -322,7 +325,11 @@ body{
overflow-y
:
hidden
;
}
.footer
{
background
:
none
;
background
:
white
;
padding-top
:
0
;
}
.footer_index
{
background
:
#344555
;
}
.footer_top
{
background-image
:
url(../img_form/footer_bg.png)
;
...
...
frontend/web/js/cases.js
View file @
bfed083d
...
...
@@ -90,6 +90,7 @@ $(document).ready(function () {
if
(
!
$
(
'
.case-subscribe-email
'
).
hasClass
(
'
case-subscribe-hide
'
))
{
$
(
'
.case-subscribe-email
'
).
addClass
(
'
case-subscribe-hide
'
);
$
(
'
.case-subscribe-name
'
).
removeClass
(
'
case-subscribe-hide
'
);
$
(
'
.case-subscribe-button
'
).
css
(
'
margin-top
'
,
'
20px
'
);
}
else
{
$
(
'
.case-subscribe-name
'
).
addClass
(
'
case-subscribe-hide
'
);
$
(
'
.case-subscribe-button
'
).
hide
();
...
...
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