public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* PATCH: gnatsweb.pl
@ 2001-01-10 16:58 Gerald Pfeifer
  0 siblings, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2001-01-10 16:58 UTC (permalink / raw)
  To: gnats-devel

My daily dose of merger work. This is so that local installations will
need less customizing, and also the text is shorter now.

Installed.

Gerald

2001-01-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* gnatsweb.pl (help_page): Simplify the welcome text and make it
	more generic.

Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gnats/gnats/contrib/gnatsweb/gnatsweb.pl,v
retrieving revision 2.19
diff -u -3 -p -r2.19 gnatsweb.pl
--- gnatsweb.pl	2001/01/10 02:24:20	2.19
+++ gnatsweb.pl	2001/01/11 00:55:04
@@ -2020,15 +2020,13 @@ sub help_page
   my $page = 'Help';
   page_start_html($page);
   page_heading($page, 'Help', 1);
-  print p('Welcome to our problem report database. ',
-          'You\'ll notice that here we call them "problem reports" ',
-          'or "PR\'s", not "bugs".');
-  print p('This web interface is called "gnatsweb". ',
-          'The database system itself is called "gnats".',
-          'You may want to peruse ',
-          a({-href=>"$gnats_info_top"}, 'the gnats manual'),
-          'to read about bug lifecycles and the like, ',
-          'but then again, you may not.');
+
+  print p('Welcome to our problem report database.');
+  print p('This web interface is called gnatsweb, ',
+          'the database system itself is called gnats.');
+  print p('For details, please ',
+          a({-href=>"$gnats_info_top"}, 'refer to our documentation'));
+
   page_footer($page);
   page_end_html($page);
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: gnatsweb.pl
  2001-11-14 16:27 Gerald Pfeifer
  2001-12-18 13:32 ` Gerald Pfeifer
@ 2002-01-06  8:53 ` Gerald Pfeifer
  1 sibling, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2002-01-06  8:53 UTC (permalink / raw)
  To: help-gnats

I committed the gnatsweb 2.99 version of this patch. Yngve, you might
want to apply the first version to the 2.9.x-branch.

Gerald

On Tue, 18 Dec 2001, Gerald Pfeifer wrote:
> GNATS folks (Yngve): Without this patch, gnatsweb mixes classic HTML color
> tags and CSS with the result that (for example on Netscape 4.7) users with
> style sheets disabled easily get white text on white background.
>
> The first patch is for gnatsweb 2.9.3 and tested, the second for current
> development sources 2.99.2 and untested. (If you agree, would you mind
> applying the one against 2.9.3 for me? I can take care of 2.99.2.)
>
> Gerald
>
> 2001-12-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
>
>         * gnatsweb.pl (page_start_html): Do not mix classic HTML color
>         tags (BGCOLOR) and CSS.
>
> Index: gnatsweb.pl
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
> retrieving revision 1.45
> retrieving revision 1.49
> diff -u -3 -p -r1.45 -r1.49
> --- gnatsweb.pl	2001/12/15 09:57:40	1.45
> +++ gnatsweb.pl	2001/12/18 21:11:00	1.49
> @@ -2501,7 +2501,7 @@ EOF
>    $createurl = get_createpr_url(0,1);
>
>    $row = qq(<TR>\n<TD><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">);
> -  $row .= qq(<TR BGCOLOR="$site_banner_background">\n<TD ALIGN="LEFT">);
> +  $row .= qq(<TR STYLE="background-color: $site_banner_background">\n<TD ALIGN="LEFT">);
>    $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</SPAN>)
>          if $global_prefs{'database'};
>    $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</SPAN>)
>
> Index: gnatsweb.pl
> ===================================================================
> RCS file: /cvsroot/gnatsweb/gnatsweb/gnatsweb.pl,v
> retrieving revision 1.87
> diff -u -3 -p -r1.87 gnatsweb.pl
> --- gnatsweb.pl	12 Dec 2001 14:10:56 -0000	1.87
> +++ gnatsweb.pl	18 Dec 2001 21:20:30 -0000
> @@ -3077,7 +3077,7 @@ EOF
>    my $createurl = get_pr_url('create', 0, 1);
>
>    $row = qq(<tr>\n<td><table border="0" cellspacing="0" cellpadding="3" width="100%">);
> -  $row .= qq(<tr bgcolor="$site_banner_background">\n<td align="left">);
> +  $row .= qq(<tr style="background-color: $site_banner_background">\n<td align="left">);
>    $row .= qq(<span style="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</span>)
>                   if $global_prefs{'database'};
>    $row .= qq(<span style="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</span>)


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 4+ messages in thread

* PATCH: gnatsweb.pl
  2001-11-14 16:27 Gerald Pfeifer
@ 2001-12-18 13:32 ` Gerald Pfeifer
  2002-01-06  8:53 ` Gerald Pfeifer
  1 sibling, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2001-12-18 13:32 UTC (permalink / raw)
  To: gcc-patches; +Cc: help-gnats

GCC folks, I installed this so that our gnatsweb 2.9.3 installation works
both with and without style sheets supported/enabled.

GNATS folks (Yngve): Without this patch, gnatsweb mixes classic HTML color
tags and CSS with the result that (for example on Netscape 4.7) users with
style sheets disabled easily get white text on white background.

The first patch is for gnatsweb 2.9.3 and tested, the second for current
development sources 2.99.2 and untested. (If you agree, would you mind
applying the one against 2.9.3 for me? I can take care of 2.99.2.)

Gerald

2001-12-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

        * gnatsweb.pl (page_start_html): Do not mix classic HTML color
        tags (BGCOLOR) and CSS.

Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
retrieving revision 1.45
retrieving revision 1.49
diff -u -3 -p -r1.45 -r1.49
--- gnatsweb.pl	2001/12/15 09:57:40	1.45
+++ gnatsweb.pl	2001/12/18 21:11:00	1.49
@@ -2501,7 +2501,7 @@ EOF
   $createurl = get_createpr_url(0,1);

   $row = qq(<TR>\n<TD><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">);
-  $row .= qq(<TR BGCOLOR="$site_banner_background">\n<TD ALIGN="LEFT">);
+  $row .= qq(<TR STYLE="background-color: $site_banner_background">\n<TD ALIGN="LEFT">);
   $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</SPAN>)
         if $global_prefs{'database'};
   $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</SPAN>)

Index: gnatsweb.pl
===================================================================
RCS file: /cvsroot/gnatsweb/gnatsweb/gnatsweb.pl,v
retrieving revision 1.87
diff -u -3 -p -r1.87 gnatsweb.pl
--- gnatsweb.pl	12 Dec 2001 14:10:56 -0000	1.87
+++ gnatsweb.pl	18 Dec 2001 21:20:30 -0000
@@ -3077,7 +3077,7 @@ EOF
   my $createurl = get_pr_url('create', 0, 1);

   $row = qq(<tr>\n<td><table border="0" cellspacing="0" cellpadding="3" width="100%">);
-  $row .= qq(<tr bgcolor="$site_banner_background">\n<td align="left">);
+  $row .= qq(<tr style="background-color: $site_banner_background">\n<td align="left">);
   $row .= qq(<span style="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</span>)
                  if $global_prefs{'database'};
   $row .= qq(<span style="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</span>)


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 4+ messages in thread

* PATCH: gnatsweb.pl
@ 2001-11-14 16:27 Gerald Pfeifer
  2001-12-18 13:32 ` Gerald Pfeifer
  2002-01-06  8:53 ` Gerald Pfeifer
  0 siblings, 2 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2001-11-14 16:27 UTC (permalink / raw)
  To: gcc-patches; +Cc: help-gnats

GCC folks, I installed this so that our gnatsweb 2.9.3 installation works
both with and without style sheets supported/enabled.

GNATS folks (Yngve): Without this patch, gnatsweb mixes classic HTML color
tags and CSS with the result that (for example on Netscape 4.7) users with
style sheets disabled easily get white text on white background.

The first patch is for gnatsweb 2.9.3 and tested, the second for current
development sources 2.99.2 and untested. (If you agree, would you mind
applying the one against 2.9.3 for me? I can take care of 2.99.2.)

Gerald

2001-12-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

        * gnatsweb.pl (page_start_html): Do not mix classic HTML color
        tags (BGCOLOR) and CSS.

Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
retrieving revision 1.45
retrieving revision 1.49
diff -u -3 -p -r1.45 -r1.49
--- gnatsweb.pl	2001/12/15 09:57:40	1.45
+++ gnatsweb.pl	2001/12/18 21:11:00	1.49
@@ -2501,7 +2501,7 @@ EOF
   $createurl = get_createpr_url(0,1);

   $row = qq(<TR>\n<TD><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">);
-  $row .= qq(<TR BGCOLOR="$site_banner_background">\n<TD ALIGN="LEFT">);
+  $row .= qq(<TR STYLE="background-color: $site_banner_background">\n<TD ALIGN="LEFT">);
   $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</SPAN>)
         if $global_prefs{'database'};
   $row .= qq(<SPAN STYLE="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</SPAN>)

Index: gnatsweb.pl
===================================================================
RCS file: /cvsroot/gnatsweb/gnatsweb/gnatsweb.pl,v
retrieving revision 1.87
diff -u -3 -p -r1.87 gnatsweb.pl
--- gnatsweb.pl	12 Dec 2001 14:10:56 -0000	1.87
+++ gnatsweb.pl	18 Dec 2001 21:20:30 -0000
@@ -3077,7 +3077,7 @@ EOF
   my $createurl = get_pr_url('create', 0, 1);

   $row = qq(<tr>\n<td><table border="0" cellspacing="0" cellpadding="3" width="100%">);
-  $row .= qq(<tr bgcolor="$site_banner_background">\n<td align="left">);
+  $row .= qq(<tr style="background-color: $site_banner_background">\n<td align="left">);
   $row .= qq(<span style="$bannerstyle $banner_fontsize1">$global_prefs{'database'}&nbsp;&nbsp;</span>)
                  if $global_prefs{'database'};
   $row .= qq(<span style="$bannerstyle $banner_fontsize2">User: $db_prefs{'user'}&nbsp;&nbsp;</span>)


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-06 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-10 16:58 PATCH: gnatsweb.pl Gerald Pfeifer
2001-11-14 16:27 Gerald Pfeifer
2001-12-18 13:32 ` Gerald Pfeifer
2002-01-06  8:53 ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).