Changeset 806 for trunk/grails-app/views


Ignore:
Timestamp:
Feb 13, 2011, 9:14:23 PM (13 years ago)
Author:
gav
Message:

Improve html and css formatting of taskProcedure edit and create views.

Location:
trunk/grails-app/views/taskProcedureDetailed
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskProcedureDetailed/_documentReference.gsp

    r798 r806  
    22    <tr id="documentReferenceLazyList${i}" class="docRef-div" <g:if test="${docRef?.toBeDeleted}">style="display:none;"</g:if>>
    33
    4         <td valign="top" class="value ${hasErrors(bean:docRef,field:'name','errors')}">
     4        <td valign="top" class="${hasErrors(bean:docRef,field:'name','errors')}">
    55            <g:hiddenField name="documentReferenceLazyList[${i}].toBeDeleted" value="${docRef?.toBeDeleted}"/>
    66            <g:hiddenField name='documentReferenceLazyList[${i}].isNew' value="${docRef?.id == null?'true':'false'}"/>
    77            <g:textArea name="documentReferenceLazyList[${i}].name"
    88                                    value="${docRef?.name}"
    9                                     style="width:100%;height:auto;"
    10                                     rows="2"
    11                                     cols="25"/>
     9                                    style="width:420px;height:auto;"/>
    1210        </td>
    1311
    14         <td valign="top" class="value ${hasErrors(bean:docRef,field:'location','errors')}">
     12        <td valign="top" class="${hasErrors(bean:docRef,field:'location','errors')}">
    1513            <g:textArea name="documentReferenceLazyList[${i}].location"
    1614                                    value="${docRef?.location}"
    17                                     style="width:100%;height:auto;"
    18                                     rows="2"
    19                                     cols="25"/>
     15                                    style="width:420px;height:auto;"/>
    2016        </td>
    2117
  • trunk/grails-app/views/taskProcedureDetailed/_documentReferences.gsp

    r798 r806  
    3939                <tr>
    4040
    41                     <th>Document Reference</th>
     41                    <th>Document Reference Name</th>
    4242                    <th>Location</th>
    4343                    <th></th>
  • trunk/grails-app/views/taskProcedureDetailed/_maintenanceAction.gsp

    r798 r806  
    22    <tr id="maintenanceActionLazyList${i}" class="ma-div" <g:if test="${ma?.toBeDeleted}">style="display:none;"</g:if>>
    33
    4         <td valign="top" class="value ${hasErrors(bean:tp,field:/maintenanceActionLazyList[$i].procedureStepNumber/,'errors')}">
     4        <td valign="top" class="${hasErrors(bean:tp,field:/maintenanceActionLazyList[$i].procedureStepNumber/,'errors')}">
    55            <g:hiddenField name="maintenanceActionLazyList[${i}].toBeDeleted" value="${ma?.toBeDeleted}"/>
    66            <g:hiddenField name='maintenanceActionLazyList[${i}].isNew' value="${ma?.id == null?'true':'false'}"/>
     
    1010        </td>
    1111
    12         <td valign="top" class="value ${hasErrors(bean:ma,field:'assetSubItem','errors')}">
     12        <td valign="top" class="${hasErrors(bean:ma,field:'assetSubItem','errors')}">
    1313            <g:select optionKey="id"
    1414                                from="${assemblies}"
     
    1919        </td>
    2020
    21         <td valign="top" class="value ${hasErrors(bean:ma,field:'description','errors')}">
     21        <td valign="top" class="${hasErrors(bean:ma,field:'description','errors')}">
    2222            <g:textArea name="maintenanceActionLazyList[${i}].description"
    2323                                    value="${ma?.description}"
    24                                     style="width:100%;height:auto;"
    25                                     rows="2"
    26                                     cols="25"/>
     24                                    style="width:280px;height:auto;"/>
    2725        </td>
    2826
    29         <td valign="top" class="value ${hasErrors(bean:ma,field:'pageRef','errors')}">
     27        <td valign="top" class="${hasErrors(bean:ma,field:'pageRef','errors')}">
    3028            <g:textArea name="maintenanceActionLazyList[${i}].pageRef"
    3129                                    value="${ma?.pageRef}"
    32                                     style="width:100%;height:auto;"
    33                                     rows="2"
    34                                     cols="25"/>
     30                                    style="width:100px;height:auto;"/>
    3531        </td>
    3632
Note: See TracChangeset for help on using the changeset viewer.