File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
adminlteui/templates/admin Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ {% load i18n static %}
2+ {% if result_hidden_fields %}
3+ < div class ="hiddenfields "> {# DIV for HTML validation #}
4+ {% for item in result_hidden_fields %}{{ item }}{% endfor %}
5+ </ div >
6+ {% endif %}
7+ {% if results %}
8+
9+ < div class ="dataTables_wrapper form-inline dt-bootstrap ">
10+ < div class ="row ">
11+ < div class ="col-sm-6 "> </ div >
12+ < div class ="col-sm-6 "> </ div >
13+ </ div >
14+ < div class ="row ">
15+ < div class ="col-sm-12 ">
16+ < table id ="example2 " class ="table table-bordered table-hover dataTable " role ="grid " aria-describedby ="example2_info ">
17+ < thead >
18+ < tr role ="row ">
19+ {% for header in result_headers %}
20+ < th {% if header.sortable %}
21+ {% if header.sorted %}
22+ {% if header.ascending %}
23+ class ="sorting_asc "
24+ {% else %}
25+ class ="sorting_desc "
26+ {% endif %}
27+ {% else %}
28+ class ="sorting "
29+ {% endif %}
30+ {% endif %}
31+ tabindex ="0 " aria-controls ="example2 " rowspan ="1 " colspan ="1 " aria-label ="Rendering engine: activate to sort column descending "> < div class ="text "> {% if header.sortable %}< a href ="{{ header.url_primary }} ">
32+ {{ header.text|capfirst }}</ a > {% else %}< span > {{ header.text|capfirst }}</ span > {% endif %} {% if header.sorted %}< a href ="{{ header.url_remove }} "> < div style ="margin-top: .2em; " class ="fa fa-close pull-right "> </ div > </ a > {% endif %}</ div >
33+ </ th >
34+ {% endfor %}
35+ </ tr >
36+ </ thead >
37+ < tbody >
38+ {% for result in results %}
39+ < tr role ="row " class ="{% cycle 'even' 'odd' %} ">
40+ {% for item in result %}{{ item }}{% endfor %}
41+ </ tr >
42+ {% endfor %}
43+ </ tbody >
44+ < tfoot >
45+ < tr role ="row ">
46+ {% for header in result_headers %}
47+ < th class ="sorting_asc " tabindex ="0 " aria-controls ="example2 " rowspan ="1 " colspan ="1 " aria-sort ="ascending " aria-label ="Rendering engine: activate to sort column descending "> {{ header.text }}</ th >
48+ {% endfor %}
49+ </ tr >
50+ </ tfoot >
51+ </ table >
52+ </ div >
53+ </ div >
54+ </ div >
55+ {% endif %}
You can’t perform that action at this time.
0 commit comments