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

70 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>
<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/i3c.css" />
<link tal:reroot="href" rel="home" href="/" />
<meta metal:define-slot="contextualHeaders" />
<script metal:use-macro="forms.tal/formScript"></script>
<script type="text/javascript">
function goRubric(form) {
var url = form.listRubrics.options[form.listRubrics.selectedIndex].value;
if (url != "") location.href = url;
return false;
}
</script>
</head>
<body id="glasnost-i3c">
<div id="header">
<h1><a tal:attributes="href rootUrl()" tal:content="str(virtualHost)">title</a></h1>
<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>
<div id="nav">
<ul metal:use-macro="nav.tal/ulOneLevel" />
</div>
<div id="main-content">
<form id="nav" method="POST" onSubmit="return goRubric(this)" action="/load">
<select onChange="goRubric(this.form)" name="listRubrics">
<option tal:translate="fr">Accès direct à une rubrique</option>
<option tal:repeat="rubric getLastObjects('rubrics', 10)"
tal:attributes="value rubric.getUrl()"
tal:content="rubric.label">sdsd</option>
</select>
<input class="button" type="submit" value="Go!">
</form>
<div metal:define-slot="main">
C'est ici que viendra le contenu du tag ayant l'attribut metal:fill-slot="main".
</div>
<div id="glasnost-forms">
<span metal:use-macro="buttons.tal/newObject" />
<span metal:use-macro="buttons.tal/gotoObjects" />
</div>
</div> <!-- end of main-content -->
<p metal:use-macro="misc.tal/poweredBy" />
</body>
</html>