[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#815239: marked as done (www.debian.org: improving package search forms to be more intuitive)



Your message dated Sun, 10 Jul 2016 21:51:27 +0200
with message-id <89468bf8-b399-99bd-81fe-5c2e6929a8c3@gmail.com>
and subject line patch applied
has caused the Debian Bug report #815239,
regarding www.debian.org: improving package search forms to be more intuitive
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
815239: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815239
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: www.debian.org
Severity: normal
Tags: patch


The search forms at https://www.debian.org/distrib/packages.en.html have
the submit button in the first line.
I think it's surprising for a newcomer and providing the submit button
at the end for the form fits probably better to visitor's mind. The
attached search_form.png shows the difference of paths required to the
visitor.

For the same reason, an input is under another one for each forms.

The patches are based on the files found in the CVS repository.


-- 
Stéphane

Attachment: search_form.png
Description: PNG image

--- search_contents-form.inc.orig	2016-02-20 03:24:31.000000000 +0100
+++ search_contents-form.inc	2016-02-20 11:40:50.000000000 +0100
@@ -8,8 +8,6 @@
 <input type="hidden" name="searchon" value="contents" />
 <label for="keyword"><gettext domain="distrib">Keyword</gettext>:</label>
 <input type="text" size="30" name="keywords" id="keyword" /> &nbsp;
-<input type="submit" value="<gettext domain="distrib">Search</gettext>" />
-&nbsp;<input type="reset" value="<gettext domain="distrib">Reset</gettext>" />
 <br />
 <gettext domain="distrib">Display</gettext>:
 <br />
@@ -30,6 +28,7 @@
   <option value="stable" selected="selected"><gettext domain="distrib">stable</gettext></option>
   <option value="oldstable"><gettext domain="distrib">oldstable</gettext></option>
 </select>
+<br />
 <label for="architecture"><gettext domain="distrib">Architecture</gettext>:</label>
 
 #include "$(ENGLISHDIR)/releases/sid/archive.data"
@@ -43,5 +42,10 @@
  }
 :>
 </select>
+<br />
+<span style="margin-left: 5em;">
+  <input type="submit" value="<gettext domain="distrib">Search</gettext>" />
+  &nbsp;<input type="reset" value="<gettext domain="distrib">Reset</gettext>" />
+</span>
 </p>
 </form>
--- search_packages-form.inc.orig	2016-02-20 03:24:14.000000000 +0100
+++ search_packages-form.inc	2016-02-20 11:41:27.000000000 +0100
@@ -7,7 +7,6 @@
 <p>
 <label for="kw"><gettext domain="distrib">Keyword</gettext>:</label>
 <input type="text" size="30" name="keywords" id="kw" />
-<input type="submit" value="<gettext domain="distrib">Search</gettext>" /> <input type="reset" value="<gettext domain="distrib">Reset</gettext>" />
 <br />
 <gettext domain="distrib">Search on</gettext>:
 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked" />
@@ -29,6 +28,7 @@
   <option value="oldstable"><gettext domain="distrib">oldstable</gettext></option>
   <option value="all"><gettext domain="distrib">any</gettext></option>
 </select>
+<br />
 <label for="releasesection"><gettext domain="distrib">Section</gettext>:</label>
 <select name="section" id="releasesection">
   <option value="main"><gettext domain="distrib">main</gettext></option>
@@ -36,5 +36,10 @@
   <option value="non-free"><gettext domain="distrib">non-free</gettext></option>
   <option value="all" selected="selected"><gettext domain="distrib">any</gettext></option>
 </select>
+<br />
+<span style="margin-left: 5em;">
+  <input type="submit" value="<gettext domain="distrib">Search</gettext>" />
+  <input type="reset" value="<gettext domain="distrib">Reset</gettext>" />
+</span>
 </p>
 </form>

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
The last patches are committed in the repository and are now visible in
the web site.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: