47 lines
1.6 KiB
HTML
47 lines
1.6 KiB
HTML
<metal:block define-macro="pre"><!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"
|
|
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
|
metal:define-macro="master">
|
|
<head>
|
|
<title metal:define-slot="title">Website title</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
|
|
<link rel="stylesheet" title="Default" href="/css/watercolor.css" />
|
|
<meta metal:define-slot="contextualHeaders" />
|
|
<script metal:use-macro="forms.tal/formScript"></script>
|
|
</head>
|
|
<body>
|
|
<h1 id="header" tal:content="str(virtualHost)">website title</h1>
|
|
|
|
<ul id="navigation" tal:define="mR getMainRubric()">
|
|
<li><a href="/" tal:translate="">Home</a></li>
|
|
<li tal:condition="mR" tal:repeat="item mR.membersSet or []">
|
|
<a tal:attributes="href item.getUrl()" tal:content="item.label">item</a></li>
|
|
</ul>
|
|
|
|
<ul id="navigation-roles" tal:condition="user">
|
|
<li tal:repeat="role [x for x in getServerRoles() if canGetObjects(x)]"><a
|
|
tal:attributes="href role.getUrl()"
|
|
tal:content="role.label">server</a></li>
|
|
</ul>
|
|
|
|
<div id="content">
|
|
<div metal:define-slot="main">
|
|
Content comes here.
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
<span metal:use-macro="buttons.tal/newAccount">new account</span>
|
|
<span metal:use-macro="buttons.tal/login">login</span>
|
|
<span metal:use-macro="buttons.tal/logout" />
|
|
<span metal:use-macro="buttons.tal/preferences" />
|
|
<a href="/about">Glasnost</a>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|