Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
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
Léo-Paul Géneau
erp5
Commits
f7feb4f6
Commit
f7feb4f6
authored
Dec 10, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_slideshow_style: allow to load fonts from https
parent
ba0eb349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
bt5/erp5_slideshow_style/SkinTemplateItem/portal_skins/erp5_slideshow_style/WebPage_viewAsWeb.xml
...m/portal_skins/erp5_slideshow_style/WebPage_viewAsWeb.xml
+5
-3
No files found.
bt5/erp5_slideshow_style/SkinTemplateItem/portal_skins/erp5_slideshow_style/WebPage_viewAsWeb.xml
View file @
f7feb4f6
...
...
@@ -52,12 +52,14 @@
<key>
<string>
_body
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
css_link = context.REQUEST.get("css_link", "slides.css")\n
\n
return"""<!DOCTYPE html>
\n
<html>
\n
<head>
\n
<meta
http-equiv=
"content-type"
content=
"text/html; charset=UTF-8"
>
\n
<link
href=
"
http:
//fonts.googleapis.com/css?family=Oswald"
rel=
"stylesheet"
>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
slides.cs
s"
>
\n
<link
href=
"//fonts.googleapis.com/css?family=Oswald"
rel=
"stylesheet"
>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
%
s"
>
\n
<script
type=
"text/javascript"
src=
"slides.js"
></script>
\n
<meta
charset=
"utf-8"
>
\n
<title>
%s
</title>
\n
...
...
@@ -66,7 +68,7 @@ return"""<!DOCTYPE html>\n
<body>
\n
%s \n
</body>
\n
</html>
""" % (context.getTitle(), context.getTextContent())\n
</html>
""" % (c
ss_link, c
ontext.getTitle(), context.getTextContent())\n
]]>
</string>
</value>
...
...
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