Date: Wed, 13 Oct 2004 10:55:55 +0000 (UTC) From: Giorgos Keramidas <keramida@FreeBSD.org> To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: www/en/cgi cgi-style.pl query-pr-summary.cgi Message-ID: <200410131055.i9DAtu1E097614@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
keramida 2004-10-13 10:55:55 UTC FreeBSD doc repository Modified files: en/cgi cgi-style.pl query-pr-summary.cgi Log: Put on my chain mail suit and change the output format of the PR database queries once again, because I've received complaints that the HTML output mode of the PR query scripts outputs huge, bloated tables after the style changes I made to beautify HTML output. This moves all the visual tweaks of the output in a CSS stylesheet and add a $t_style option to the common cgi-style.pl script. If not set, the style defaults to empty, but users of cgi-style.pl can set this to a local CSS style like this: $t_style="<style type=\"text/css\">...</style>"; or use it to refer from the header of the HTML output to an external CSS stylesheet. The HTML output size is substantially reduced now (at least 50% of the size was caused by many repetitions of style="" attributes), but it's still larger than the preformatted <pre> output because of all the <tr> and <td> tags. Revision Changes Path 1.18 +7 -2 www/en/cgi/cgi-style.pl 1.47 +23 -17 www/en/cgi/query-pr-summary.cgi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410131055.i9DAtu1E097614>