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/labor-liber.net/StandardLookAndFeel.html

140 lines
4.9 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/calendar.css" />
<link tal:reroot="href" rel="home" href="/" />
<meta metal:define-slot="contextualHeaders" />
<script metal:use-macro="forms.tal/formScript"></script>
<style tal:condition="user" type="text/css" media="screen">
<!--
@import url(/css/labor-liber.css);
@import url(/css/default.css);
@import url(/css/glasnost.css);
-->
</style>
<style tal:condition="not user" type="text/css" media="screen">
<!--
@import url(/css/labor-liber.css);
@import url(/css/default.css);
-->
</style>
</head>
<body>
<a name="top"></a>
<div tal:condition="user" id="toolbars">
<div id="site-bar">
<div class="toolbar">
</div>
</div>
<div id="main-tools">
<div class="toolbar">
</div>
</div>
</div>
<div id="navigation">
<!--
<h2><a href="/" tal:reroot="href" tal:translate="">Home</a></h2>
-->
<div id="labor-liber">
<a href="/" title="labor-liber.net"><img src="/images/ll.png" alt="labor-liber"/></a>
</div>
<div class="cadre-glasnost" tal:condition="user">
<div class="bottom" style="padding: 0.5em; padding-top: 3px; padding-bottom: 3px;">
<div class="f-right" style="padding-top: 3px; ">
<a class="system-help" tal:attr-translate="title" title="System Help">?</a>
</div>
<img src="/images/logo-glasnost.png" alt="Glasnost" />
</div>
<ul class="gnav2">
<li tal:repeat="role [x for x in getServerRoles() if canGetObjects(x)]">
<a class="gnav" tal:attributes="href role.url" tal:content="role.label">server</a>
</li>
</ul>
<div class="top">
<ul class="gnav2">
<li><a class="gnav" href="/admin" tal:translate="">Settings</a></li>
<li><a class="gnav" href="/sessions.py" tal:translate="">Sessions</a></li>
</ul>
</div>
<div class="top" style="padding-left: 0.5em; padding-right: 0.5em;">
<span class="f-right"><span tal:condition="user" metal:use-macro="buttons.tal/logout" /></span>
<span class="f-left"><span metal:use-macro="buttons.tal/preferences" /></span>&nbsp;
</div>
</div>
<div class="cadre" tal:define="mR getMainRubric()" tal:condition="mR and mR.membersSet" tal:on-error="nothing" tal:repeat="r1 mR.membersSet">
<h3 class="nav1"><a class="nav" tal:content="r1" tal:attributes="href r1.getUrl()">Nav 1</a></h3>
<ul class="nav2" tal:condition="r1.membersSet" tal:on-error="nothing">
<li tal:repeat="r2 r1.membersSet"><a class="nav" tal:content="r2.label" tal:attributes="href r2.getUrl()">Nav 2</a>
<ul class="nav3" tal:condition="r2.membersSet != []" tal:on-error="nothing">
<li tal:repeat="r3 r2.membersSet"><a class="nav" tal:content="r3.label" tal:attributes="href r3.getUrl()">Nav 3</a></li>
</ul>
</li>
</ul>
</div>
</div> <!-- fin de nav -->
<div id="main">
<div id="content-top">
<div id="search">
<form method="get" tal:attributes="action roleUrl('search', 'go')">
<input type="text" size="20" name="terms" value=" Rechercher"
onfocus="if (this.value==' Rechercher') this.value=''" />
</form>
</div>
<div class="f-left">
<a class="ll" href="http://www.labor-liber.com">labor-liber.com</a>
<a class="ll" href="http://www.labor-liber.org">labor-liber.org</a>
&nbsp;
<span tal:condition="not user" class="ll" metal:use-macro="buttons.tal/login" />
</div>
<div><a id="search-help"
href="" tal:attr-translate="title" title="Search Help"><img src="/images/qm.png" /></a>
&nbsp;</div>
</div>
<div id="content">
<div id="path" tal:condition="fileName.startswith('index')">
<span tal:define="objectPath getPathToObject(currentObject)" tal:condition="objectPath" >
<span tal:condition="currentObject" tal:omit-tag="" tal:repeat="o objectPath">
<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
<img src="/images/right.png" width="19" height="6" alt="" />
</span>
<span tal:condition="currentObject" tal:replace="currentObject.label">courant</span>
</span>
</div>
<div metal:define-slot="main">
C'est ici que viendra le contenu du tag ayant l'attribut metal:fill-slot="main".
</div>
</div>
</div>
<div id="widgets">
<div class="widget">
<a style="background: #669;" href="#top"><img src="/images/top.png" alt="up" title="Haut de page" border="0" /></a>
</div>
<div class="widget">
<a style="background: #669;" href=""><img tal:attr-translate="title" src="/images/print.png" alt="Print" title="Print" /></a>
</div>
</div>
</body>
</html>