making it hard to copy/paste the originator field for PR issues.
Also make query-pr.cgi xhtml compliant.
Submitted by: Daniel Gerzo <danger at rulez dot sk>
pass the xhtml compliant check, making us conforming to standards.
This also finishes the update to query-pr-summary.cgi which is now
XHTML 1.0 compliant.
Submitted by: Daniel Gerzo <danger at rulez dot sk>
easier to read when you are using a color capable browser.
This will not impact a text-only browser.
Changes include:
o Code cleanup
o Add CSS style's.
o Use the new CSS style's.
o Move double quotes to quotes where needed.
o Made the HTML (except for the header) html-compliant.
The usage of CSS makes it easy to merge later when/if needed.
Discussed on: www@
No objections from: www@
Submitted by: Daniel Gerzo <danger at rulez dot sk>
o Clean some tagging.
PR: www/82379
Noticed by: Ed Schouten <ed@fxq.nl>
Submitted by: Daniel Gerzo <danger@rulez.sk>
Reviewed by: simon
Approved by: trhodes (mentor)
of problem report viewed through the web interface of query-pr to
bug-followup@freebsd.org to reduce the diffs from the problem-reports
articles and the potential for confusing our users.
Submitted by: Julien Gabel <jpeg@thilelli.net>
Forced commit also to reg.cgi to note that it can be cvs rm'd once all
of {es,fr,ja,ru}/register.sgml have caught up.
Approved by: silence on doc-committers@
some bugs of the text-mode listings of the Gnats database:
- Shave 2 characters out of the submission date, by removing the
enclosing [] pair.
- Increase the width of the tracker field. It should now be wide
enough until PR standards/999999 (which is, hopefully, a very
long time).
- Decrease the width of Resp. to 10 characters, as the longer name
is now a bit shorter (after the removal of 'freebsd-' a while
back).
- Shorten the 'Description' a bit, to keep the entire listing at
less than 79 columns (which IIRC was broken by me in revision
1.45, during the split of HTML/text output in separate functions).
- Handle that 6.0 also uses .tbz packages.
- Simply refer to the -STABLE/-CURRENT branches by their major number
so we don't have to update that part of the script for each release.
- 5-STABLE currently points to packages-5-current since there is no
packages-5-stable yet.
- Change the default version to 5-STABLE/i386.
the last suggestion of Jie Cao from www/69780:
``3. If we strip the spaces at the beginning of the lines, we
can reduce the size with a further 90000 bytes.''
PR: www/69780
Submitted by: Jie Cao (gaoj (at) cpsc (dot) ucalgary (dot) ca)
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.