From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15856 invoked from network); 21 Sep 2004 19:33:08 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 21 Sep 2004 19:33:08 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9qTt-00076L-4y for listarch-gnats-devel@sources.redhat.com; Tue, 21 Sep 2004 15:39:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9qTU-0006sr-Aq for help-gnats@gnu.org; Tue, 21 Sep 2004 15:38:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9qTS-0006rD-Tu for help-gnats@gnu.org; Tue, 21 Sep 2004 15:38:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9qTS-0006r5-RB for help-gnats@gnu.org; Tue, 21 Sep 2004 15:38:50 -0400 Received: from [66.60.176.161] (helo=sierralogic.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1C9qMi-0006C9-U5 for help-gnats@gnu.org; Tue, 21 Sep 2004 15:31:53 -0400 Received: (qmail 16353 invoked from network); 21 Sep 2004 19:31:46 -0000 Received: from unknown (HELO wizard) (192.168.174.221) by 0 with SMTP; 21 Sep 2004 19:31:46 -0000 From: "Stuart Stevens" To: "'Chad Walstrom'" , Date: Tue, 28 Sep 2004 14:46:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcSfL8MsliEb5CmSQD6Pqi3NZb2mLwA3yetA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <20040920163312.GI30447@wookimus.net> Message-Id: Cc: Subject: RE: Changes to gnatsweb.pl X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q3/txt/msg00086.txt.bz2 Chad Yes, the "sections" is hackish. Better if attributes could be added to the GNATs fields and then define well known attributes. I wanted to key off of the database so the hack keys off of dummy fields that are enums with a single value which is the title. The gnatsweb.pl script catches field names beginning with "Separator" and treats them specially. Removes them from the query forms and adds them to the view and edit pages. For non gnatsweb users these fields help break up the form still. field "Separator1" { enum { values { "Problem Description" } default "Problem Description" } } Sections displays a single table row with the background color of the header and text displayed as "H1". The purpose is to break up the form into sections that different people are responsible for. There are some links at the top of the page to take the user directly to the section they are interested in. Within the section there is a button which duplicates the button at the top and bottom of the web page (edit or submit for view or edit pages) (as you pointed out below). We are using four sections that break the edit and view pages into five sections (initial section without a title) - 18 fields Problem Description - Originator and problem fields (14) Fix - Developer and fix info (17) Verification - QA info (5 and expected to grow) Miscellaneous - Unformatted followed by audit-trail -----Original Message----- From: help-gnats-bounces+stuart_stevens=sierralogic.com@gnu.org [mailto:help-gnats-bounces+stuart_stevens=sierralogic.com@gnu.org] On Behalf Of Chad Walstrom Sent: Monday, September 20, 2004 9:33 AM To: help-gnats@gnu.org Subject: Re: Changes to gnatsweb.pl Stuart Stevens wrote: > 2. Sections were added by creating dummy field entries in the GNATS > database. Each field began with the word "Separator" and the > description field contained the text of the separation. That sounds like a hack. Effective, no doubt, but hackish. What do you mean by "sections"? > Quick links were added to the top of the web page. "edit" or > "submit" buttons were added to the "view" and "edit" pages. Useful. However, isn't the "edit" and "submit" buttons already shown on the view and edit pages, respectively? -- Chad Walstrom http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats