This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
glasnost/templates/eclova/StandardLookAndFeel.html

74 lines
2.1 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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<title metal:define-slot="title">[title]</title>
<link tal:reroot="href" rel="stylesheet" href="/css/eclova.css" />
<link tal:reroot="href" rel="home" href="/" />
<meta metal:define-slot="contextualHeaders" />
<script metal:use-macro="forms.tal/formScript"></script>
</head>
<body>
<div id="header">
<h1 tal:content="str(virtualHost)">title</h1>
<h2>&nbsp;</h2> <!-- no motto yet -->
</div>
<div id="nav">
<div tal:define="mR getMainRubric()" tal:condition="mR" tal:on-error="nothing"
tal:repeat="r getSetContainedObjects(mR.membersSet, ['rubrics']) ">
<h2><a tal:content="r.label" tal:attributes="href r.getUrl()">Heading</a></h2>
<a class="navindent" tal:repeat="r2 getSetContainedObjects(r.membersSet, ['rubrics'])"
tal:attributes="href r2.getUrl()" tal:content="r2.label" tal:on-error="nothing">SubHeading</a>
</div>
<div tal:condition="user">
<h2 tal:translate="">All Objects</h2>
<a class="navindent" tal:repeat="role [x for x in getServerRoles() if canGetObjects(x)]"
tal:attributes="href role.getUrl()"
tal:content="role.label">server</a>
</div>
</div> <!-- end of nav -->
<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>
<div id="footer">
<p id="copyright">
</p>
<p id="contact">
</p>
<p class="glasnost-cmd">
<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>
<p metal:use-macro="misc.tal/poweredBy" />
</body>
</html>