Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 18:35:46 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50752 - head/en_US.ISO8859-1/htdocs/cgi
Message-ID:  <201708271835.v7RIZkOb093035@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wosch
Date: Sun Aug 27 18:35:46 2017
New Revision: 50752
URL: https://svnweb.freebsd.org/changeset/doc/50752

Log:
  fix namespaces for input fields

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:45 2017	(r50751)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 18:35:46 2017	(r50752)
@@ -968,16 +968,16 @@ b { color: #996600; }
 i { color: #008000; }
 -->
 span.footer_links { font-size: small; }
-input, button { font-size: large; }
-input[name='query'] { text-align: center; }
 span.space { font-size: xx-small; }
+form#man > input, form#man > button { font-size: large; }
+form#man > input[name='query'] { text-align: center; }
 
 @media only screen and (max-height: 640px), (max-width: 880px) {
 div#header, div#menu { display: none !important; }
 div#content { padding-top: 4.9em; }
-form > input, button { font-size: 200%; }
-form > button { font-size: 200%; }
-input[name='query'] { width: 12em; }
+form#man > input, button { font-size: 200%; }
+form#man > button { font-size: 200%; }
+form#man > input[name='query'] { width: 12em; }
 }
 </style>
 |;
@@ -1733,7 +1733,7 @@ sub formquery {
     my $autofocus = $query ? "" : "autofocus";
 
     print <<ETX;
-<form method="get" action="$BASE">
+<form id="man" method="get" action="$BASE">
 <!-- Manual Page or Keyword Search: -->
 &nbsp;&nbsp;
 <input id="query" value="$query" name="query" size="36" $autofocus />



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708271835.v7RIZkOb093035>