Re: [wwwdocs] Complete revamp of our web site

2006-06-11 Thread Gerald Pfeifer
[ gcc-patches added, Reply-To: set ]

On Mon, 5 Jun 2006, DJ Delorie wrote:
 Sidebars should have some enclosing detail, such as a border or a
 shading, so set them off from the rest of the page.  Don't rely on
 whitespace to do this job.

On this one, we follow the style of http://www.gnu.org.  Looking into the 
CSS there, I see that indeed they (and thus us) set a different background 
color, alas that color is #fefefe which is white for all practical matters.

I guess this can be considered a bug, so I'll apply the patch below on 
gcc.gnu.org in a minute and try to get a discussion with [EMAIL PROTECTED]
on this started.  (Viewers of http://www.gnu.org/software/gcc/ will still
get the design in sync with the main page there, but http://gcc.gnu.org
will get the background.)

Okay?

 Platforms and Testing have bullets; no other item in that list
 does.

Addressed by several changes yesterday.  Should be much more consistent
now.

Gerald

Index: gnu.css
===
RCS file: /cvs/gcc/wwwdocs/htdocs/gnu.css,v
retrieving revision 1.1
diff -u -3 -p -r1.1 gnu.css
--- gnu.css 4 Jun 2006 23:24:17 -   1.1
+++ gnu.css 11 Jun 2006 16:23:46 -
@@ -73,12 +73,15 @@ a:hover { 
font-weight: bold; 
 }
 
+/* gcc.gnu.org-local change: sync background-color with the copyright box 
+ *   instead of #fefefe which is basically white.
+ */
 .td_con {
padding-top: 3px; 
padding-left: 8px; 
padding-bottom: 3px; 
color : #303030; 
-   background-color : #fefefe; 
+   background-color: #f2f2f9;
font-size: smaller;
 }
 


Re: [wwwdocs] Complete revamp of our web site

2006-06-11 Thread Gerald Pfeifer
On Mon, 5 Jun 2006, DJ Delorie wrote:
 Right-side navigation bars are nonstandard.  It should be moved to the
 left side.  Don't accept the search engine excuse; that's easily
 fixable.  Also, by fixing the search engine issue you punish Lynx
 users; the navigation menu is now near (but not at) the end of the
 text.

Is your concern mainly Lynx users (and similar users)?  It should be
feasible to move the navigation bar to the beginning for these while
still keeping it on the right side to be in sync with www.gnu.org.

(Which technique would you recommend to address what you refer to as
the search engine issue?)

Gerald


Re: [wwwdocs] Complete revamp of our web site

2006-06-11 Thread Daniel Berlin
Gerald Pfeifer wrote:
 On Mon, 5 Jun 2006, DJ Delorie wrote:
 Right-side navigation bars are nonstandard.  It should be moved to the
 left side.  Don't accept the search engine excuse; that's easily
 fixable.  Also, by fixing the search engine issue you punish Lynx
 users; the navigation menu is now near (but not at) the end of the
 text.
 
 Is your concern mainly Lynx users (and similar users)?  It should be
 feasible to move the navigation bar to the beginning for these while
 still keeping it on the right side to be in sync with www.gnu.org.
 
 (Which technique would you recommend to address what you refer to as
 the search engine issue?)

I have to ask, why do people use lynx these days when links or elinks
are much faster and better text mode browsers?

I just have a very hard time thinking there are many lynx users these days.

 
 Gerald
 



Re: [wwwdocs] Complete revamp of our web site

2006-06-11 Thread DJ Delorie

 Is your concern mainly Lynx users (and similar users)?  It should be
 feasible to move the navigation bar to the beginning for these while
 still keeping it on the right side to be in sync with www.gnu.org.

Lynx is an example of a non-GUI browser.  All non-GUI browsers would
suffer similarly.  I don't think they should be moved to the top; that
messes up search engines, but the usual alternate is to put a set of
links at the *bottom* of the page, not in the middle.

 (Which technique would you recommend to address what you refer to as
 the search engine issue?)

http://www.delorie.com/web/ses-hint.html


Re: [wwwdocs] Complete revamp of our web site

2006-06-10 Thread Gerald Pfeifer
On Tue, 6 Jun 2006, Joe Buck wrote:
 Also what about moving the News up to a noticeable spot since right now
 it is down in a corner so it looks out of place.  In fact on my screen
 which is set to 1024x768, I have to scroll to get to the news.
 Yes, the top news needs to be on the front page, anything you have to
 scroll down for effectively isn't on the front page.

On those systems I tested, include my notebook, things fit nicely in one
window (basically no scrolling), both before the revamp and thereafter
(this part wasn't really affected by the revamp).

This is good feedback, though.  Apparently this affects many users out
there, so let me see what I can do about it.

Gerald


Re: [wwwdocs] Complete revamp of our web site

2006-06-10 Thread Gerald Pfeifer
On Sat, 10 Jun 2006, Andrew Pinski wrote:
 Attach is what I see currently on the web page, the news is down low in the
 lower right.
 Barely noticeable.

Ack.  Would you mind sending another screenshot tomorrow evening your time? ;-)

Gerald


Re: [wwwdocs] Complete revamp of our web site

2006-06-07 Thread Gerald Pfeifer
On Mon, 5 Jun 2006, Martin Michlmayr wrote:
 * Gerald Pfeifer [EMAIL PROTECTED] [2006-06-05 22:51]:
  h1GCC, the GNU Compiler Collection/h1
 How about a dash here rather than a comma?  Looks nicer imho:
 |  h1GCC - the GNU Compiler Collection/h1

The reason I avoid the dash is that, per the FSF guidelines, the
title continues with  - GNU Project - Free Software Foundation.

This is not visible in the plain HTML source, but added automagically
on the server.

We could omit one of GCC or GNU Compiler Collection from the title, or
use GNU Compiler Collection (GCC) or GCC (GNU Compiler Collection).
I have a slight preference for keeping the status quo, but don't feel
too strongly about it.

Gerald


Re: [wwwdocs] Complete revamp of our web site

2006-06-07 Thread Martin Michlmayr
* Gerald Pfeifer [EMAIL PROTECTED] [2006-06-07 11:38]:
 I have a slight preference for keeping the status quo

OK.
-- 
Martin Michlmayr
http://www.cyrius.com/


Re: [wwwdocs] Complete revamp of our web site

2006-06-06 Thread Joe Buck
On Mon, Jun 05, 2006 at 09:53:00PM -0700, Andrew Pinski wrote:
 Also what about moving the News up to a noticeable spot since right now
 it is down in a corner so it looks out of place.  In fact on my screen
 which is set to 1024x768, I have to scroll to get to the news.

Yes, the top news needs to be on the front page, anything you have to
scroll down for effectively isn't on the front page.



[wwwdocs] Complete revamp of our web site

2006-06-05 Thread Gerald Pfeifer
The following patchset renovates our web presence, adopting the current
style from www.gnu.org and bringing the Java and libstdc++ pages in sync
so that we now have one common style.

Feedback welcome!  (Steven, I've seen yours already and will respond. ;-)


Compress the navigation bar vertically, such that it no longer dominates
our vertical extent.
Move the gcc-announce subscription form from the navigation bar to the
body and restructure the lower half of the body into two columns, the
left one for announcements, the right one for subscription and search.
Disable the old logo and move the navigation bar from the left side to
the right side.
Adjust the Java and libstdc++ pages similarly by moving the navigation
bar to the right side.  Adjust the style in those two areas to our new
global style.

Gerald

Index: index.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.562
diff -u -r1.562 index.html
--- index.html  5 Jun 2006 10:46:26 -   1.562
+++ index.html  5 Jun 2006 20:26:46 -
@@ -6,10 +6,12 @@
 set-var navigation
 body
 
-img src=gcc.png alt= align=right /
-
 h1GCC, the GNU Compiler Collection/h1
 
+!--
+img src=gcc.png alt= align=right /
+--
+
 pThe GNU Compiler Collection includes front ends for
 C, C++, Objective-C, a href=fortran/Fortran/a,
 a href=java/Java/a, and Ada, as well as libraries for these
@@ -85,6 +87,9 @@
 /dl
 --
 
+tabletr
+td style=width: 50%; padding-right: 8px; valign=top
+
 h2smallNews/Announcements/small/h2
 
 dl
@@ -124,7 +129,24 @@
 | a href=http://gcc.gnu.org/onlinedocs/g77/News.html;Fortran 77 status/a
 | a href=news.htmlOlder news and announcements.../a
 
+/tdtd style=width: 50%; padding-left: 12px; border-left: #3366cc thin 
solid; valign=top
+
+h2smallGet our announcements:/small/h2
+
+  form method=get action=http://gcc.gnu.org/cgi-bin/ml-request;
+input type=hidden name=digestvalue=off /
+input type=hidden name=operation value=subscribe /
+input type=hidden name=listname  value=gcc-announce /
+input type=text   name=username  value=your e-mail address 
size=20 style=font-size:90%; /
+input type=submit name=submitvalue=Subscribe 
style=font-size:90%; /
+  /form
+
+h2smallSearch our site/small/h2
+
 include searchbox.ihtml
 
+/td
+/tr/table
+
 /body
 /html
Index: style.mhtml
===
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.89
diff -u -r1.89 style.mhtml
--- style.mhtml 5 Jun 2006 00:17:20 -   1.89
+++ style.mhtml 5 Jun 2006 20:34:25 -
@@ -12,23 +12,12 @@
   unset-var XHTML
 
 
-;;; For the java/ pages, we have a different color scheme.
+;;; For the java/ pages, we want the navigation bar.
 
 if match get-var env::PREPROCESS_FILE java/[^/]*.html
  group 
   set-var navigation
   set-var BACKPATH=../
-  define-function nav-title-style bgcolor=#B0D0FF /define-function
-  define-function nav-body-style bgcolor=#E0F0FF /define-function
-  define-container h2
-   verbatim
-h2 style=background-color:#B0D0FF
-   /verbatim
-   %body
-   verbatim
-/h2
-   /verbatim
-  /define-container
  
 
 
@@ -121,7 +110,17 @@
   table border=0 cellspacing=0 cellpadding=2
   tr
 
-  td valign=top   !-- left frame --
+  td bgcolor=white valign=top width=99%   !-- main frame --
+ 
+
+
+%body
+
+if var-exists navigation
+ group
+  /td!-- end of main frame --
+
+  td valign=top style=padding-left: 36px;!-- nav frame --
   table border=0 cellspacing=0 cellpadding=2 width=10em
 
   if match get-var env::PREPROCESS_FILE java/[^/]*.html
@@ -148,17 +147,15 @@
   if match get-var env::PREPROCESS_FILE libstdc../[^/]*.html
group
 trtdtable cellspacing=0 width=100%
-tr bgcolor=#CCtd
+trtd nav-title-style 
 blibstdc++ v3/b
 /td/tr
-tr bgcolor=#EEtd
-p
+trtd nav-body-style 
 a href=index.htmllibstdc++ Home/abr /
 a href=../index.htmlGCC Home/abr /
 a href=http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html;FAQ/a
 (a href=http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.txt;text/a)br 
/
 a 
href=http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html;Documentation/a
-/p
 /td/tr
 /table/td/tr

@@ -169,14 +166,12 @@
   bAbout GCC/b
   /td/tr
   trtd nav-body-style 
-  p
   a href=get-var BACKPATHgccmission.htmlMission Statement/abr /
   a href=get-var BACKPATHreleases.htmlReleases/abr /
   a href=get-var BACKPATHsnapshots.htmlSnapshots/abr /
   a href=get-var BACKPATHlists.htmlMailing lists/abr /
   a 
href=http://gcc.gnu.org/onlinedocs/gcc/Contributors.html;Contributors/abr 
/
   a href=get-var BACKPATHsteering.htmlSteering Committee/abr /
-  /p
   /td/tr
   /table/td/tr
 
@@ -185,15 +180,12 @@
   bDocumentation/b
   /td/tr
   trtd nav-body-style 
-  p
-  a 

Re: [wwwdocs] Complete revamp of our web site

2006-06-05 Thread Martin Michlmayr
* Gerald Pfeifer [EMAIL PROTECTED] [2006-06-05 22:51]:
  h1GCC, the GNU Compiler Collection/h1

How about a dash here rather than a comma?  Looks nicer imho:
|  h1GCC - the GNU Compiler Collection/h1
-- 
Martin Michlmayr
[EMAIL PROTECTED]


Re: [wwwdocs] Complete revamp of our web site

2006-06-05 Thread DJ Delorie

 Feedback welcome!

Right-side navigation bars are nonstandard.  It should be moved to the
left side.  Don't accept the search engine excuse; that's easily
fixable.  Also, by fixing the search engine issue you punish Lynx
users; the navigation menu is now near (but not at) the end of the
text.

Sidebars should have some enclosing detail, such as a border or a
shading, so set them off from the rest of the page.  Don't rely on
whitespace to do this job.

Platforms and Testing have bullets; no other item in that list
does.


Re: [wwwdocs] Complete revamp of our web site

2006-06-05 Thread Tom Tromey
 Gerald == Gerald Pfeifer [EMAIL PROTECTED] writes:

Gerald The following patchset renovates our web presence, adopting
Gerald the current style from www.gnu.org and bringing the Java and
Gerald libstdc++ pages in sync so that we now have one common style.

Looking better!  I like it much more.

Gerald Feedback welcome!

Since you asked...

For the gcj pages I think there are still some things that would be
nice to change.  Some is content, some is layout, and some is
technology.  Overall the pages (and the gcc main page is included
here) are too cluttered.

Content:

The what is gcj section is too verbose.  It should be a single
paragraph, and then a link to more info or something like that.

Layout:

The font is too big.  The news section should be visible when you
first visit the page, without scrolling.  In particular I think the
news should be along the left, the what is gcj? thing in the middle,
and the navigation on the right (or reversed if the navigation is on
the left... I don't really care where that ends up).

Technology:

We should have an RSS feed for the news.  Ideally any gcj hacker could
add a news entry without a cvs commit, but I don't insist on that :).
The news column for gcj should come from this feed, and the news
column for the main gcc page should subscribe to it.

Take a look at the mono main page if you want to see something that
looks nice, is clean, and remains useful.

Tom


Re: [wwwdocs] Complete revamp of our web site

2006-06-05 Thread Andrew Pinski


On Jun 5, 2006, at 2:26 PM, DJ Delorie wrote:




Feedback welcome!


Right-side navigation bars are nonstandard.  It should be moved to the
left side.  Don't accept the search engine excuse; that's easily
fixable.  Also, by fixing the search engine issue you punish Lynx
users; the navigation menu is now near (but not at) the end of the
text.


I was going to say the same thing.

Also what about moving the News up to a noticeable spot since right now
it is down in a corner so it looks out of place.  In fact on my screen
which is set to 1024x768, I have to scroll to get to the news.

The release info should be at the same level as the news.

Thanks,
Andrew Pinski