Fix up styles of entity sql query. From Adrian Crum, OFBIZ-821
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -16,17 +16,16 @@ KIND, either express or implied. See the License for the
|
||||
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 @@ under the License.
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user