Commit 64937055 authored by Олег Гиммельшпах's avatar Олег Гиммельшпах

Merge branch 'master' of git.task-on.com:ktask/taskoncom

parents ef8d0376 a967e511
...@@ -22,6 +22,7 @@ $(function () ...@@ -22,6 +22,7 @@ $(function ()
//toolbar : false, //关闭工具栏 //toolbar : false, //关闭工具栏
//previewCodeHighlight : false, // 关闭预览 HTML 的代码块高亮,默认开启 //previewCodeHighlight : false, // 关闭预览 HTML 的代码块高亮,默认开启
// emoji: true, // emoji: true,
atLink: false,
taskList: true, taskList: true,
tocm: true, // Using [TOCM] tocm: true, // Using [TOCM]
tex: true, // 开启科学公式TeX语言支持,默认关闭 tex: true, // 开启科学公式TeX语言支持,默认关闭
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
clear : "Clear", clear : "Clear",
search : "Search", search : "Search",
help : "Help", help : "Help",
carousel : "Carousel",
info : "About " + exports.title info : "About " + exports.title
}, },
buttons : { buttons : {
......
...@@ -86,7 +86,7 @@ class Bid extends \common\components\ActiveRecordModel ...@@ -86,7 +86,7 @@ class Bid extends \common\components\ActiveRecordModel
[['name', 'phone'], 'required', 'on' => self::SCENARIO_CALLBACK], [['name', 'phone'], 'required', 'on' => self::SCENARIO_CALLBACK],
[['name', 'message', 'text'], 'required', 'on' => self::SCENARIO_DOCUMENTATION], [['name', 'message', 'text','email'], 'required', 'on' => self::SCENARIO_DOCUMENTATION],
[['phone'], 'required', 'on' => self::SCENARIO_BUSINESS], [['phone'], 'required', 'on' => self::SCENARIO_BUSINESS],
......
...@@ -1729,7 +1729,7 @@ footer .phone_hover_head { ...@@ -1729,7 +1729,7 @@ footer .phone_hover_head {
margin-right: 10px; margin-right: 10px;
margin-top: 2px; margin-top: 2px;
} }
.footer_info { .footer_info {..
color: #93f82f; color: #93f82f;
font-size: 15px; font-size: 15px;
text-decoration: underline; text-decoration: underline;
......
...@@ -4,9 +4,10 @@ ...@@ -4,9 +4,10 @@
* Theme Styles * Theme Styles
*/ */
/* эту стиле лучше в вверху поменять */
body { body {
font-family: "RobotoRegular" !important; font-family: "RobotoRegular" !important;
color: #5a5a5a !important; color: #0a0a0a !important;
} }
header { header {
color: #ffffff; color: #ffffff;
...@@ -34,8 +35,9 @@ header { ...@@ -34,8 +35,9 @@ header {
top: -2px; top: -2px;
} }
.offcanvas-wrapper p { .offcanvas-wrapper p {
font-size: 15px; font-size: 17px;
line-height: 24px; line-height: 28px;
color: #0a0a0a;
} }
.offcanvas-wrapper ol:not([class]) { .offcanvas-wrapper ol:not([class]) {
/*list-style: decimal outside ; /*list-style: decimal outside ;
...@@ -43,11 +45,11 @@ header { ...@@ -43,11 +45,11 @@ header {
counter-reset: myCounter; counter-reset: myCounter;
padding-left: 25px; padding-left: 25px;
} }
.offcanvas-wrapper ol:not([class]) li { .offcanvas-wrapper ol:not([class])>li {
position: relative; position: relative;
margin-bottom: 8px; margin-bottom: 8px;
} }
.offcanvas-wrapper ol:not([class]) li:before { .offcanvas-wrapper ol:not([class])>li:before {
counter-increment: myCounter; counter-increment: myCounter;
content:counter(myCounter); content:counter(myCounter);
/*color: #2980B9;*/ /*color: #2980B9;*/
...@@ -5781,7 +5783,7 @@ video { ...@@ -5781,7 +5783,7 @@ video {
.isotope-grid:not(.filter-grid) { .isotope-grid:not(.filter-grid) {
min-height: 180px; min-height: 180px;
background-position: center; background-position: center;
background-image: url(../img/loading.gif); background-image: url(../images/loading.gif);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 74px; background-size: 74px;
} }
...@@ -7006,6 +7008,9 @@ video { ...@@ -7006,6 +7008,9 @@ video {
max-width: 100%; max-width: 100%;
padding: 10px 15px; padding: 10px 15px;
} }
.tooltip {
left: 9px !important;
}
.user-info-wrapper .info-label { .user-info-wrapper .info-label {
display: block; display: block;
...@@ -8119,6 +8124,18 @@ video { ...@@ -8119,6 +8124,18 @@ video {
border-color: #2d323a; border-color: #2d323a;
color: #fff; color: #fff;
} }
/* add */
.offcanvas-wrapper {
font-size: 15px;
line-height: 24px;
}
.txtbtnclose {
top: 11px;
}
.promo_title {
font-size: 22px;
}
#modalBlogSidebar { #modalBlogSidebar {
opacity: 1 !important; opacity: 1 !important;
} }
...@@ -8131,6 +8148,358 @@ video { ...@@ -8131,6 +8148,358 @@ video {
-ms-transform: translate(0, 0px); -ms-transform: translate(0, 0px);
transform: translate(0, 0px); transform: translate(0, 0px);
} }
.tooltip.fade.in{ .offcanvas-wrapper ol:not([class]) {
opacity: 1!important padding-left: 35px;
}
.offcanvas-wrapper ol:not([class])>li:before {
font-size: 15px;
font-family: "RobotoBold";
background: #00AEC7;
display: inline-block;
text-align: center;
top: 1px;
left: -35px;
line-height: 23px;
width: auto;
min-width: 23px;
padding: 0 4px;
height: 23px;
border: none;
color: #ffffff;
border-radius: 11px;
}
.offcanvas-wrapper ul:not([class]),
.offcanvas-wrapper ol:not([class]) {
margin-bottom: 20px;
font-size: 17px;
line-height: 28px;
color: #0a0a0a;
}
.offcanvas-wrapper p + ul:not([class]),
.offcanvas-wrapper p + ol:not([class]) {
margin-top: -15px;
}
.offcanvas-wrapper ol:not([class]) ol:not([class]) {
counter-reset: myCounterIn;
padding-left: 25px;
}
.offcanvas-wrapper ol:not([class])>li ol:not([class])>li:before {
counter-increment: myCounterIn;
content: counter(myCounter) "."counter(myCounterIn);
font-size: 12px;
font-weight: bold;
}
ol.linenums {
padding-left: 35px;
list-style: decimal;
}
.offcanvas-wrapper ul:not([class]) {
list-style: none;
padding-left: 0;
}
.offcanvas-wrapper ul:not([class])>li {
background: url(../images/ul_list_blue.png) no-repeat left 6px;;
padding-left: 30px;
}
.offcanvas-wrapper table:not([class]) {
margin-bottom: 20px;
}
.offcanvas-wrapper table:not([class]) tr th {
background-color: transparent;
border: none;
border-bottom: 2px solid #dee2e6;
border-top: 1px solid #dee2e6;
padding: .75rem;
}
.offcanvas-wrapper table:not([class]) tr td {
border-top: 1px solid #dee2e6;
padding: .75rem;
}
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
list-style-type: decimal;
}
.text-muted {
font-size: 16px;
}
.faq_sec .way a {
text-decoration: none;
}
.faq_sec .way {
font-size: 13px;
color: #b4b4b4;
}
.faq_sec .way span {
padding: 0 15px;
}
.faq_sec .way a:hover{
color: #323232;
}
.offcanvas-wrapper blockquote{
padding: 25px 35px;
position: relative;
/*font-style: italic;*/
font-size: 14px;
line-height: 24px;
color: #050505;
border-radius: 0 5px 5px 0;
background-color: #bce094;
}
.offcanvas-wrapper blockquote p {
font-size: 14px;
line-height: 24px;
}
.offcanvas-wrapper blockquote:not(:last-child){
margin-bottom: 20px;
}
.offcanvas-wrapper blockquote:before{
content: '';
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 7px;
background-color: #67ac1d;
}
.offcanvas-wrapper blockquote.pink {
background-color: #ffb0ae;
}
.offcanvas-wrapper blockquote.pink:before{
background-color: #ff5b57;
}
.offcanvas-wrapper blockquote.blue {
background-color: #bde7e5;
}
.offcanvas-wrapper blockquote.blue:before{
background-color: #2a8e89;
}
.top_line_inf2 {
min-height: 44px;
background-color: #051922;
}
.top_line_icon {
display: block;
position: absolute;
left: 0px;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.icon_info_new {
width: 24px;
height: 24px;
background: url(../images/icon_info_new.png) 0 0 no-repeat;
}
.icon_video_new {
width: 23px;
height: 18px;
background: url(../images/icon_video_new.png) 0 0 no-repeat;
}
.icon_doc_new {
width:18px;
height: 24px;
background: url(../images/icon_doc_new.png) 0 0 no-repeat;
}
.top_line_inf2 li {
display: inline-block;
border-right: 1px solid #0e3242;
position: relative;
margin-left: 20px;
}
.top_line_inf2 li:last-child {
border: none;
}
.top_line_inf2 li a {
color: #fffcf4;
font-size: 13px;
line-height: 25px;
padding: 10px 20px;
padding-left: 35px;
display: inline-block;
text-decoration: none;
-webkit-transition: all 0s;
-o-transition: all 0s;
transition: all 0s;
}
.top_line_inf2 li:first-child {
margin-left: 0px;
}
.top_line_inf2 li a:hover {
text-decoration: none;
color: #6def0d;
}
.top_line_inf2 li a:hover span {
background-position: 0 100%;
}
.top_line_inf2 li.active a {
text-decoration: none;
color: #6def0d;
}
.top_line_inf2 li.active a span {
background-position: 0 100%;
}
.top_line_inf2 li.active:after {
position: absolute;
content: '';
left: 50%;
margin-left: -3px;
bottom: -6px;
width: 0px;
height: 0px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #051922;
}
@media only screen and (max-width: 1000px) {
.top_line_inf2 li {
display: block;
margin-left: 0;
}
}
.image-popuped{
cursor:pointer;
max-width: 100%;
}
.token.comment {
display: inline;
margin-bottom: 0;
}
/* add 02.04.19 */
.promo-box {
background-position: 0 100%;
background-size: 150% auto;
border-radius: 0 0 5px 5px ;
}
.promo_title {
line-height: 34px;
}
.offcanvas-wrapper p {
font-size: 13px;
}
.btn_green_sm {
display: inline-block;
outline: none;
background-color: #67ac1d;
color: #fff !important;
font-size: 14px;
line-height: 20px;
text-align: center;
padding: 12px 20px;
border-radius: 3px;
margin-bottom: 10px;
border: none;
font-family: "RobotoRegular" !important;
}
.btn_green_sm:hover{
background-color: #7bd619;
color: #fff;
}
.btn_info_box {
height: 60px;
display: block;
position: relative;
background-color: #f3f5f7;
border-radius: 0 5px 5px 70px;
margin-left: 8px;
}
.btn_info_box span {
top: 50%;
right: 0;
left: auto;
position: absolute;
display: block;
font-family: "RobotoBold";
z-index: 4;
padding-left: 5px;
padding-right: 60px;
font-size: 13px;
line-height: 18px;
color: #243340;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.btn_info_box:after {
content: '';
display: block;
position: absolute;
z-index: 2;
right: 15px;
top: 50%;
width: 42px;
height: 33px;
background: url(../images/btn_info_box_icon_arrow.png) 0 0 no-repeat;
background-size: 100% 100%;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.btn_info_box:before {
content: '';
display: block;
z-index: 3;
position: absolute;
top: 50%;
left: -8px;
/*height: 94px;
width: 115px;
background: url(../images/btn_info_box_icon.png) 0 0 no-repeat;*/
height: 75px;
width: 92px;
background: url(../images/btn_info_box_icon.png) 0 0 no-repeat;
background-size: 100% 100%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.btn_info_box:hover:after {
right: 8px;
}
@media only screen and (max-width: 970px) and (min-width: 768px) {
.btn_info_box span {
font-size: 16px;
line-height: 20px;
}
}
.icon_like {
background: url(../images/icon_like.png) 0 center no-repeat;
}
.icon_not_like {
background: url(../images/icon_not_like.png) 0 center no-repeat;
}
.top_line_inf2 ul {
margin-bottom: 0 !important;
padding-left: 0 !important;
} }
\ No newline at end of file
...@@ -6,8 +6,24 @@ $(function () ...@@ -6,8 +6,24 @@ $(function ()
var listOfImages = []; var listOfImages = [];
$(this).find('img').each(function () $(this).find('img').each(function ()
{ {
listOfImages.push('<figure><img src="' + $(this).attr('src') + '" alt="' + $(this).attr('alt') + '"><figcaption class="text-white">' + $(this).attr('title') + '</figcaption></figure>') var alt = $(this).attr('alt');
if (typeof alt === "undefined")
alt = '';
listOfImages.push('<figure><img class="container_documentation_owl_img" src="' + $(this).attr('src') + '" alt="' + alt + '"><figcaption class="text-white">' + alt + '</figcaption></figure>')
}) })
$(this).html(listOfImages.join('')).removeClass('owl-carousel-need-replace hidden'); $(this).html(listOfImages.join('')).removeClass('owl-carousel-need-replace hidden');
}) })
$('.container_documentation .container_documentation_right').find('img:not(".container_documentation_owl_img")').addClass('image-popuped').click(function ()
{
$.magnificPopup.open({
items: {
src: $(this).attr('src')
},
image: {
cursor: 'pointer',
},
type: 'image'
});
});
}) })
\ No newline at end of file
...@@ -91,9 +91,9 @@ class PageController extends \common\components\BaseController ...@@ -91,9 +91,9 @@ class PageController extends \common\components\BaseController
'html' => '@common/modules/blog/mail/messageBlog-html', 'html' => '@common/modules/blog/mail/messageBlog-html',
'text' => '@common/modules/blog/mail/messageBlog-text'], ['model' => $model] 'text' => '@common/modules/blog/mail/messageBlog-text'], ['model' => $model]
) )
->setFrom([\common\models\Settings::getValue('bids-support-email-from') => 'Блог Task-On']) ->setFrom([\common\models\Settings::getValue('bids-support-email-from') => 'Запрос на интеграцию'])
->setTo(\common\models\Settings::getValue('article-email')) ->setTo(\common\models\Settings::getValue('article-email'))
->setSubject("Заявка на подключения к TaskOn - " . $model->primaryKey) ->setSubject("Запрос на интеграция TaskOn2 - " . $model->primaryKey)
->send(); ->send();
$transaction->commit(); $transaction->commit();
......
...@@ -71,7 +71,7 @@ class DocContent extends \yii\db\ActiveRecord ...@@ -71,7 +71,7 @@ class DocContent extends \yii\db\ActiveRecord
public function rules() public function rules()
{ {
return [ return [
[['list_id'], 'required'], [['list_id','priority'], 'required'],
[['list_id'], 'integer'], [['list_id'], 'integer'],
[[ 'priority'], 'number'], [[ 'priority'], 'number'],
[['list_id'], 'exist', 'skipOnError' => true, 'targetClass' => DocList::className(), 'targetAttribute' => ['list_id' => 'id']], [['list_id'], 'exist', 'skipOnError' => true, 'targetClass' => DocList::className(), 'targetAttribute' => ['list_id' => 'id']],
......
...@@ -226,22 +226,8 @@ class DocList extends \yii\db\ActiveRecord ...@@ -226,22 +226,8 @@ class DocList extends \yii\db\ActiveRecord
public function getFormatedCreatedAt() public function getFormatedCreatedAt()
{ {
$mt = [
'01' => 'января',
'02' => 'февраля',
'03' => 'марта',
'04' => 'апреля',
'05' => 'мая',
'06' => 'июня',
'07' => 'июля',
'08' => 'августа',
'09' => 'сентября',
'10' => 'октября',
'11' => 'ноября',
'12' => 'декабря',
];
if (Yii::$app->language == 'ru-RU') if (Yii::$app->language == 'ru-RU')
return date('d ' . $mt[date('m', $this->created_at)] . ' Y г.', $this->created_at); return date('d.m.Y г.', $this->created_at);
return Yii::$app->formatter->asDate($this->created_at, "medium"); return Yii::$app->formatter->asDate($this->created_at, "medium");
} }
......
...@@ -83,7 +83,7 @@ class SearchDocContent extends DocContent ...@@ -83,7 +83,7 @@ class SearchDocContent extends DocContent
'priority' => $this->priority, 'priority' => $this->priority,
]); ]);
// $query->andFilterWhere(['like', 'doc_content_lang.url', $this->url]); $query->andFilterWhere(['like', 'doc_content_lang.url', $this->url]);
// $query->andFilterWhere(['likef', 'doc_content_lang.name', $this->name]); // $query->andFilterWhere(['likef', 'doc_content_lang.name', $this->name]);
return $dataProvider; return $dataProvider;
......
...@@ -9,6 +9,7 @@ use common\modules\documentation\models\DocList; ...@@ -9,6 +9,7 @@ use common\modules\documentation\models\DocList;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $searchModel common\modules\documentation\models\SearchCoContent */ /* @var $searchModel common\modules\documentation\models\SearchCoContent */
/* @var $dataProvider yii\data\ActiveDataProvider */ /* @var $dataProvider yii\data\ActiveDataProvider */
$modelDocList = new DocList();
?> ?>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?> <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
...@@ -35,7 +36,8 @@ use common\modules\documentation\models\DocList; ...@@ -35,7 +36,8 @@ use common\modules\documentation\models\DocList;
], ],
[ [
'attribute' => 'list_id', 'attribute' => 'list_id',
'filter' => ArrayHelper::map(DocList::find()->all(), 'id', 'name'), // 'filter' => ArrayHelper::map(DocList::find()->all(), 'id', 'lang.name'),
'filter' => $modelDocList->getParentList($searchModel->list, 0, 0, true),
'format' => 'text', 'format' => 'text',
'value' => function($data) { 'value' => function($data) {
if ($data->list && $data->list->lang) if ($data->list && $data->list->lang)
......
...@@ -50,7 +50,7 @@ $blocks = \common\modules\content\models\CoBlocks::find()->all(); ...@@ -50,7 +50,7 @@ $blocks = \common\modules\content\models\CoBlocks::find()->all();
<?= $form->field($model, 'parent_id')->dropDownList($model->getParentList($model), ['class' => 'form-control', 'prompt' => 'Выберите родительский раздел']) ?> <?= $form->field($model, 'parent_id')->dropDownList($model->getParentList($model), ['class' => 'form-control', 'prompt' => 'Выберите родительский раздел']) ?>
<?= <?=
$form->field($model, 'active', [ $form->field($model, 'active', [
'template' => '{input}<a href="#" class="btn btn-xs btn-success m-l-5 disabled">Пункт меню скрыт от пользователя / Пункт меню виднен для пользователю</a>' 'template' => '{input}<a href="#" class="btn btn-xs btn-success m-l-5 disabled">Пункт меню скрыт от пользователя / Пункт меню виден для пользователя</a>'
])->checkbox([ ])->checkbox([
'data-theme' => 'self', 'data-theme' => 'self',
'data-render' => 'switchery', 'data-render' => 'switchery',
......
...@@ -47,7 +47,7 @@ $parentList = $searchModel->getParentList($searchModel, 0, 0, true); ...@@ -47,7 +47,7 @@ $parentList = $searchModel->getParentList($searchModel, 0, 0, true);
[ [
'attribute' => 'active', 'attribute' => 'active',
'value' => function($model) { 'value' => function($model) {
$list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виднен для пользователю']; $list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виден для пользователя'];
return ArrayHelper::getValue($list, $model->active); return ArrayHelper::getValue($list, $model->active);
} }
], ],
......
...@@ -52,7 +52,7 @@ SortableGridView::widget([ ...@@ -52,7 +52,7 @@ SortableGridView::widget([
'header' => $searchModel->getAttributeLabel('active'), 'header' => $searchModel->getAttributeLabel('active'),
'attribute' => 'active', 'attribute' => 'active',
'value' => function($model) { 'value' => function($model) {
$list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виднен для пользователю']; $list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виден для пользователя'];
return ArrayHelper::getValue($list, $model->active); return ArrayHelper::getValue($list, $model->active);
} }
], ],
......
...@@ -47,7 +47,7 @@ DetailView::widget([ ...@@ -47,7 +47,7 @@ DetailView::widget([
[ [
'attribute' => 'active', 'attribute' => 'active',
'value' => function($model) { 'value' => function($model) {
$list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виднен для пользователю']; $list = ['0' => 'Пункт меню скрыт от пользователя ', '1' => 'Пункт меню виден для пользователя'];
return ArrayHelper::getValue($list, $model->active); return ArrayHelper::getValue($list, $model->active);
} }
], ],
......
...@@ -8,8 +8,8 @@ use common\modules\bids\models\Bid; ...@@ -8,8 +8,8 @@ use common\modules\bids\models\Bid;
<div id="request_access" class="popup popup_2 blog_form_2"> <div id="request_access" class="popup popup_2 blog_form_2">
<div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div> <div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div>
<span class="popup__title"><?= \Yii::t('blog', 'Connection request') ?></span> <span class="popup__title"><?= \Yii::t('blog', 'Connection request') ?></span>
<p><strong><?= \Yii::t('blog', 'Access to the repository (the source code platform Task On 2) is sent on request. Detailed documentation can be found in the "<a href="/platforma-taskon">Developer Guide </a>"') ?></strong></p> <p><strong><?= \Yii::t('blog', 'Access to the repository (the source code platform Task On 2) is sent on request.') ?></strong></p>
<br>
<?php <?php
$model = new Bid(); $model = new Bid();
......
...@@ -59,15 +59,18 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -59,15 +59,18 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</div> </div>
<div class="text-center"> <div class="text-center">
<div class="promo_txt"> <div class="promo_txt">
<p class="text-thin">Отправьте заявку на расчет</p> <p class="text-thin">Отправить заявку на доступ</p>
</div> </div>
<a class="btn btn-promo btn-long popup-form" href="#request_access"> <a class="btn_green_sm btn-long popup-form" href="#request_access">
<!--Запросить расчет--> <!--Запросить расчет-->
Запросить доступ Запросить доступ
</a> </a>
</div> </div>
</div> </div>
</section> </section>
<!-- new 02.04.19 -->
<a href="http://demo.task-on.com/?utm_source=task-oncom&utm_medium=cpc&utm_campaign=docprogrammer&utm_term=demo" target="_blank" class="btn_info_box margin-top-1x"><span>Демо-доступ к платформе TaskOn 2</span></a>
<!-- new end 02.04.19 -->
</div> </div>
</div> </div>
</div> </div>
...@@ -81,15 +84,28 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -81,15 +84,28 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<div class="faq_sec"> <div class="faq_sec">
<div class="top_line_inf"> <div class="top_line_inf2">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<ul> <ul>
<li class="active"> <li>
<a href="/faq"> <a href="/faq">
<span class="icon_info_2"> <span class="top_line_icon icon_info_new"></span>
</span>Руководство пользователя </a> Справка для пользователя
</a>
</li>
<li class="active">
<a href="/<?= common\models\Settings::getValue('documentation-home-page') ?>">
<span class="top_line_icon icon_doc_new"></span>
Документация для разработчика
</a>
</li>
<li>
<a href="/faq/video">
<span class="top_line_icon icon_video_new"></span>
Видео-инструкции
</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -102,8 +118,6 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -102,8 +118,6 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<div class="way"> <div class="way">
<a href="/">Главная</a> <a href="/">Главная</a>
<span>|</span> <span>|</span>
<a href="/faq">Руководство пользователя</a>
<span>|</span>
<a href="/<?= common\models\Settings::getValue('documentation-home-page') ?>">Документаци для разраотчиков</a> <a href="/<?= common\models\Settings::getValue('documentation-home-page') ?>">Документаци для разраотчиков</a>
<span>|</span> <?php echo $modelContent->name ?><br> <br> <span>|</span> <?php echo $modelContent->name ?><br> <br>
</div> </div>
...@@ -118,17 +132,17 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -118,17 +132,17 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<div class="container padding-bottom-3x mb-2"> <div class="container padding-bottom-3x mb-2">
<div class="row"> <div class="row">
<!-- Content--> <!-- Content-->
<div class="col-xl-8 col-lg-7 order-lg-2"> <div class="col-xl-9 col-lg-8 order-lg-2">
<!-- Post--> <!-- Post-->
<h1><?php echo $modelContent->name ?></h1> <h1><?php echo $modelContent->name ?></h1>
<div class="single-post-meta"> <div class="single-post-meta">
<div class="meta-link"><i class="icon-clock"></i> <?= $model->list->getFormatedCreatedAt() ?></div> <div class="meta-link"><i class="icon-clock"></i> Обновлено: <?= $model->list->getFormatedCreatedAt() ?></div>
</div> </div>
<?php echo $modelContent->html ?> <?php echo str_replace(['<!-- ¿¿¿CAROUSEL_BEGIN¿¿¿ -->', '<!-- ¿¿¿CAROUSEL_END¿¿¿ -->'], ['<div class="owl-carousel owl-carousel-need-replace hidden" data-owl-carousel="{ &quot;nav&quot;: true, &quot;dots&quot;: true, &quot;loop&quot;: true }">', '</div>'], $modelContent->html) ?>
<div class="single-post-footer"> <div class="single-post-footer">
<div class="column"> <div class="column">
...@@ -174,7 +188,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -174,7 +188,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</div> </div>
<!-- Sidebar --> <!-- Sidebar -->
<div class="col-xl-4 col-lg-5 order-lg-1"> <div class="col-xl-3 col-lg-4 order-lg-1">
<button class="sidebar-toggle position-left" data-toggle="modal" data-target="#modalBlogSidebar"><i class="icon-layout"></i></button> <button class="sidebar-toggle position-left" data-toggle="modal" data-target="#modalBlogSidebar"><i class="icon-layout"></i></button>
<aside class="sidebar sidebar-offcanvas"> <aside class="sidebar sidebar-offcanvas">
<!-- Widget Categories--> <!-- Widget Categories-->
...@@ -187,24 +201,28 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -187,24 +201,28 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</section> </section>
<!-- Promo Banner--> <!-- Promo Banner-->
<section class="promo-box" style="background-image: url(/images/promo-box/promo_box_bg.jpg);"> <section class="promo-box" style="background-image: url(/images/faq/blockquote_box_line.png);">
<!-- Choose between .overlay-dark (#000) or .overlay-light (#fff) with default opacity of 50%. You can overrride default color and opacity values via 'style' attribute.--><!-- <span class="overlay-dark" style="opacity: .35;"></span> --> <!-- Choose between .overlay-dark (#000) or .overlay-light (#fff) with default opacity of 50%. You can overrride default color and opacity values via 'style' attribute.--><!-- <span class="overlay-dark" style="opacity: .35;"></span> -->
<div class="promo-box-content padding-top-1x padding-bottom-1x"> <div class="promo-box-content padding-top-1x padding-bottom-1x">
<h4 class="promo_title"><span>Заказать</span> <br> <span>разработку на</span> <br> <span>платформе</span></h4> <h4 class="promo_title"><span>Скачать</span> <br> <span>платформу</span> <br> <span>TaskOn 2</span></h4>
<div class="promo_logo"> <div class="promo_logo">
<img src="/images/promo-box/promo_logo.png" alt=""> <img src="/images/promo-box/promo_logo.png" alt="">
</div> </div>
<div class="text-center"> <div class="text-center">
<div class="promo_txt"> <div class="promo_txt">
<p class="text-thin">Отправьте заявку на расчет</p> <p class="text-thin">Отправить заявку на доступ</p>
</div> </div>
<a class="btn btn-promo btn-long popup-form" href="#request_access"> <a class="btn_green_sm btn-long popup-form" href="#request_access">
<!--Запросить расчет--> <!--Запросить расчет-->
Запросить доступ Запросить доступ
</a> </a>
</div> </div>
</div> </div>
</section> </section>
<!-- new 02.04.19 -->
<a href="http://demo.task-on.com/?utm_source=task-oncom&utm_medium=cpc&utm_campaign=docprogrammer&utm_term=demo" target="_blank" class="btn_info_box margin-top-1x"><span>Демо-доступ к платформе TaskOn 2</span></a>
<!-- new end 02.04.19 -->
</aside> </aside>
</div> </div>
</div> </div>
......
...@@ -6,19 +6,33 @@ use yii\web\AssetBundle; ...@@ -6,19 +6,33 @@ use yii\web\AssetBundle;
class GeneratorAsset extends AssetBundle class GeneratorAsset extends AssetBundle
{ {
public $sourcePath = '@common/modules/faq/assets/src';
public $sourcePath = '@common/modules/faq/assets/src';
public $css = [ public $css = [
'css/generator.css', 'css/generator.css',
'css/style.css', 'css/style.css',
'css/responsive.css', 'css/responsive.css',
//
'css/fonts.css',
'css/faq.css',
"css/editormd.css",
"css/vendor.min.css",
"css/styles.css",
"css/setup_recomends.css",
"/plugins/tooltipster-master/tooltipster.css",
]; ];
public $js = [ public $js = [
'js/generator.js', 'js/generator.js',
//
'js/faq.js',
'js/owl.js',
'js/accordion.js',
'/plugins/tooltipster-master/jquery.tooltipster.js',
]; ];
public $depends = [ public $depends = [
'yii\web\JqueryAsset', 'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset', 'yii\bootstrap\BootstrapAsset',
// 'backend\assets\AppAsset' // 'backend\assets\AppAsset'
]; ];
} }
This diff is collapsed.
.faq_sec ol {
list-style: none;
}
.faq_sec img {
max-width: 100%;
}
.faq_sec p img ,
.faq_sec li img {
margin-top: 20px;
margin-bottom: 20px
}
\ No newline at end of file
@font-face {
font-family: "RobotoRegular";
src: url("../fonts/RobotoRegular/RobotoRegular.eot");
src: url("../fonts/RobotoRegular/RobotoRegular.eot@") format("embedded-opentype"), url("../fonts/RobotoRegular/RobotoRegular.woff") format("woff"), url("../fonts/RobotoRegular/RobotoRegular.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "RobotoLight";
src: url("../fonts/RobotoLight/RobotoLight.eot");
src: url("../fonts/RobotoLight/RobotoLight.eot@") format("embedded-opentype"), url("../fonts/RobotoLight/RobotoLight.woff") format("woff"), url("../fonts/RobotoLight/RobotoLight.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "RobotoMedium";
src: url("../fonts/RobotoMedium/RobotoMedium.eot");
src: url("../fonts/RobotoMedium/RobotoMedium.eot@") format("embedded-opentype"), url("../fonts/RobotoMedium/RobotoMedium.woff") format("woff"), url("../fonts/RobotoMedium/RobotoMedium.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "RobotoBold";
src: url("../fonts/RobotoBold/RobotoBold.eot");
src: url("../fonts/RobotoBold/RobotoBold.eot@") format("embedded-opentype"), url("../fonts/RobotoBold/RobotoBold.woff") format("woff"), url("../fonts/RobotoBold/RobotoBold.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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