Author: sichen
Date: Fri Mar 16 09:35:05 2007 New Revision: 519052 URL: http://svn.apache.org/viewvc?view=rev&rev=519052 Log: Fix up styles of entity sql query. From Adrian Crum, OFBIZ-821 Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntitySQLProcessor.ftl Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntitySQLProcessor.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntitySQLProcessor.ftl?view=diff&rev=519052&r1=519051&r2=519052 ============================================================================== --- ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntitySQLProcessor.ftl (original) +++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntitySQLProcessor.ftl Fri Mar 16 09:35:05 2007 @@ -16,17 +16,16 @@ specific language governing permissions and limitations under the License. --> -<span class="head1">${uiLabelMap.WebtoolsSqlProcessor}</span> - -<form method="post" action="EntitySQLProcessor" name="EntitySQLCommand" style="margin: 0;"> -<table border="0" cellpadding="2" cellspacing="0"> +<h1>${uiLabelMap.WebtoolsSqlProcessor}</h1> +<br /> +<form method="post" action="EntitySQLProcessor" name="EntitySQLCommand"> +<table class="basic-table" cellspacing="0"> <tr> - <td width="20%" align="right"> - <span class="tableheadtext">${uiLabelMap.CommonGroup}</span> + <td class="label"> + ${uiLabelMap.CommonGroup} </td> - <td> </td> - <td width="80%" align="left"> - <select name="group" class="selectBox"> + <td> + <select name="group"> <#list groups as group> <option value="${group}" <#if selGroup?exists><#if group = selGroup>selected</#if></#if>>${group}</option> </#list> @@ -34,50 +33,59 @@ </td> </tr> <tr> - <td width="20%" align="right"> - <span class="tableheadtext">${uiLabelMap.WebtoolsSqlCommand}</span> + <td class="label"> + ${uiLabelMap.WebtoolsSqlCommand} </td> - <td> </td> - <td width="80%" align="left"> - <textarea class="textAreaBox" name="sqlCommand" cols="100" rows="5">${sqlCommand?if_exists}</textarea> + <td> + <textarea name="sqlCommand" cols="100" rows="5">${sqlCommand?if_exists}</textarea> </td> </tr> <tr> - <td width="20%" align="right"> - <span class="tableheadtext">${uiLabelMap.WebtoolsLimitRowsTo}</span> + <td class="label"> + ${uiLabelMap.WebtoolsLimitRowsTo} </td> - <td> </td> - <td width="80%" align="left"> - <input class="tabletext" name="rowLimit" value="${rowLimit?default(200)}"/> + <td> + <input name="rowLimit" value="${rowLimit?default(200)}"/> </td> </tr> <tr> - <td width="20%" align="right"> </td> <td> </td> - <td width="80%" align="left" colspan="4"> - <input type="submit" class="smallSubmit" name="submitButton" value="${uiLabelMap.CommonSubmit}"/> + <td> + <input type="submit" name="submitButton" value="${uiLabelMap.CommonSubmit}"/> </td> </tr> </table> </form> -<span class="head1">${uiLabelMap.WebtoolsResults}</span> +<br /> +<h1>${uiLabelMap.WebtoolsResults}</h1> +<br /> + +<#if resultMessage?has_content> + ${resultMessage} + <br /> +</#if> -<div class="tabletext">${resultMessage?if_exists}</div> <#if columns?has_content> - <table border="1" cellpadding="2" cellspacing="0"> - <tr> + <table class="basic-table dark-grid hover-bar" cellspacing="0"> + <tr class="header-row"> <#list columns as column> - <td><div class="tabletext"><b>${column}</b></div></td> + <td>${column}</td> </#list> </tr> <#if records?has_content> + <#assign alt_row = false> <#list records as record> - <tr> + <tr <#if alt_row> class="alternate-row"</#if> > <#list record as field> - <td><div class="tabletext">${field?if_exists}</div></td> + <td>${field?if_exists}</td> </#list> </tr> + <#if alt_row> + <#assign alt_row = false> + <#else> + <#assign alt_row = true> + </#if> </#list> </#if> </table> |
Free forum by Nabble | Edit this page |