1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00

cleaning the result table in search*

This commit is contained in:
kakwa 2015-05-31 22:39:47 +02:00
parent e0a40bd09b
commit 30dc907d82
2 changed files with 4 additions and 20 deletions

View File

@ -15,6 +15,7 @@
</form> </form>
</div> </div>
</div> </div>
% if not searchresult is None:
<div class="row clearfix top-buffer bottom-buffer"> <div class="row clearfix top-buffer bottom-buffer">
<div class="col-md-12 column"> <div class="col-md-12 column">
<div class="well well-sm"> <div class="well well-sm">
@ -61,21 +62,9 @@
</tr> </tr>
% endfor % endfor
</tbody> </tbody>
<tr>
%for attr in attrs_list:
<th>
${attrs_list[attr]}
</th>
% endfor
<th class="sorter-false">
Modify
</th>
<th class="sorter-false">
Delete
</th>
</tr>
</table> </table>
</div> </div>
</div> </div>
</div> </div>
%endif
</%block> </%block>

View File

@ -15,6 +15,7 @@
</form> </form>
</div> </div>
</div> </div>
% if not searchresult is None:
<div class="row clearfix top-buffer bottom-buffer"> <div class="row clearfix top-buffer bottom-buffer">
<div class="col-md-12 column"> <div class="col-md-12 column">
<div class="well well-sm"> <div class="well well-sm">
@ -41,15 +42,9 @@
</tr> </tr>
% endfor % endfor
</tbody> </tbody>
<tr>
%for attr in attrs_list:
<th>
${attrs_list[attr]}
</th>
% endfor
</tr>
</table> </table>
</div> </div>
</div> </div>
</div> </div>
%endif
</%block> </%block>