From 2d0ebade46d8a5942adb3e2ce816840a6ae16c1e Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Tue, 13 Jan 2015 09:36:31 -0500 Subject: [PATCH] - Fixed column sorting - cleaned up some javascript --- interface/web/sites/templates/web_vhost_domain_list.htm | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/web/sites/templates/web_vhost_domain_list.htm b/interface/web/sites/templates/web_vhost_domain_list.htm index c7c20aa..09b6453 100644 --- a/interface/web/sites/templates/web_vhost_domain_list.htm +++ b/interface/web/sites/templates/web_vhost_domain_list.htm @@ -32,11 +32,11 @@ <table class="table"> <thead class="dark form-group-sm"> <tr> - <tmpl_if name="vhostdomain_type" value="domain"><th class="small-col"><tmpl_var name="domain_id_txt"></th></tmpl_if> - <th class="tiny-col"><tmpl_var name="active_txt"></th> - <th><tmpl_var name="server_id_txt"></th> - <tmpl_if name="vhostdomain_type" op="!=" value="domain"><th><tmpl_var name="parent_domain_id_txt"></th></tmpl_if> - <th><tmpl_var name="domain_txt"></th> + <tmpl_if name="vhostdomain_type" value="domain"><th class="small-col" data-column="domain_id"><tmpl_var name="domain_id_txt"></th></tmpl_if> + <th class="tiny-col" data-column="active"><tmpl_var name="active_txt"></th> + <th data-column="server_id"><tmpl_var name="server_id_txt"></th> + <tmpl_if name="vhostdomain_type" op="!=" value="domain"><th data-column="parent_domain_id"><tmpl_var name="parent_domain_id_txt"></th></tmpl_if> + <th data-column="domain"><tmpl_var name="domain_txt"></th> <th class="small-col text-right">{tmpl_var name='search_limit'}</th> </tr> <tr> @@ -46,7 +46,7 @@ <tmpl_if name="vhostdomain_type" op="!=" value="domain"><td><select class="form-control" name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td></tmpl_if> <td><input class="form-control" type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td> <td class="text-right"> - <button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','sites/web_vhost_domain_list.php');"><span class="icon icon-filter"></span></button> + <button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" data-submit-form="pageForm" data-form-action="sites/web_vhost_domain_list.php"><span class="icon icon-filter"></span></button> </td> </tr> </thead> -- Gitblit v1.9.1