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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mukul
erp5
Commits
4cd19f08
Commit
4cd19f08
authored
Jan 30, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use cannonical url for CSS and Javascripts.
parent
dcab2e34
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
21 deletions
+27
-21
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
...Item/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
+19
-16
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
...m/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
+7
-4
bt5/erp5_run_my_doc/bt/revision
bt5/erp5_run_my_doc/bt/revision
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
View file @
4cd19f08
...
...
@@ -39,25 +39,28 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\n
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
\n
<head>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"boom.css"
>
\n
<script
type=
"text/javascript"
src=
"jquery/core/jquery.js"
></script>
\n
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.js"
></script>
\n
<script
type=
"text/javascript"
src=
"book_converter.js"
></script>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
\n
<tal:block
tal:define=
"site_root python: here.getWebSiteValue() or here.getPortalObject();\n
portal_url python: site_root.absolute_url();"
>
\n
<link
rel=
"stylesheet"
type=
"text/css"
tal:attributes=
"href string:${portal_url}/boom.css"
>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/jquery/core/jquery.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/jquery/ui/js/jquery-ui.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/book_converter.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/chapter_converter.js"
></script>
\n
</tal:block>
\n
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
console.log(window.top.document)\n
cleanForPrince();\n
return false;\n
});\n
convertBook(\'getTextContent\', $(\'body\'));\n
});\n
</script>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
\n
<title>
View as Book
</title>
\n
</head>
\n
<body>
\n
</body>
\n
<body></body>
\n
</html>
]]>
</unicode>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
View file @
4cd19f08
...
...
@@ -40,10 +40,13 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
\n
<head>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"boom.css"
>
\n
<script
type=
"text/javascript"
src=
"jquery/core/jquery.js"
></script>
\n
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.js"
></script>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<tal:block
tal:define=
"site_root python: here.getWebSiteValue() or here.getPortalObject();\n
portal_url python: site_root.absolute_url();"
>
\n
<link
rel=
"stylesheet"
type=
"text/css"
tal:attributes=
"href string:${portal_url}/boom.css"
>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/jquery/core/jquery.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/jquery/ui/js/jquery-ui.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/chapter_converter.js"
></script>
\n
</tal:block>
\n
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
...
...
bt5/erp5_run_my_doc/bt/revision
View file @
4cd19f08
13
\ No newline at end of file
14
\ 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