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
Carlos Ramos Carreño
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
Hide 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 @@
...
@@ -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
<!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
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
\n
<head>
\n
<head>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"boom.css"
>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
\n
<script
type=
"text/javascript"
src=
"jquery/core/jquery.js"
></script>
\n
<tal:block
tal:define=
"site_root python: here.getWebSiteValue() or here.getPortalObject();\n
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.js"
></script>
\n
portal_url python: site_root.absolute_url();"
>
\n
<script
type=
"text/javascript"
src=
"book_converter.js"
></script>
\n
<link
rel=
"stylesheet"
type=
"text/css"
tal:attributes=
"href string:${portal_url}/boom.css"
>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\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
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(document).ready(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
cleanForPrince();
\n
console.log(window.top.document)
\n
return false
;\n
cleanForPrince()
;\n
})
;\n
return false
;\n
convertBook(\'getTextContent\', $(\'body\')
);\n
}
);\n
}
);\n
convertBook(\'getTextContent\', $(\'body\')
);\n
</script>
\n
});
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/
>
\n
</script
>
\n
<title>
View as Book
</title>
\n
<title>
View as Book
</title>
\n
</head>
\n
</head>
\n
<body>
\n
<body></body>
\n
</body>
\n
</html>
</html>
]]>
</unicode>
</value>
]]>
</unicode>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
View file @
4cd19f08
...
@@ -40,10 +40,13 @@
...
@@ -40,10 +40,13 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
\n
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
\n
<head>
\n
<head>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"boom.css"
>
\n
<tal:block
tal:define=
"site_root python: here.getWebSiteValue() or here.getPortalObject();\n
<script
type=
"text/javascript"
src=
"jquery/core/jquery.js"
></script>
\n
portal_url python: site_root.absolute_url();"
>
\n
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.js"
></script>
\n
<link
rel=
"stylesheet"
type=
"text/css"
tal:attributes=
"href string:${portal_url}/boom.css"
>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\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
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(document).ready(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
...
...
bt5/erp5_run_my_doc/bt/revision
View file @
4cd19f08
13
14
\ No newline at end of file
\ 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