[yocto] [layerindex-web][patch v2 1/1] recipes.html: Require keyword for recipe search

Paul Eggleton paul.eggleton at linux.intel.com
Mon Nov 6 23:42:40 PST 2017


On Tuesday, 7 November 2017 8:27:03 PM NZDT Paul Eggleton wrote:
> I'm not sure <error> is a valid HTML tag. Looking at the bootstrap docs I
> think we should actually be using its error state and help text
> functionality (see "Validation states" on http://getbootstrap.com/2.3.2/
> base-css.html#forms ). I tested it and to fix the layout apparently we need
> to rearrange the tags so that <form> is immediately under the row-fluid div,
> i.e. it should be:
> 
>                 <div class="row-fluid">
>                     <form ...>
>                         <div class="control-group">
>                             <div class="controls" id="searchfield">
>                                 <div class="input-append">
>                                     <input ... />
>                                     <button ...>search</button>
>                                 </div>
>                                 <span class="help-inline" id="errortext">
>                                 </span>
>                             </div>
>                         </div>
>                     </form>
>                 </div>

Hmm, actually that's wrong, we want the id on the control-group div not the
controls one i.e.

                <div class="row-fluid">
                    <form ...>
                        <div class="control-group" id="searchfield">
                            <div class="controls">
                                <div class="input-append">
                                    <input ... />
                                    <button ...>search</button>
                                </div>
                                <span class="help-inline" id="errortext"></span>
                            </div>
                        </div>
                    </form>
                </div>

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list