Merge branch 'task-on.com/faq' into 'master'

правки по faq



See merge request !27
parents 32cc0562 e6440e63
...@@ -10,6 +10,7 @@ return [ ...@@ -10,6 +10,7 @@ return [
'Question' => 'Вопрос', 'Question' => 'Вопрос',
'Answer' => 'Ответ', 'Answer' => 'Ответ',
'Create Faq' => 'Создать новый вопрос', 'Create Faq' => 'Создать новый вопрос',
'Save' => 'Сохранить',
......
...@@ -4,7 +4,7 @@ return [ ...@@ -4,7 +4,7 @@ return [
'Create Content' => 'Добавить контент', 'Create Content' => 'Добавить контент',
'Delete' => 'Удалить', 'Delete' => 'Удалить',
'Update' => 'Редактировать', 'Update' => 'Редактировать',
'Save' => 'Сохранить',
'Title' => 'Заголовок', 'Title' => 'Заголовок',
'Name' => 'Название', 'Name' => 'Название',
'Url' => 'Ссылка', 'Url' => 'Ссылка',
......
...@@ -12,7 +12,7 @@ class Module extends \common\components\WebModule ...@@ -12,7 +12,7 @@ class Module extends \common\components\WebModule
*/ */
public $controllerNamespace = 'common\modules\faq\controllers'; public $controllerNamespace = 'common\modules\faq\controllers';
public $menu_icons = 'fa-info'; public $menu_icons = 'fa fa-info';
/** /**
* @inheritdoc * @inheritdoc
......
...@@ -2676,3 +2676,31 @@ textarea::-moz-placeholder{ ...@@ -2676,3 +2676,31 @@ textarea::-moz-placeholder{
.reference_list{ .reference_list{
line-height: 26px; line-height: 26px;
} }
.blue_table_faq {
width: 100%;
}
.blue_table_faq th {
font-size: 16px;
line-height: 20px;
color: #fff;
font-family: "RobotoBold";
background-color: #49acc5 !important;
padding: 15px 20px;
border: 1px solid #fff;
border-bottom: none;
border-top: none;
}
.blue_table_faq th:first-child {
border-left: none;
}
.blue_table_faq th:last-child {
border-right: none;
}
.blue_table_faq td {
font-size: 14px;
line-height: 20px;
background-color: #fff;
padding: 15px 20px;
border: 1px solid #c2c2c2;
}
\ No newline at end of file
...@@ -31,7 +31,7 @@ use common\modules\faq\models\Faq; ...@@ -31,7 +31,7 @@ use common\modules\faq\models\Faq;
<?= $form->field($model, 'sort')->textInput(['maxlength' => 255]) ?> <?= $form->field($model, 'sort')->textInput(['maxlength' => 255]) ?>
<div class="form-group"> <div class="form-group">
<?= Html::submitButton($model->isNewRecord ? Yii::t('content', 'Create') : Yii::t('content', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> <?= Html::submitButton(Yii::t('faq', 'Save'), ['class' => 'btn btn-success']) ?>
</div> </div>
<?php ActiveForm::end(); ?> <?php ActiveForm::end(); ?>
......
...@@ -7,6 +7,8 @@ $(".open_more_projects").on('click', function(){ ...@@ -7,6 +7,8 @@ $(".open_more_projects").on('click', function(){
$(this).addClass("active").parent().prev(".more_projects_open_box").addClass("more_projects_shadow_box").slideDown("medium"); $(this).addClass("active").parent().prev(".more_projects_open_box").addClass("more_projects_shadow_box").slideDown("medium");
}); });
$(".btn_open_top_box").on('click', function(){ $(".btn_open_top_box").on('click', function(){
......
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