2012-09-29 13:38:19 +00:00
|
|
|
<html xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude">
|
2012-10-12 02:03:12 +00:00
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/common.css" />
|
2012-10-28 13:06:01 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="/css/show.css" />
|
2012-10-12 02:03:12 +00:00
|
|
|
</head>
|
2012-09-29 13:38:19 +00:00
|
|
|
<body>
|
2012-10-12 02:03:12 +00:00
|
|
|
<xi:include href="login_widget.html" />
|
2012-09-29 13:38:19 +00:00
|
|
|
<div>${login_widget(user)}</div>
|
2012-10-12 02:03:12 +00:00
|
|
|
|
2012-10-28 13:06:01 +00:00
|
|
|
<div py:if="user is not None">
|
|
|
|
<div class="section">
|
2013-01-14 22:22:41 +00:00
|
|
|
<span class="section_name show_section_name"></span>
|
|
|
|
<a py:if="user.groups.admin" class="button" href="/rooms/" >CHAMBRES</a>
|
|
|
|
<a py:if="user.groups.responsablereseau" class="button" href="/administration/" >ADMINISTRATION</a>
|
2012-10-28 13:06:01 +00:00
|
|
|
</div>
|
|
|
|
<div class="section" >
|
|
|
|
<span class="section_name show_section_name">DEBUG</span>
|
|
|
|
<div>
|
|
|
|
<span class="item_name">user</span>
|
|
|
|
<span>${user.attrs.uid.first()}</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<span class="item_name">dn</span>
|
|
|
|
<span>${user.attrs.dn}</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<span class="item_name">groups</span>
|
|
|
|
<span>
|
|
|
|
<py:for each="group in user.groups.list()">${group} </py:for>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-09-29 13:38:19 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|