use resourceBase (for switching skin for resource); added print.css
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1135 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
423d0bc11a
commit
65cf93e338
3 changed files with 36 additions and 13 deletions
|
@ -19,6 +19,9 @@
|
||||||
<resource name="liquid.css" file="liquid4.css"
|
<resource name="liquid.css" file="liquid4.css"
|
||||||
layer="liquid" />
|
layer="liquid" />
|
||||||
|
|
||||||
|
<resource name="print.css" file="print.css"
|
||||||
|
layer="liquid" />
|
||||||
|
|
||||||
<resource name="cyberconcepts.gif" file="cyc-logo03.gif"
|
<resource name="cyberconcepts.gif" file="cyc-logo03.gif"
|
||||||
layer="liquid" />
|
layer="liquid" />
|
||||||
|
|
||||||
|
|
13
browser/liquid/print.css
Normal file
13
browser/liquid/print.css
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
$Id$
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
#header, #menu, #subsection, #footer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
width: 100%;
|
||||||
|
color: Black;
|
||||||
|
}
|
|
@ -9,23 +9,27 @@
|
||||||
</title>
|
</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<style type="text/css" media="all"
|
<style type="text/css" media="all"
|
||||||
tal:content="string:@import url(${context/++resource++zope3_tablelayout.css});">
|
tal:content="string:@import url(${view/resourceBase}/zope3_tablelayout.css);">
|
||||||
@import url(zope3_tablelayout.css);
|
@import url(zope3_tablelayout.css);
|
||||||
</style>
|
</style>
|
||||||
<metal:block metal:define-slot="headers">
|
<metal:block metal:define-slot="headers">
|
||||||
<script type="text/javascript" src="zope3.js"
|
<script type="text/javascript" src="zope3.js"
|
||||||
tal:attributes="src string:${context/++resource++zope3.js}" >
|
tal:attributes="src string:${view/resourceBase}/zope3.js" >
|
||||||
</script>
|
</script>
|
||||||
<span metal:use-macro="context/@@standard_macros/navigation_tree_js" />
|
<span metal:use-macro="context/@@standard_macros/navigation_tree_js" />
|
||||||
</metal:block>
|
</metal:block>
|
||||||
<metal:block define-slot="style_slot" />
|
<metal:block define-slot="style_slot" />
|
||||||
<style type="text/css" media="all"
|
<style type="text/css" media="screen"
|
||||||
tal:content="string:@import url(${context/++resource++liquid.css});">
|
tal:content="string:@import url(${view/resourceBase}/liquid.css);">
|
||||||
@import url(liquid.css);
|
@import url(liquid.css);
|
||||||
</style>
|
</style>
|
||||||
|
<style type="text/css" media="print"
|
||||||
|
tal:content="string:@import url(${view/resourceBase}/print.css);">
|
||||||
|
@import url(print.css);
|
||||||
|
</style>
|
||||||
<metal:block define-slot="ecmascript_slot" />
|
<metal:block define-slot="ecmascript_slot" />
|
||||||
<link rel="icon" type="image/png"
|
<link rel="icon" type="image/png"
|
||||||
tal:attributes="href context/++resource++favicon.png" />
|
tal:attributes="href string:${view/resourceBase}/favicon.png" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body tal:attributes="onload body_onload | nothing">
|
<body tal:attributes="onload body_onload | nothing">
|
||||||
|
@ -36,7 +40,7 @@
|
||||||
tal:attributes="href string:${request/URL/1}"><img
|
tal:attributes="href string:${request/URL/1}"><img
|
||||||
src="cyberconcepts.gif" height="75" border="0"
|
src="cyberconcepts.gif" height="75" border="0"
|
||||||
alt="cyberconcepts IT-Consulting"
|
alt="cyberconcepts IT-Consulting"
|
||||||
tal:attributes="src context/++resource++cyberconcepts.gif" /></a>
|
tal:attributes="src string:${view/resourceBase}/cyberconcepts.gif" /></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
|
@ -63,17 +67,20 @@
|
||||||
</a>
|
</a>
|
||||||
</tal:block>
|
</tal:block>
|
||||||
</div>
|
</div>
|
||||||
<metal:content define-slot="body">
|
|
||||||
</metal:content>
|
<metal:content define-slot="body">Here comes the body</metal:content>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="sub-section">
|
<div id="sub-section">
|
||||||
<metal:sub define-slot="context_information">
|
<metal:sub define-slot="context_information"></metal:sub>
|
||||||
</metal:sub>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" class="footer">
|
<div id="footer" class="footer">
|
||||||
© Copyright 2006, cyberconcepts IT-Consulting Dr. Helmut Merz
|
© Copyright 2006, cyberconcepts IT-Consulting Dr. Helmut Merz<br />
|
||||||
<metal:footer define-slot="footer">
|
<a href="#"
|
||||||
</metal:footer>
|
tal:attributes="href string:${view/menu/url}/impressum">Impressum</a>
|
||||||
|
<metal:footer define-slot="footer"></metal:footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue