Updated attributes table
authorThierry Florac <thierry.florac@onf.fr>
Wed, 11 Apr 2018 11:30:36 +0200
changeset 35 51bf736cbaf6
parent 34 2bab2a8e8853
child 36 9b38d327e6a0
Updated attributes table
src/pyams_ldap/zmi/templates/ldap-attributes.pt
--- a/src/pyams_ldap/zmi/templates/ldap-attributes.pt	Wed Apr 11 11:11:01 2018 +0200
+++ b/src/pyams_ldap/zmi/templates/ldap-attributes.pt	Wed Apr 11 11:30:36 2018 +0200
@@ -1,11 +1,15 @@
-<table class="table table-bordered table-striped table-hover table-tight datatable">
-	<tr>
-		<th>Attribute name</th>
-		<th>Value</th>
-	</tr>
-	<tr tal:repeat="attr view.attributes">
-		<td tal:content="attr[0]"></td>
-		<td tal:define="value attr[1]"
-			tal:content="structure view.br.join(sorted(value)) if isinstance(value, list) else value"></td>
-	</tr>
+<table class="table table-bordered table-striped table-hover table-tight datatable margin-top-30">
+	<thead>
+		<tr>
+			<th>Attribute name</th>
+			<th>Value</th>
+		</tr>
+	</thead>
+	<tbody>
+		<tr tal:repeat="attr view.attributes">
+			<td tal:content="attr[0]"></td>
+			<td tal:define="value attr[1]"
+				tal:content="structure view.br.join(sorted(value)) if isinstance(value, list) else value"></td>
+		</tr>
+	</tbody>
 </table>