New Styles For Framework applications

Apply the new CSS styles to all the forms into the Framework applications (Example, Example Ext, Webtools) and we will have the same look and feel on the ftl screens and screen widgets
Submitted by Marco Risaliti
See OFBIZ-1619


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christian Geisert
2008-02-18 17:09:33 +00:00
parent 966126eea9
commit ba354d8bf2
31 changed files with 884 additions and 709 deletions
@@ -16,73 +16,86 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<h1>${uiLabelMap.WebtoolsSqlProcessor}</h1>
<br/>
<form method="post" action="EntitySQLProcessor" name="EntitySQLCommand">
<table class="basic-table" cellspacing="0">
<tr>
<td class="label">
${uiLabelMap.CommonGroup}
</td>
<td>
<select name="group">
<#list groups as group>
<option value="${group}" <#if selGroup?exists><#if group = selGroup>selected</#if></#if>>${group}</option>
</#list>
</select>
</td>
</tr>
<tr>
<td class="label">
${uiLabelMap.WebtoolsSqlCommand}
</td>
<td>
<textarea name="sqlCommand" cols="100" rows="5">${sqlCommand?if_exists}</textarea>
</td>
</tr>
<tr>
<td class="label">
${uiLabelMap.WebtoolsLimitRowsTo}
</td>
<td>
<input name="rowLimit" type="text" size="5" value="${rowLimit?default(200)}"/>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" name="submitButton" value="${uiLabelMap.CommonSubmit}"/>
</td>
</tr>
</table>
</form>
<br />
<h1>${uiLabelMap.WebtoolsResults}</h1>
<br />
<#if resultMessage?has_content>
${resultMessage}
<br />
</#if>
<#if columns?has_content>
<table class="basic-table dark-grid hover-bar" cellspacing="0">
<tr class="header-row">
<#list columns as column>
<td>${column}</td>
</#list>
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<li class="head3">${uiLabelMap.WebtoolsSqlProcessor}</li>
</ul>
<br class="clear"/>
</div>
<div class="screenlet-body">
<form method="post" action="EntitySQLProcessor" name="EntitySQLCommand">
<table class="basic-table" cellspacing="0">
<tr>
<td class="label">
${uiLabelMap.CommonGroup}
</td>
<td>
<select name="group">
<#list groups as group>
<option value="${group}" <#if selGroup?exists><#if group = selGroup>selected</#if></#if>>${group}</option>
</#list>
</select>
</td>
</tr>
<#if records?has_content>
<#assign alt_row = false>
<#list records as record>
<tr <#if alt_row> class="alternate-row"</#if> >
<#list record as field>
<td>${field?if_exists}</td>
<tr>
<td class="label">
${uiLabelMap.WebtoolsSqlCommand}
</td>
<td>
<textarea name="sqlCommand" cols="100" rows="5">${sqlCommand?if_exists}</textarea>
</td>
</tr>
<tr>
<td class="label">
${uiLabelMap.WebtoolsLimitRowsTo}
</td>
<td>
<input name="rowLimit" type="text" size="5" value="${rowLimit?default(200)}"/>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" name="submitButton" value="${uiLabelMap.CommonSubmit}"/>
</td>
</tr>
</table>
</form>
</div>
</div>
<div class="screenlet">
<div class="screenlet-title-bar">
<ul>
<li class="head3">${uiLabelMap.WebtoolsResults}</li>
</ul>
<br class="clear"/>
</div>
<div class="screenlet-body">
<#if resultMessage?has_content>
${resultMessage}
<br />
</#if>
<#if columns?has_content>
<table class="basic-table hover-bar" cellspacing="0">
<tr class="header-row">
<#list columns as column>
<td>${column}</td>
</#list>
</tr>
<#assign alt_row = !alt_row>
</#list>
</#if>
</table>
</#if>
<#if records?has_content>
<#assign alt_row = false>
<#list records as record>
<tr <#if alt_row> class="alternate-row"</#if> >
<#list record as field>
<td>${field?if_exists}</td>
</#list>
</tr>
<#assign alt_row = !alt_row>
</#list>
</#if>
</table>
</#if>
</div>
</div>