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/bxlug/StandardLookAndFeel.html

73 lines
2.4 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 rel="stylesheet" type="text/css" href="/css/bxlug.css" tal:reroot="href" />
<link rel="home" href="/" tal:reroot="href" />
<link rel="icon" href="/images/bxlug-favicon.ico" tal:reroot="href" />
<link rel="shortcut icon" href="/images/bxlug-favicon.ico" tal:reroot="href" />
<meta metal:define-slot="contextualHeaders" />
<script metal:use-macro="forms.tal/formScript"></script>
</head>
<body>
<h1 id="bxlug">BxLUG: groupe des utilisateurs de GNU/Linux de Bruxelles</h1>
<div class="headings" tal:define="mR getMainRubric()" tal:condition="mR">
<a tal:repeat="r getSetContainedObjects(mR.membersSet, ['rubrics'])"
tal:content="r.label" tal:attributes="href r.getUrl()"
tal:on-error="nothing">Une rubrique</a>
</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>
<div id="tux">
<form id="searchForm" tal:attributes="action roleUrl('search', 'go')">
<label for="search" accesskey="4" tal:translate="">Search</label><br />
<input id="search" name="terms" size="10"/> <input type="submit" class="button" value="OK"/>
</form>
<a href="/" tal:reroot="href"><img
src="/images/bxlug_tux.png" alt="Tux avec l'iris bruxellois" /></a>
</div>
<p id="glasnost-cmd">
<span metal:use-macro="buttons.tal/admin" />
<span metal:use-macro="buttons.tal/preferences" />
<span metal:use-macro="buttons.tal/logout" />
<span metal:use-macro="buttons.tal/newAccount" />
<span metal:use-macro="buttons.tal/login" />
</p>
<div id="glasnost-forms" tal:condition="user">
<span metal:use-macro="buttons.tal/newObject" />
<span metal:use-macro="buttons.tal/gotoObjects" />
</div>
<!--
<p id="objects" tal:condition="user">
<a tal:repeat="role [x for x in getServerRoles() if canGetObjects(x)]"
tal:attributes="href role.url"
tal:content="role.label">server</a>
</p>
-->
</body>
</html>