2015-06-27 22:35:34 +02:00
|
|
|
## -*- coding: utf-8 -*-
|
2015-05-30 21:36:06 +02:00
|
|
|
<%inherit file="navbar.tmpl"/>
|
|
|
|
<%block name="core">
|
2016-07-07 08:01:57 +02:00
|
|
|
<div class="row clearfix top-buffer bottom-buffer">
|
|
|
|
<div class="col-md-2 column">
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12 column">
|
2016-07-07 08:11:50 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Your attributes:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2016-07-07 08:01:57 +02:00
|
|
|
<table id="RecordTable" class="table table-hover table-condensed">
|
|
|
|
% if not searchresult is None:
|
2019-02-09 18:31:37 +01:00
|
|
|
<tbody>
|
2016-07-07 08:01:57 +02:00
|
|
|
%for attr in sorted(attrs_list.keys(), key=lambda attr: attrs_list[attr]['weight']):
|
|
|
|
<tr>
|
|
|
|
% if attr in searchresult:
|
|
|
|
<%
|
|
|
|
value = searchresult[attr]
|
|
|
|
if type(value) is list:
|
|
|
|
value = ', '.join(value)
|
|
|
|
%>
|
2016-07-07 08:15:50 +02:00
|
|
|
<td><b>${attrs_list[attr]['display_name']}</b>:</td>
|
2016-07-07 08:01:57 +02:00
|
|
|
<td>${value}</td>
|
|
|
|
% endif
|
|
|
|
</tr>
|
|
|
|
% endfor
|
|
|
|
</tbody>
|
2019-02-09 18:31:37 +01:00
|
|
|
%endif
|
2016-07-07 08:11:50 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-07 08:01:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-2 column">
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-30 21:36:06 +02:00
|
|
|
</%block>
|