<html metal:use-macro="here/main_template/macros/page">
<head>
<title>Default</title>
<style metal:fill-slot="additionalStyles" type="text/css">
td.vario { background-color:#AC1D15 }
</style>
</head>
<body>
<!-- span = bodytext -->
<span metal:fill-slot="body" tal:omit-tag="">
<!-- user is logged in -->
<tal:block tal:condition="python:here.isAuthorized('edit')">
<!-- log in message -->
<div class="logout" style="float:right"><a href="users/?logout">log out</a></div>
<div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
<!-- id selected: manage set -->
<h2><span
tal:condition="python: options.get('mode', None) == 'private'"
tal:replace="python:'My '" /><span
tal:condition="python: options.get('mode', None) == 'open_internal'"
tal:replace="python:'User '" /><span
tal:condition="python: options.get('mode', None) == 'open'"
tal:replace="python:'Public '" />Sets</h2>
<h3>Edit this Overview:</h3>
<div class="item" tal:repeat="item here/getObjects">
<hr>
<div>
<span style="float:right">
<a tal:attributes="
class python:'editLink';
href python:'deleteObject?id=%s'%item.getId()">delete</a>
</span>
<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
</div>
<div class="TOC">
<a tal:attributes="
class python:'editLink';
href python:'moveTop?id=%s'%item.getId()">top</a>
<a tal:attributes="
class python:'editLink';
href python:'moveUp?id=%s'%item.getId()">up</a>
<a tal:attributes="
class python:'editLink';
href python:'moveDown?id=%s'%item.getId()">down</a>
<a tal:attributes="
class python:'editLink';
href python:'moveBottom?id=%s'%item.getId()">bottom</a>
</div>
</div>
<br><a tal:attributes="
href python:'setFolder?mode=%s'%options.get('mode', None)">return to set overwiew</a>
</tal:block>
<!-- user is not logged in -->
<tal:block tal:condition="not:python:here.isAuthorized('edit')">
<h3>No access</h3>
<p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
</tal:block>
</span>
<!-- ende bodytext -->
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>