64 lines
2.2 KiB
HTML
64 lines
2.2 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"></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
|
|
<link tal:reroot="href" rel="stylesheet" type="text/css" href="/css/entrouvert1.css" />
|
|
<link tal:reroot="href" rel="stylesheet" type="text/css" href="/css/glasnost1.css" />
|
|
<link tal:reroot="href" rel="home" href="/" />
|
|
<meta metal:define-slot="contextualHeaders" />
|
|
<script metal:use-macro="forms.tal/formScript"></script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1 id="logo">
|
|
<a href="/" tal:reroot="href"><img tal:reroot="src" alt="Glasnost" src="/images/glasnost.png" /></a>
|
|
</h1>
|
|
|
|
<div id="navigation">
|
|
<p>
|
|
<span metal:use-macro="buttons.tal/about" />
|
|
<span metal:use-macro="buttons.tal/preferences" />
|
|
<span metal:use-macro="buttons.tal/admin" />
|
|
<span metal:use-macro="buttons.tal/logout" />
|
|
<span metal:use-macro="buttons.tal/newAccount" />
|
|
<span metal:use-macro="buttons.tal/login" />
|
|
</p>
|
|
</div>
|
|
|
|
<div id="rubriques">
|
|
<h2><a href="/" tal:reroot="href" tal:translate="">Home</a></h2>
|
|
|
|
<div class="categorie" tal:define="mR getMainRubric()" tal:condition="mR"
|
|
tal:repeat="r getSetContainedObjects(mR.membersSet, ['rubrics'])">
|
|
<h2><a tal:attributes="href r.getUrl()" tal:content="r.label">rubrique</a></h2>
|
|
<a class="navindent" tal:repeat="r2 getSetContainedObjects(r.membersSet, ['rubrics'])"
|
|
tal:attributes="href r2.getUrl()" tal:content="r2.label">sous-rubrique</a>
|
|
</div>
|
|
|
|
<div class="categorie" tal:condition="user">
|
|
<h2 tal:translate="">All Objects</h2>
|
|
<a tal:repeat="role [x for x in getServerRoles() if canGetObjects(x)]"
|
|
tal:attributes="href role.url"
|
|
tal:content="role.label">server</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main-content">
|
|
<div metal:define-slot="main">
|
|
C'est ici que viendra le contenu du tag ayant l'attribut metal:fill-slot="main".
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p metal:use-macro="misc.tal/poweredBy" />
|
|
</body>
|
|
</html>
|
|
|