added searchtable function to more tables in interface

you can now sort by any column in most tables in YaCy just by clicking on the headline column of the table

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6738 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 9623d9e6d2
commit 27b2998eb4

@ -23,6 +23,7 @@
}
-->
</script>
<script src="/js/sorttable.js"></script>
</head>
<body id="Tables">
#%env/templates/header.template%#
@ -37,7 +38,7 @@
<form action="Table_API_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8" name="apilist">
<fieldset>
<legend><label for="table">Recorded Actions</label></legend>
<table border="0" cellpadding="2" cellspacing="1">
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
<td><input type="checkbox" name="allswitch" onclick="setall(this.form.name, this.value)" /></td>
<td>Date</td>
@ -67,7 +68,7 @@
<form action="#">
<fieldset>
<legend><label for="table">Result of API execution</label></legend>
<table border="0" cellpadding="2" cellspacing="1">
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
<td>Status</td>
<td>URL</td>

@ -23,6 +23,7 @@
}
-->
</script>
<script src="/js/sorttable.js"></script>
</head>
<body id="Tables">
#%env/templates/header.template%#
@ -48,7 +49,7 @@
<form action="Tables_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8" name="tablelisting">
<fieldset>
<legend><label for="table">Table Editor: showing table '#[table]#'</label></legend>
<table border="0" cellpadding="2" cellspacing="1">
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
<td><input type="checkbox" name="allswitch" onclick="setall(this.form.name, this.value)" /></td>
<td>PK</td>

@ -7,12 +7,13 @@
#(/showtable)#
#%env/templates/metas.template%#
</head>
<script src="/js/sorttable.js"></script>
<body id="Table">
#(showtable)#::
<form action="/Tables_p.html" method="post" target="_parent" enctype="multipart/form-data" accept-charset="UTF-8" name="tablelisting">
<fieldset>
<legend><label for="table">Table: '#[table]#'</label></legend>
<table border="0" cellpadding="2" cellspacing="1">
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
#(showpk)#::<td>PK</td>#(/showpk)#
#{columns}#

@ -59,7 +59,7 @@ function updatepage(str) {
if (totalResults > 0) {
var item;
html += "<table class=\"networkTable\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" width=\"99%\">";
html += "<table class=\"sortable\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" width=\"99%\">";
html += "<tr class=\"TableHeader\" valign=\"bottom\">";
html += "<td>Name</td>";
html += "<td width=\"60\">Size</td>";
@ -78,6 +78,7 @@ function updatepage(str) {
}
//]]>
</script>
<script src="/js/sorttable.js"></script>
</head>
<body>
<script type="text/javascript">

Loading…
Cancel
Save