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
bf29c8f9
Commit
bf29c8f9
authored
Feb 01, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Подключение Яндекс карт для страницы Контакты
parent
fa61f6b9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
198 deletions
+26
-198
frontend/controllers/SiteController.php
frontend/controllers/SiteController.php
+2
-4
frontend/views/site/contacts.php
frontend/views/site/contacts.php
+24
-73
frontend/views/site/keys.php
frontend/views/site/keys.php
+0
-121
No files found.
frontend/controllers/SiteController.php
View file @
bf29c8f9
...
@@ -40,16 +40,14 @@ class SiteController extends BaseController
...
@@ -40,16 +40,14 @@ class SiteController extends BaseController
];
];
}
}
// TEMP
// TEMP
public
function
actionContacts
()
public
function
actionContacts
()
{
{
Yii
::
$app
->
controller
->
meta_title
=
'Контакты'
;
return
$this
->
render
(
'contacts'
);
return
$this
->
render
(
'contacts'
);
}
}
/**
/**
* @inheritdoc
* @inheritdoc
*/
*/
...
...
frontend/views/site/contacts.php
View file @
bf29c8f9
<?php
use
\common\models\Settings
;
?>
<script
type=
"text/javascript"
>
$
(
document
).
delegate
(
'
.show-scheme
'
,
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
$
(
'
.tab_
'
+
$
(
this
).
data
(
'
tab
'
)).
click
();
});
</script>
<section
class=
"section1_cont"
>
<section
class=
"section1_cont"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -9,22 +20,22 @@
...
@@ -9,22 +20,22 @@
<div
class=
"col-md-7 col-xs-6 col-sm 12"
>
<div
class=
"col-md-7 col-xs-6 col-sm 12"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block__city"
>
Москва
</div>
<div
class=
"cont_block__city"
>
Москва
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон:
</strong>
+7 (495) 749 29 69
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-moscow'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
info@task-on.com
</div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
<?=
Settings
::
getValue
(
'contacts-email-moscow'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
119270, РФ, г. Москва, Лужнецкая
<br/>
набережная, д. 10 а, стр. 2
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-moscow'
)
?>
</div>
</div>
</div>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto"
>
Смотреть схему
</a>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto
show-scheme"
data-tab=
"moscow
"
>
Смотреть схему
</a>
</div>
</div>
<div
class=
"col-md-5 col-xs-6 col-sm 12"
>
<div
class=
"col-md-5 col-xs-6 col-sm 12"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block__city"
>
Казань
</div>
<div
class=
"cont_block__city"
>
Казань
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон:
</strong>
+7 (123) 456 78 90
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-kazan'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
info@task-on.com
</div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
<?=
Settings
::
getValue
(
'contacts-email-kazan'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
000000, РФ, г. Иннополис,
<br/>
ул. Спортивная, д. 114 офис 1001
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-kazan'
)
?>
</div>
</div>
</div>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto"
>
Смотреть схему
</a>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto
show-scheme"
data-tab=
"kazan
"
>
Смотреть схему
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -99,80 +110,20 @@
...
@@ -99,80 +110,20 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<div
class=
"tabs"
>
<div
class=
"tabs"
>
<span
class=
"tab_map"
id=
"tabmap"
>
Офис в Москве
</span>
<span
class=
"tab_map
tab_moscow
"
id=
"tabmap"
>
Офис в Москве
</span>
<span
class=
"tab_map tab_kaz"
id=
"tabmap"
>
Офис в Казани
</span>
<span
class=
"tab_map tab_kaz
tab_kazan
"
id=
"tabmap"
>
Офис в Казани
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"tab_content"
>
<div
class=
"tab_content"
>
<div
class=
"tab_item"
>
<div
class=
"tab_item"
>
<
img
src=
"images/map.jpg"
height=
"748"
width=
"1920"
alt=
""
>
<
script
type=
"text/javascript"
charset=
"utf-8"
src=
"https://api-maps.yandex.ru/services/constructor/1.0/js/?sid=jveK6t8L7J1BKM3o0k5YmCnIWydO3XlL&width=100%&height=748&lang=ru_RU&sourceType=constructor"
></script
>
</div>
</div>
<div
class=
"tab_item"
>
<div
class=
"tab_item"
>
<
img
src=
"images/map.jpg"
height=
"748"
width=
"1920"
alt=
""
>
<
script
type=
"text/javascript"
charset=
"utf-8"
src=
"https://api-maps.yandex.ru/services/constructor/1.0/js/?sid=51Gk2ZrvMjLJwxMtXmutdv6NEuVUlztK&width=100%&height=748&lang=ru_RU&sourceType=constructor"
></script
>
</div>
</div>
</div>
</div>
</section>
</section>
<footer
style=
"padding-top:70px"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<a
href=
"mailto:info@task-on.com"
class=
"foot_mail"
>
info@task-on.com
</a>
</div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
><a
href=
"#zvonok_form"
class=
"zvonok_bt popup-form"
><span>
Заказать звонок
</span></a></div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<div
class=
"phone_hover_foot"
>
Стоимость звонка 0 руб,
<br/>
в том числе с мобильного
</div>
<span
class=
"foot_phone"
>
8-800-2000-600
</span>
</div>
</div>
<div
class=
"footbottom_line"
>
<div
class=
"row"
>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"foot_logo"
>
<img
src=
"images/foot_logo.png"
height=
"51"
width=
"192"
alt=
""
>
</div>
</div>
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<ul
class=
"social_link"
>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-vk"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fbicon"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-youtube"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-instagram"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-twitter"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"gplusicon"
></i></a></li>
</ul>
</div>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"taskon"
><img
src=
"images/taskon.png"
height=
"31"
width=
"100"
alt=
""
></div>
<div
class=
"copyring"
>
Powered by Taskon
<br
/>
Собственная разработка Арт Проект
</div>
</div>
</div>
</div>
</div>
</footer>
<div
class=
"hidden"
>
<?php
echo
$this
->
render
(
'@app/views/layouts/footer'
);
?>
<div
id=
"zvonok_form"
class=
"popup"
>
\ No newline at end of file
<!-- <div class="txtbtnclose">Закрыть</div> -->
<span
class=
"popup__title"
>
Заказать звонок
</span>
<span
class=
"popup__subtittle"
>
Чтобы мы могли вам перезвонить укажите свой номер телефона:
</span>
<form
class=
"valid_form"
>
<input
type=
"text"
class=
"input_st field-input required alphanumeric"
placeholder=
"Ваше имя"
>
<input
type=
"tel"
class=
"input_st field-input required email"
placeholder=
"Ваш телефон"
>
<button
class=
"save-button popup_bt_send"
>
Заказать звонок
</button>
</form>
</div>
<div
id=
"reg_form"
class=
"popup"
>
<!-- <div class="txtbtnclose">Закрыть</div> -->
<span
class=
"popup__title"
>
Регистрация
</span>
<form
class=
"validreg_form"
>
<input
type=
"text"
class=
"input_st field-input required alphanumeric"
placeholder=
"Имя Фамилия"
>
<input
type=
"tel"
class=
"input_st field-input required alphanumeric"
placeholder=
"Телефон"
>
<input
type=
"email"
class=
"input_st field-input required email"
placeholder=
"E-mail"
>
<input
type=
"password"
class=
"input_st field-input required alphanumeric"
placeholder=
"Придумайте пароль"
>
<input
type=
"password"
class=
"input_st field-input required alphanumeric"
placeholder=
"Повторите пароль"
>
<button
class=
"save-button popup_bt_send"
>
Зарегистрироваться
</button>
</form>
</div>
</div>
\ No newline at end of file
frontend/views/site/keys.php
deleted
100644 → 0
View file @
fa61f6b9
<section
class=
"keys_list_bl"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<h1>
Кейсы нашей компании
</h1>
<p>
Здесь представлены проекты, которые нам запомнились или стали историей не только для наших заказчиков, но и для нашей команды в целом.
</p>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<div
class=
"keys_block_small"
>
<img
src=
"images/keys_small1.jpg"
height=
"338"
width=
"455"
alt=
""
>
<div
class=
"keys_small_title"
>
Он-лайн сервис по подбору аналогов оборудования
</div>
<div
class=
"keys_small_foot"
>
<a
href=
"http://mikulin.cz/project/artproject/keys_kns.html"
class=
"keys_small_btn_more"
><span>
Подробнее
</span></a>
<a
href=
"#"
class=
"keys_small_tags"
>
# Big data
</a>
</div>
</div>
</div>
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<div
class=
"keys_block_small"
>
<img
src=
"images/keys_small2.jpg"
height=
"338"
width=
"455"
alt=
""
>
<div
class=
"keys_small_title"
>
Автоматизация освещения на АЗС
</div>
<div
class=
"keys_small_foot"
>
<a
href=
"#"
class=
"keys_small_btn_more"
><span>
Подробнее
</span></a>
<a
href=
"#"
class=
"keys_small_tags"
>
# Big data
</a>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<div
class=
"keys_block_big"
>
<picture>
<source
srcset=
"images/keys_big338.jpg"
media=
"(max-width: 768px)"
>
<img
src=
"images/keys_big1.jpg"
height=
"338"
width=
"940"
alt=
""
>
</picture>
<div
class=
"keys_small_title"
>
Он-лайн сервис по подбору аналогов оборудования
</div>
<div
class=
"keys_small_foot"
>
<a
href=
"#"
class=
"keys_small_btn_more"
><span>
Подробнее
</span></a>
<a
href=
"#"
class=
"keys_small_tags"
>
# Big data
</a>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-12 col-xs-12 col-sm-12"
>
<div
class=
"keys_send_mail"
>
<p>
Процесс создания кейса очень трудоемкий.Поэтому мы занимаемся созданием кейсов свободное от работы время. Подпишитесь, чтобы следить за обновлениями.
</p>
<form
class=
"keys_mail_form"
>
<input
type=
"email"
placeholder=
"E-mail*"
class=
"field-input required email"
></input>
<button
class=
"save-button"
>
Подписаться
</button>
</form>
<div
class=
"send_secce"
>
Вы успешно подписались на обновление раздела «Кейсы». Нам приятно, что вы следите за нашим развитием :-)
</div>
</div>
</div>
</div>
</div>
</section>
<footer
style=
"padding-top:70px"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<a
href=
"mailto:info@task-on.com"
class=
"foot_mail"
>
info@task-on.com
</a>
</div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
><a
href=
"#zvonok_form"
class=
"zvonok_bt popup-form"
><span>
Заказать звонок
</span></a></div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<div
class=
"phone_hover_foot"
>
Стоимость звонка 0 руб,
<br/>
в том числе с мобильного
</div>
<span
class=
"foot_phone"
>
8-800-2000-600
</span>
</div>
</div>
<div
class=
"footbottom_line"
>
<div
class=
"row"
>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"foot_logo"
>
<img
src=
"images/foot_logo.png"
height=
"51"
width=
"192"
alt=
""
>
</div>
</div>
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<ul
class=
"social_link"
>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-vk"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fbicon"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-youtube"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-instagram"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"fa fa-twitter"
></i></a></li>
<li><a
href=
"#"
class=
"soc_item"
><i
class=
"gplusicon"
></i></a></li>
</ul>
</div>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"taskon"
><img
src=
"images/taskon.png"
height=
"31"
width=
"100"
alt=
""
></div>
<div
class=
"copyring"
>
Powered by Taskon
<br
/>
Собственная разработка Арт Проект
</div>
</div>
</div>
</div>
</div>
</footer>
<div
class=
"hidden"
>
<div
id=
"zvonok_form"
class=
"popup"
>
<!-- <div class="txtbtnclose">Закрыть</div> -->
<span
class=
"popup__title"
>
Заказать звонок
</span>
<span
class=
"popup__subtittle"
>
Чтобы мы могли вам перезвонить укажите свой номер телефона:
</span>
<form
class=
"valid_form"
>
<input
type=
"text"
class=
"input_st field-input required alphanumeric"
placeholder=
"Ваше имя"
>
<input
type=
"tel"
class=
"input_st field-input required email"
placeholder=
"Ваш телефон"
>
<button
class=
"save-button popup_bt_send"
>
Заказать звонок
</button>
</form>
</div>
<div
id=
"reg_form"
class=
"popup"
>
<!-- <div class="txtbtnclose">Закрыть</div> -->
<span
class=
"popup__title"
>
Регистрация
</span>
<form
class=
"validreg_form"
>
<input
type=
"text"
class=
"input_st field-input required alphanumeric"
placeholder=
"Имя Фамилия"
>
<input
type=
"tel"
class=
"input_st field-input required alphanumeric"
placeholder=
"Телефон"
>
<input
type=
"email"
class=
"input_st field-input required email"
placeholder=
"E-mail"
>
<input
type=
"password"
class=
"input_st field-input required alphanumeric"
placeholder=
"Придумайте пароль"
>
<input
type=
"password"
class=
"input_st field-input required alphanumeric"
placeholder=
"Повторите пароль"
>
<button
class=
"save-button popup_bt_send"
>
Зарегистрироваться
</button>
</form>
</div>
</div>
\ 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