cybertools/browser/liquid/view_macros.pt
helmutm 65cf93e338 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
2006-03-21 16:47:39 +00:00

90 lines
3.4 KiB
XML

<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
i18n:domain="zope">
<head metal:define-macro="head">
<title metal:define-slot="title"
tal:content="options/getTitle|view/getTitle|context/getTitle|default">
cyberconcepts IT-Consulting
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css" media="all"
tal:content="string:@import url(${view/resourceBase}/zope3_tablelayout.css);">
@import url(zope3_tablelayout.css);
</style>
<metal:block metal:define-slot="headers">
<script type="text/javascript" src="zope3.js"
tal:attributes="src string:${view/resourceBase}/zope3.js" >
</script>
<span metal:use-macro="context/@@standard_macros/navigation_tree_js" />
</metal:block>
<metal:block define-slot="style_slot" />
<style type="text/css" media="screen"
tal:content="string:@import url(${view/resourceBase}/liquid.css);">
@import url(liquid.css);
</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" />
<link rel="icon" type="image/png"
tal:attributes="href string:${view/resourceBase}/favicon.png" />
</head>
<body tal:attributes="onload body_onload | nothing">
<div id="header">
<div class="top">
<a href="#" name="top" metal:define-slot="logo"
tal:attributes="href string:${request/URL/1}"><img
src="cyberconcepts.gif" height="75" border="0"
alt="cyberconcepts IT-Consulting"
tal:attributes="src string:${view/resourceBase}/cyberconcepts.gif" /></a>
</div>
</div>
<div id="menu">
<metal:menu define-slot="navigators">
<span metal:use-macro="context/@@standard_macros/navigation_tree_box" />
<div class="box" id="commonTasks"
tal:define="view context/@@commonTasks|nothing"
tal:condition="view/strip|nothing">
<h4 i18n:translate="">Add</h4>
<div class="body">
<span tal:replace="structure view" />
</div>
</div>
</metal:menu>
</div>
<div id="content">
<div class="itemViews" metal:define-slot="actions">
<tal:block repeat="view context/@@view_get_menu/zmi_views">
<a href=""
tal:attributes="href view/action;
class view/selected;"
tal:content="view/title" i18n:translate="">
label
</a>
</tal:block>
</div>
<metal:content define-slot="body">Here comes the body</metal:content>
</div>
<div id="sub-section">
<metal:sub define-slot="context_information"></metal:sub>
</div>
<div id="footer" class="footer">
&copy; Copyright 2006, cyberconcepts IT-Consulting Dr. Helmut Merz<br />
<a href="#"
tal:attributes="href string:${view/menu/url}/impressum">Impressum</a>
<metal:footer define-slot="footer"></metal:footer>
</div>
</body>
</html>
</metal:block>