Author: jonathan Date: Wed Feb 18 16:11:32 2009 New Revision: 31086 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=31086
Log: MASHUP-1139: better fix (uses stylesheet.) Modified: branches/mashup/java/1.5/java/modules/www/css/styles.css branches/mashup/java/1.5/java/modules/www/search.jsp Modified: branches/mashup/java/1.5/java/modules/www/css/styles.css URL: http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/www/css/styles.css?rev=31086&r1=31085&r2=31086&view=diff ============================================================================== --- branches/mashup/java/1.5/java/modules/www/css/styles.css (original) +++ branches/mashup/java/1.5/java/modules/www/css/styles.css Wed Feb 18 16:11:32 2009 @@ -809,6 +809,16 @@ text-align:left; } +input#user-comments, +input#user-mashups { + width:120px +} + +input#searchMashups_for, +input#searchComments_for { + width:300px +} + div#showAdvancedSearch ul.searchType { text-align: left; margin: 1em 2px 0em 0em; Modified: branches/mashup/java/1.5/java/modules/www/search.jsp URL: http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/www/search.jsp?rev=31086&r1=31085&r2=31086&view=diff ============================================================================== --- branches/mashup/java/1.5/java/modules/www/search.jsp (original) +++ branches/mashup/java/1.5/java/modules/www/search.jsp Wed Feb 18 16:11:32 2009 @@ -675,7 +675,7 @@ </select> </td> <td valign="top"> - <input type="text" id="user-mashups" style="width:120px" autocomplete="off" + <input type="text" id="user-mashups" autocomplete="off" onkeyup="getUserNames('user-mashups')" <% if (searchScope.equals("") || searchScope.equals(currentUser)) { %>style="display:none" <% } else { %>value="<%=searchScope%>"<% } %> @@ -686,7 +686,7 @@ </table> </td> <td> - <input id="searchMashups_for" type="text" name="for" style="width:300px" + <input id="searchMashups_for" type="text" name="for" value="<%= searchFor == null ? "(all mashups)" : searchFor %>" onfocus="prepareInput(event)" onblur="restoreInput(event,'(all mashups)')" class="emptyfield" /> <script type="text/javascript">initInput('searchMashups_for', '(all mashups)');</script> @@ -747,7 +747,7 @@ </select> </td> <td valign="top"> - <input type="text" id="user-comments" style="width:120px" autocomplete="off" + <input type="text" id="user-comments" autocomplete="off" onkeyup="getUserNames('user-comments')" <% if (searchScope.equals("") || searchScope.equals(currentUser)) { %>style="display:none" <% } else { %>value="<%=searchScope%>"<% } %> @@ -759,7 +759,7 @@ </table> </td> <td> - <input id="searchComments_for" type="text" name="for" style="width:300px" + <input id="searchComments_for" type="text" name="for" value="<%= searchFor == null ? "(all comments)" : searchFor %>" onfocus="prepareInput(event)" onblur="restoreInput(event,'(all comments)')" class="emptyfield"/> <script type="text/javascript">initInput('searchComments_for', '(all comments)');</script> _______________________________________________ Mashup-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
