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
66534727
Commit
66534727
authored
Mar 25, 2019
by
john
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 't_3031'
3031
parents
1658967e
26290c68
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2193 additions
and
1962 deletions
+2193
-1962
backend/web/plugins/editormd/editormd.js
backend/web/plugins/editormd/editormd.js
+2172
-1958
backend/web/plugins/editormd/languages/en.js
backend/web/plugins/editormd/languages/en.js
+1
-0
common/modules/documentation/assets/src/js/documentation.js
common/modules/documentation/assets/src/js/documentation.js
+17
-1
common/modules/documentation/views/page/view.php
common/modules/documentation/views/page/view.php
+3
-3
No files found.
backend/web/plugins/editormd/editormd.js
View file @
66534727
This diff is collapsed.
Click to expand it.
backend/web/plugins/editormd/languages/en.js
View file @
66534727
...
@@ -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
:
{
...
...
common/modules/documentation/assets/src/js/documentation.js
View file @
66534727
...
@@ -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
'
).
find
(
'
img:not(".container_documentation_owl_img")
'
).
click
(
function
()
{
$
.
magnificPopup
.
open
({
items
:
{
src
:
$
(
this
).
attr
(
'
src
'
)
},
image
:
{
cursor
:
'
pointer
'
,
},
type
:
'
image
'
});
});
})
})
\ No newline at end of file
common/modules/documentation/views/page/view.php
View file @
66534727
...
@@ -115,7 +115,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
...
@@ -115,7 +115,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<!-- Off-Canvas Wrapper-->
<!-- Off-Canvas Wrapper-->
<div
class=
"offcanvas-wrapper"
id=
"box1"
>
<div
class=
"offcanvas-wrapper"
id=
"box1"
>
<!-- Page Content-->
<!-- Page Content-->
<div
class=
"container padding-bottom-3x mb-2"
>
<div
class=
"container
container_documentation
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-8 col-lg-7 order-lg-2"
>
...
@@ -128,7 +128,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
...
@@ -128,7 +128,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<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="{ "nav": true, "dots": true, "loop": true }">'
,
'</div>'
],
$modelContent
->
html
)
?>
<div
class=
"single-post-footer"
>
<div
class=
"single-post-footer"
>
<div
class=
"column"
>
<div
class=
"column"
>
...
@@ -212,4 +212,4 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
...
@@ -212,4 +212,4 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</div>
</div>
</div>
</div>
<?php
echo
$this
->
render
(
'@app/views/layouts/footer'
)
?>
<?php
echo
$this
->
render
(
'@app/views/layouts/footer'
)
?>
<?php
echo
$this
->
render
(
'_request_access'
)
?>
<?php
echo
$this
->
render
(
'_request_access'
)
?>
\ 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