Project

General

Profile

« Previous | Next » 

Revision 7773b868

Added by Jim Pingle almost 15 years ago

Make OpenVPN client list sortable.

View differences:

usr/local/www/vpn_openvpn_client.php
798 798

  
799 799
			<?php else: ?>
800 800

  
801
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
801
			<table class="sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
802
				<thead>
802 803
				<tr>
803 804
					<td width="10%" class="listhdrr"><?=gettext("Disabled"); ?></td>
804 805
					<td width="10%" class="listhdrr"><?=gettext("Protocol"); ?></td>
......
806 807
					<td width="40%" class="listhdrr"><?=gettext("Description"); ?></td>
807 808
					<td width="10%" class="list"></td>
808 809
				</tr>
810
				</thead>
811
				<tbody>
809 812
				<?php
810 813
					$i = 0;
811 814
					foreach($a_client as $client):
......
841 844
					$i++;
842 845
					endforeach;
843 846
				?>
847
				</tbody>
848
				<tfoot>
844 849
				<tr>
845 850
					<td class="list" colspan="4"></td>
846 851
					<td class="list">
......
855 860
						</p>
856 861
					</td>
857 862
				</tr>
863
				</tfoot>
858 864
			</table>
859 865

  
860 866
			<?php endif; ?>

Also available in: Unified diff