File:  [NetBSD Developer Wiki] / wikisrc / templates / searchform.tmpl
Revision 1.2: download - view: text, annotated - select for diffs
Mon Jun 25 03:32:31 2018 UTC (2 years, 8 months ago) by maya
Branches: MAIN
CVS tags: HEAD
Use flexbox to make the search option be nice in the menu
(yay vertical align!)

Also use the wrong UTF-8 symbol flipped horizontally for search icon.
Slight transparency trying to make it clear it's a button.

try to use aria-label to make up for lost accessibility.

    1: <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
    2: <div>
    3: <input class="whiteOnBlack" type="text" id="searchbox" name="P" value="Search" size="12" maxlength="255" onfocus="if(this.value==this.defaultValue ) this.value='';" /> <input type="submit" value="&#x2315;" aria-label="search" />
    4: </div>
    5: </form>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb