Closed vladak closed 5 years ago
status NEW severity minor in component webapp for --- Reported in version unspecified on platform Other Assigned to: Trond Norbye
On 2008-12-17 08:26:34 +0000, Vladimir Kotal wrote:
The size of the search fields is hardcoded in web/menu.jspf to 300 pixels: 30 <tr><td align="right"> Full Search </td><td><input class="q" name="q" size="45" style="width: 300px" value="<%=Util.formQuoteEscape(q)%>"/></td></tr> 31 <tr><td align="right"> Definition </td><td><input class="q" name="defs" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(defs)%>"/></td></tr> 32 <tr><td align="right"> Symbol </td><td><input class="q" name="refs" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(refs)%>"/></td></tr> 33 <tr><td align="right"> File Path </td><td><input class="q" name="path" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(path)%>"/></td></tr> 34 <tr><td align="right"> History </td><td><input class="q" name="hist" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(hist)%>"/></td></tr> 35 <% if (hasProjects) { %> 36 <tr> 37 <td align="right" valign="top"> Project </td> 38 <td> 39 <select class="q" name="project" size="<%=Math.min(5, env.getProjects().size())%>" style="width: 300px"> Instead, it should be part of the CSSs.
The size of the search fields is hardcoded in web/menu.jspf to 300 pixels:
30 <tr><td align="right"> Full Search </td><td><input class="q" name="q" size="45" style="width: 300px" value="<%=Util.formQuoteEscape(q)%>"/></td></tr> 31 <tr><td align="right"> Definition </td><td><input class="q" name="defs" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(defs)%>"/></td></tr> 32 <tr><td align="right"> Symbol </td><td><input class="q" name="refs" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(refs)%>"/></td></tr> 33 <tr><td align="right"> File Path </td><td><input class="q" name="path" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(path)%>"/></td></tr> 34 <tr><td align="right"> History </td><td><input class="q" name="hist" size="25" style="width: 300px" value="<%=Util.formQuoteEscape(hist)%>"/></td></tr> 35 <% if (hasProjects) { %> 36 <tr> 37 <td align="right" valign="top"> Project </td> 38 <td> 39 <select class="q" name="project" size="<%=Math.min(5, env.getProjects().size())%>" style="width: 300px">
Instead, it should be part of the CSSs.
If I remember correctly now the search fields are 100% of the 30% box.
I don't see the hard-coded pixels in menu.jspf any more.
menu.jspf
status NEW severity minor in component webapp for --- Reported in version unspecified on platform Other Assigned to: Trond Norbye
On 2008-12-17 08:26:34 +0000, Vladimir Kotal wrote: