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
e6440e63
Commit
e6440e63
authored
Jun 16, 2016
by
andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
правки по faq
parent
72f3c314
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
3 deletions
+34
-3
backend/messages/ru-RU/faq.php
backend/messages/ru-RU/faq.php
+1
-0
common/messages/ru-RU/content.php
common/messages/ru-RU/content.php
+1
-1
common/modules/faq/Module.php
common/modules/faq/Module.php
+1
-1
common/modules/faq/assets/src/css/style.css
common/modules/faq/assets/src/css/style.css
+28
-0
common/modules/faq/views/rubric-admin/_form.php
common/modules/faq/views/rubric-admin/_form.php
+1
-1
frontend/web/js/add_06.06.16.js
frontend/web/js/add_06.06.16.js
+2
-0
No files found.
backend/messages/ru-RU/faq.php
View file @
e6440e63
...
@@ -10,6 +10,7 @@ return [
...
@@ -10,6 +10,7 @@ return [
'Question'
=>
'Вопрос'
,
'Question'
=>
'Вопрос'
,
'Answer'
=>
'Ответ'
,
'Answer'
=>
'Ответ'
,
'Create Faq'
=>
'Создать новый вопрос'
,
'Create Faq'
=>
'Создать новый вопрос'
,
'Save'
=>
'Сохранить'
,
...
...
common/messages/ru-RU/content.php
View file @
e6440e63
...
@@ -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'
=>
'Ссылка'
,
...
...
common/modules/faq/Module.php
View file @
e6440e63
...
@@ -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
...
...
common/modules/faq/assets/src/css/style.css
View file @
e6440e63
...
@@ -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
common/modules/faq/views/rubric-admin/_form.php
View file @
e6440e63
...
@@ -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
();
?>
...
...
frontend/web/js/add_06.06.16.js
View file @
e6440e63
...
@@ -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
(){
...
...
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