Name : perl-Text-Table-HTML-DataTables
| |
Version : 0.012
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 18:16:31
|
Group : Unspecified
| Source RPM : perl-Text-Table-HTML-DataTables-0.012-lp154.1.1.src.rpm
|
Size : 0.91 MB
| |
Packager : https://www_suse_com/
| |
Summary : Generate HTML table with jQuery and DataTables plugin
|
Description :
This module is just like Text::Table::HTML, except the HTML code will also load jQuery (http://jquery.com) and the DataTables plugin (http://datatables.net) from the local filesystem (distribution shared directory), so you can filter and sort the table in the browser.
The datatables bundled in this distribution has the following characteristics:
* * Support negative search using dash prefix syntax (\"-foo\") a la Google
To search for table rows that contain \"foo\", \"bar\" (in no particular order) and not \"baz\", you can enter in the search box:
foo bar -baz
The example shown in the SYNOPSIS generates HTML code like the following:
< link rel=\"stylesheet\" type=\"text/css\" href=\"file:///home/ujang/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.13/css/jquery.dataTables.min.css\"> < script src=\"file:///home/ujang/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/auto/share/dist/Text-Table-HTML-DataTables/jquery-2.2.4/jquery-2.2.4.min.js\">< /script> < script src=\"file:///home/ujang/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.13/js/jquery.dataTables.min.js\">< /script> < script>$(document).ready(function() { $(\"table\").DataTable(); });< /script>
< table> < thead> < tr>< th>Name< /th>< th>Rank< /th>< th>Serial< /th>< /tr> < /thead> < tbody> < tr>< td>alice< /td>< td>pvt< /td>< td>12345< /td>< /tr> < tr>< td>bob< /td>< td>cpl< /td>< td>98765321< /td>< /tr> < tr>< td>carol< /td>< td>brig gen< /td>< td>8745< /td>< /tr> < /tbody> < /table>
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |