Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbsoft
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ildar Safiullin
sbsoft
Commits
67718f11
Commit
67718f11
authored
May 08, 2018
by
farax
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Разное
parent
548516ec
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
33 deletions
+60
-33
templates/content/new_publication.ftl
+57
-0
themes/cis-theme/src/WEB-INF/liferay-look-and-feel.xml
+1
-0
themes/cis-theme/src/css/_custom.scss
+2
-0
themes/cis-theme/src/js/oecd-headers-footers.js
+0
-33
No files found.
templates/content/new_publication.ftl
0 → 100644
View file @
67718f11
<#--
Изображение
<#if image_publication.getData()?? && image_publication.getData() != "">
<img data-fileentryid="${image_publication.getAttribute("fileEntryId")}" alt="${image_publication.getAttribute("alt")}" src="${image_publication.getData()}" />
</#if>
Примечание
${publication_note.getData()}
HTML контент
${content.getData()}
Документ, обычно pdf файл
<a href="${publication_document.getData()}">
${languageUtil.format(locale, "download-x", "publication_document", false)}
</a>
-->
<style type="text/css">.leftimg {
float:left;
margin: 7px 7px 7px 0;
width: 220px;
}
</style>
<div>
<p style="margin: 0 auto;">
<#if image_publication.getData()?? && image_publication.getData() != "">
<img data-fileentryid='${image_publication.getAttribute("fileEntryId")}' alt='${image_publication.getAttribute("alt")}' src="${image_publication.getData()}" class="leftimg"/>
</#if>
</p>
${content.getData()}
</div>
<#if publication_note.getData()?? && publication_note.getData() != "">
<p class="text-center"><b>Примечание.<b></p>
<p class="text-left">${publication_note.getData()}</p>
</#if>
<#if publication_document.getData()?? && publication_document.getData() != "">
<p class="text-center"><b>Документ.<b></p>
Электронную версию документа можно скачать по следующей
<a href="${publication_document.getData()}">
<b>ссылки<b>.
</a>
</#if>
themes/cis-theme/src/WEB-INF/liferay-look-and-feel.xml
View file @
67718f11
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
<template-extension>
ftl
</template-extension>
<template-extension>
ftl
</template-extension>
<settings>
<settings>
<setting
key=
"themeArticleId"
configurable=
"true"
type=
"text"
value=
"56403"
/>
<setting
key=
"themeArticleId"
configurable=
"true"
type=
"text"
value=
"56403"
/>
<setting
key=
"themePersonalPopupCssClass"
configurable=
"true"
type=
"text"
value=
""
></setting>
</settings>
</settings>
<portlet-decorator
id=
"barebone"
name=
"Barebone"
>
<portlet-decorator
id=
"barebone"
name=
"Barebone"
>
<default-portlet-decorator>
true
</default-portlet-decorator>
<default-portlet-decorator>
true
</default-portlet-decorator>
...
...
themes/cis-theme/src/css/_custom.scss
View file @
67718f11
...
@@ -1577,6 +1577,8 @@ body.oldDesign{
...
@@ -1577,6 +1577,8 @@ body.oldDesign{
/* Для раздела публикации customEditPublicationEdit */
...
...
themes/cis-theme/src/js/oecd-headers-footers.js
View file @
67718f11
jQuery
(
document
).
ready
(
function
(
$
)
{
$
(
'.oecd-header__primary-toggle'
).
click
(
function
(
event
)
{
event
.
preventDefault
();
var
toggleButton
=
$
(
event
.
currentTarget
);
var
hiddenClass
=
'oecd-header--primary-hidden'
;
var
header
=
toggleButton
.
closest
(
'.oecd-header'
);
header
.
toggleClass
(
hiddenClass
);
if
(
!
header
.
hasClass
(
hiddenClass
))
{
// Focus the navigation
toggleButton
.
closest
(
'.oecd-header'
)
.
find
(
'.oecd-header__primary'
)
.
attr
(
'tabindex'
,
'0'
).
focus
();
}
});
$
(
'.oecd-header__secondary-toggle'
).
click
(
function
(
event
)
{
event
.
preventDefault
();
var
toggleButton
=
$
(
event
.
currentTarget
);
var
secondaryContainer
=
toggleButton
.
closest
(
'.oecd-header__secondary-container'
);
secondaryContainer
.
toggleClass
(
'oecd-header__secondary-container--active'
);
var
hiddenClass
=
'sr-only'
;
var
secondary
=
secondaryContainer
.
find
(
'.oecd-header__secondary'
);
secondary
.
toggleClass
(
hiddenClass
);
// Focus the navigation
if
(
!
secondary
.
hasClass
(
hiddenClass
))
{
secondary
.
attr
(
'tabindex'
,
'0'
).
focus
();
}
});
});
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