Skip to content

Commit 0736d91

Browse files
author
cfoe
committed
corrected column sorting for vm_list to meet standard
1 parent 5ed2f06 commit 0736d91

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

interface/web/themes/default-v2/templates/vm/openvz_vm_list.htm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
1717
<table class="list">
1818
<thead>
1919
<tr class="caption">
20-
<th class="tbl_col_active" scope="col"><tmpl_var name="active_txt"></th>
2120
<th class="tbl_col_veid" scope="col"><tmpl_var name="veid_txt"></th>
21+
<th class="tbl_col_active" scope="col"><tmpl_var name="active_txt"></th>
2222
<th class="tbl_col_server_id" scope="col"><tmpl_var name="server_id_txt"></th>
2323
<th class="tbl_col_ostemplate_id" scope="col"><tmpl_var name="ostemplate_id_txt"></th>
2424
<th class="tbl_col_template_id" scope="col"><tmpl_var name="template_id_txt"></th>
@@ -27,8 +27,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
2727
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
2828
</tr>
2929
<tr class="filter">
30-
<td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td>
3130
<td class="tbl_col_veid"><input type="text" name="search_veid" style="width:40px;" value="{tmpl_var name='search_veid'}" /></td>
31+
<td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td>
3232
<td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
3333
<td class="tbl_col_ostemplate_id"><select name="search_ostemplate_id">{tmpl_var name='search_ostemplate_id'}</select></td>
3434
<td class="tbl_col_template_id"><select name="search_template_id">{tmpl_var name='search_template_id'}</select></td>
@@ -42,8 +42,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
4242
<tbody>
4343
<tmpl_loop name="records">
4444
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
45-
<td class="tbl_col_active"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
4645
<td class="tbl_col_veid"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="veid"}</a></td>
46+
<td class="tbl_col_active"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
4747
<td class="tbl_col_server_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td>
4848
<td class="tbl_col_ostemplate_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ostemplate_id"}</a></td>
4949
<td class="tbl_col_template_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="template_id"}</a></td>

interface/web/vm/templates/openvz_vm_list.htm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
1717
<table class="list">
1818
<thead>
1919
<tr>
20-
<th class="tbl_col_active" scope="col"><tmpl_var name="active_txt"></th>
2120
<th class="tbl_col_veid" scope="col"><tmpl_var name="veid_txt"></th>
21+
<th class="tbl_col_active" scope="col"><tmpl_var name="active_txt"></th>
2222
<th class="tbl_col_server_id" scope="col"><tmpl_var name="server_id_txt"></th>
2323
<th class="tbl_col_ostemplate_id" scope="col"><tmpl_var name="ostemplate_id_txt"></th>
2424
<th class="tbl_col_template_id" scope="col"><tmpl_var name="template_id_txt"></th>
@@ -27,8 +27,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
2727
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
2828
</tr>
2929
<tr>
30-
<td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td>
3130
<td class="tbl_col_veid"><input type="text" name="search_veid" style="width:40px;" value="{tmpl_var name='search_veid'}" /></td>
31+
<td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td>
3232
<td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
3333
<td class="tbl_col_ostemplate_id"><select name="search_ostemplate_id">{tmpl_var name='search_ostemplate_id'}</select></td>
3434
<td class="tbl_col_template_id"><select name="search_template_id">{tmpl_var name='search_template_id'}</select></td>
@@ -40,8 +40,8 @@ <h2><tmpl_var name="list_head_txt"></h2>
4040
<tbody>
4141
<tmpl_loop name="records">
4242
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
43-
<td class="tbl_col_active"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
4443
<td class="tbl_col_veid"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="veid"}</a></td>
44+
<td class="tbl_col_active"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
4545
<td class="tbl_col_server_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td>
4646
<td class="tbl_col_ostemplate_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ostemplate_id"}</a></td>
4747
<td class="tbl_col_template_id"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="template_id"}</a></td>

0 commit comments

Comments
 (0)