summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Reports/reports/templates/clients
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-06-01 17:05:58 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-06-01 17:06:16 -0500
commitb7977ff7b228802ffd2b82bfd446b6afc6e8a091 (patch)
treeb17b989f74b611c8d0eda29791e283ccf208fe1f /src/lib/Bcfg2/Server/Reports/reports/templates/clients
parent82388019f6d271e954c07260ed3a4578cc0c47e4 (diff)
downloadbcfg2-b7977ff7b228802ffd2b82bfd446b6afc6e8a091.tar.gz
bcfg2-b7977ff7b228802ffd2b82bfd446b6afc6e8a091.tar.bz2
bcfg2-b7977ff7b228802ffd2b82bfd446b6afc6e8a091.zip
bcfg2-web: D=Make detailed client list sortable
Diffstat (limited to 'src/lib/Bcfg2/Server/Reports/reports/templates/clients')
-rw-r--r--src/lib/Bcfg2/Server/Reports/reports/templates/clients/detailed-list.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/clients/detailed-list.html b/src/lib/Bcfg2/Server/Reports/reports/templates/clients/detailed-list.html
index 84ac71d92..005c8b998 100644
--- a/src/lib/Bcfg2/Server/Reports/reports/templates/clients/detailed-list.html
+++ b/src/lib/Bcfg2/Server/Reports/reports/templates/clients/detailed-list.html
@@ -10,14 +10,14 @@
{% filter_navigator %}
<table cellpadding="3">
<tr id='table_list_header' class='listview'>
- <td class='left_column'>Node</td>
- <td class='right_column' style='width:75px'>State</td>
- <td class='right_column_narrow'>Good</td>
- <td class='right_column_narrow'>Bad</td>
- <td class='right_column_narrow'>Modified</td>
- <td class='right_column_narrow'>Extra</td>
- <td class='right_column'>Last Run</td>
- <td class='right_column_wide'>Server</td>
+ <td class='left_column'>{% sort_link 'client' 'Node' %}</td>
+ <td class='right_column' style='width:75px'>{% sort_link 'state' 'State' %}</td>
+ <td class='right_column_narrow'>{% sort_link '-good' 'Good' %}</td>
+ <td class='right_column_narrow'>{% sort_link '-bad' 'Bad' %}</td>
+ <td class='right_column_narrow'>{% sort_link '-modified' 'Modified' %}</td>
+ <td class='right_column_narrow'>{% sort_link '-extra' 'Extra' %}</td>
+ <td class='right_column'>{% sort_link 'timestamp' 'Last Run' %}</td>
+ <td class='right_column_wide'>{% sort_link 'server' 'Server' %}</td>
</tr>
{% for entry in entry_list %}
<tr class='{% cycle listview,listview_alt %}'>