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
5575811f
Commit
5575811f
authored
Apr 01, 2019
by
john
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 't_3031'
3031O
parents
a2447648
dbf1e574
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3971 additions
and
3733 deletions
+3971
-3733
backend/web/plugins/editormd/documentation.js
backend/web/plugins/editormd/documentation.js
+2
-1
backend/web/plugins/editormd/editormd.js
backend/web/plugins/editormd/editormd.js
+4
-2
common/modules/documentation/assets/src/css/styles.css
common/modules/documentation/assets/src/css/styles.css
+3959
-3710
common/modules/documentation/assets/src/js/documentation.js
common/modules/documentation/assets/src/js/documentation.js
+1
-1
common/modules/documentation/models/DocList.php
common/modules/documentation/models/DocList.php
+1
-15
common/modules/documentation/views/page/view.php
common/modules/documentation/views/page/view.php
+4
-4
frontend/web/images/icon_doc_new.png
frontend/web/images/icon_doc_new.png
+0
-0
frontend/web/images/icon_info_new.png
frontend/web/images/icon_info_new.png
+0
-0
frontend/web/images/icon_video_new.png
frontend/web/images/icon_video_new.png
+0
-0
No files found.
backend/web/plugins/editormd/documentation.js
View file @
5575811f
...
...
@@ -22,6 +22,7 @@ $(function ()
//toolbar : false, //关闭工具栏
//previewCodeHighlight : false, // 关闭预览 HTML 的代码块高亮,默认开启
// emoji: true,
atLink
:
false
,
taskList
:
true
,
tocm
:
true
,
// Using [TOCM]
tex
:
true
,
// 开启科学公式TeX语言支持,默认关闭
...
...
@@ -32,7 +33,7 @@ $(function ()
//dialogDraggable : false, // 设置弹出层对话框不可拖动,全局通用,默认为true
//dialogMaskOpacity : 0.4, // 设置透明遮罩层的透明度,全局通用,默认值为0.1
//dialogMaskBgColor : "#000", // 设置透明遮罩层的背景颜色,全局通用,默认为#fff
imageUpload
:
true
,
imageFormats
:
[
"
jpg
"
,
"
jpeg
"
,
"
gif
"
,
"
png
"
,
"
bmp
"
,
"
webp
"
],
imageUploadURL
:
"
/documentation/documentation-admin/upload
"
,
...
...
backend/web/plugins/editormd/editormd.js
View file @
5575811f
...
...
@@ -3520,7 +3520,7 @@
editormd
.
firstUpperCase
=
editormd
.
ucfirst
=
firstUpperCase
;
editormd
.
urls
=
{
atLinkBase
:
"
https://
github
.com/
"
atLinkBase
:
"
https://
task-on
.com/
"
};
editormd
.
regexs
=
{
...
...
@@ -3758,7 +3758,9 @@
markdownToC
.
push
(
toc
);
var
headingHTML
=
"
<h
"
+
level
+
"
id=
\"
h
"
+
level
+
"
-
"
+
this
.
options
.
headerPrefix
+
id
+
"
\"
>
"
;
var
headingHTML
=
"
<h
"
+
level
// + " id=\"h" + level + "-" + this.options.headerPrefix + id + "\""
+
"
>
"
;
headingHTML
+=
"
<a name=
\"
"
+
text
+
"
\"
class=
\"
reference-link
\"
></a>
"
;
headingHTML
+=
"
<span class=
\"
header-link octicon octicon-link
\"
></span>
"
;
...
...
common/modules/documentation/assets/src/css/styles.css
View file @
5575811f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
common/modules/documentation/assets/src/js/documentation.js
View file @
5575811f
...
...
@@ -14,7 +14,7 @@ $(function ()
$
(
this
).
html
(
listOfImages
.
join
(
''
)).
removeClass
(
'
owl-carousel-need-replace hidden
'
);
})
$
(
'
.container_documentation .container_documentation_right
'
).
find
(
'
img:not(".container_documentation_owl_img")
'
).
click
(
function
()
$
(
'
.container_documentation .container_documentation_right
'
).
find
(
'
img:not(".container_documentation_owl_img")
'
).
addClass
(
'
image-popuped
'
).
click
(
function
()
{
$
.
magnificPopup
.
open
({
items
:
{
...
...
common/modules/documentation/models/DocList.php
View file @
5575811f
...
...
@@ -226,22 +226,8 @@ class DocList extends \yii\db\ActiveRecord
public
function
getFormatedCreatedAt
()
{
$mt
=
[
'01'
=>
'января'
,
'02'
=>
'февраля'
,
'03'
=>
'марта'
,
'04'
=>
'апреля'
,
'05'
=>
'мая'
,
'06'
=>
'июня'
,
'07'
=>
'июля'
,
'08'
=>
'августа'
,
'09'
=>
'сентября'
,
'10'
=>
'октября'
,
'11'
=>
'ноября'
,
'12'
=>
'декабря'
,
];
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"
);
}
...
...
common/modules/documentation/views/page/view.php
View file @
5575811f
...
...
@@ -115,17 +115,17 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<!-- Off-Canvas Wrapper-->
<div
class=
"offcanvas-wrapper"
id=
"box1"
>
<!-- Page Content-->
<div
class=
"container
container_documentation
padding-bottom-3x mb-2"
>
<div
class=
"container padding-bottom-3x mb-2"
>
<div
class=
"row"
>
<!-- Content-->
<div
class=
"col-xl-
8 col-lg-7 order-lg-2 container_documentation_right
"
>
<div
class=
"col-xl-
9 col-lg-8 order-lg-2
"
>
<!-- Post-->
<h1>
<?php
echo
$modelContent
->
name
?>
</h1>
<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>
<?php
echo
str_replace
([
'<!-- ¿¿¿CAROUSEL_BEGIN¿¿¿ -->'
,
'<!-- ¿¿¿CAROUSEL_END¿¿¿ -->'
],
[
'<div class="owl-carousel owl-carousel-need-replace hidden" data-owl-carousel="{ "nav": true, "dots": true, "loop": true }">'
,
'</div>'
],
$modelContent
->
html
)
?>
...
...
@@ -174,7 +174,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</div>
<!-- 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>
<aside
class=
"sidebar sidebar-offcanvas"
>
<!-- Widget Categories-->
...
...
frontend/web/images/icon_doc_new.png
0 → 100644
View file @
5575811f
1.36 KB
frontend/web/images/icon_info_new.png
0 → 100644
View file @
5575811f
1.8 KB
frontend/web/images/icon_video_new.png
0 → 100644
View file @
5575811f
1.48 KB
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