diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 22:16:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 22:16:53 +0000 |
commit | ba6d49ff7cf9de41701f98bf9cf7b00c77a10f30 (patch) | |
tree | 221fad71a0775c44996a992fddc32ef452ed49e4 /usr/local/www | |
parent | 7db1344bf9b286d6873dfe9b5f2693db12f67df5 (diff) | |
download | pfsense-ba6d49ff7cf9de41701f98bf9cf7b00c77a10f30.zip pfsense-ba6d49ff7cf9de41701f98bf9cf7b00c77a10f30.tar.gz |
Add sortable table header support
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index 429ffd5..0ebea49 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -41,6 +41,7 @@ if($_GET['filter']) { ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> +<script src="/javascript/sorttable.js"></script> <?php include("fbegin.inc"); ?> <p class="pgtitle"><?=$pgtitle?></p> <table width="100%" border="0" cellpadding="0" cellspacing="0"> @@ -55,28 +56,29 @@ if($_GET['filter']) { <tr><td> <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td colspan="10"> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> - <form action="diag_dump_states.php" method="get" id="search"> - <tr> - <td style="font-weight:bold;" width="50" align="right">Filter: - - <input name="filter" type="text" id="" value="<?=$_GET['filter'];?>" size="30" style="font-size:11px;"> - <input type="submit" class="formbtn" value="Filter"> - </form> - <td> - </tr> - </table> - </td> - </tr> - - <tr> - <td class="listhdrr" width="10%">Proto</td> - <td class="listhdrr" width="65">Source -> Router -> Destination</td> - <td class="listhdr" width="25%">State</td> - </tr> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td colspan="9"> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td style="font-weight:bold;" width="50" align="right">Filter: + + <input name="filter" type="text" id="" value="<?=$_GET['filter'];?>" size="30" style="font-size:11px;"> + <input type="submit" class="formbtn" value="Filter"> + </form> + <td> + </tr> + </table> + </td> + </tr> + <tr><td> + <table id="sortabletable" name="sortabletable" class="sortable" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="listhdrr" width="10%">Proto</td> + <td class="listhdrr" width="65">Source -> Router -> Destination</td> + <td class="listhdr" width="15%">State</td> + <td class="list" width="1%"></td> + </tr> <?php $state_counter = 0; if(count($states) > 0) { @@ -105,6 +107,7 @@ EOD; } ?> +</td></tr></table> </table> </div> </center> |