Ignore:
Timestamp:
Jan 14, 2010, 8:35:31 PM (14 years ago)
Author:
gav
Message:

Start of asset tree refactor.
Tweak AppConfig.groovy maxSize values and regenerate views.
Add page_copy.png

Location:
trunk/grails-app/views/appConfig
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/appConfig/create.gsp

    r234 r265  
    3131                                </td>
    3232                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'name','errors')}">
    33                                     <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:appConfigInstance,field:'name')}"/>
     33                                    <input type="text" maxlength="100" id="name" name="name" value="${fieldValue(bean:appConfigInstance,field:'name')}"/>
     34                                </td>
     35                            </tr>
     36                       
     37                            <tr class="prop">
     38                                <td valign="top" class="name">
     39                                    <label for="value">Value:</label>
     40                                </td>
     41                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'value','errors')}">
     42                                    <textarea rows="5" cols="40" name="value">${fieldValue(bean:appConfigInstance, field:'value')}</textarea>
    3443                                </td>
    3544                            </tr>
     
    4049                                </td>
    4150                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'description','errors')}">
    42                                     <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:appConfigInstance,field:'description')}"/>
    43                                 </td>
    44                             </tr>
    45                        
    46                             <tr class="prop">
    47                                 <td valign="top" class="name">
    48                                     <label for="value">Value:</label>
    49                                 </td>
    50                                 <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'value','errors')}">
    51                                     <input type="text" id="value" name="value" value="${fieldValue(bean:appConfigInstance,field:'value')}"/>
     51                                    <textarea rows="5" cols="40" name="description">${fieldValue(bean:appConfigInstance, field:'description')}</textarea>
    5252                                </td>
    5353                            </tr>
  • trunk/grails-app/views/appConfig/edit.gsp

    r234 r265  
    3434                                </td>
    3535                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'name','errors')}">
    36                                     <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:appConfigInstance,field:'name')}"/>
     36                                    <input type="text" maxlength="100" id="name" name="name" value="${fieldValue(bean:appConfigInstance,field:'name')}"/>
     37                                </td>
     38                            </tr>
     39                       
     40                            <tr class="prop">
     41                                <td valign="top" class="name">
     42                                    <label for="value">Value:</label>
     43                                </td>
     44                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'value','errors')}">
     45                                    <textarea rows="5" cols="40" name="value">${fieldValue(bean:appConfigInstance, field:'value')}</textarea>
    3746                                </td>
    3847                            </tr>
     
    4352                                </td>
    4453                                <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'description','errors')}">
    45                                     <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:appConfigInstance,field:'description')}"/>
    46                                 </td>
    47                             </tr>
    48                        
    49                             <tr class="prop">
    50                                 <td valign="top" class="name">
    51                                     <label for="value">Value:</label>
    52                                 </td>
    53                                 <td valign="top" class="value ${hasErrors(bean:appConfigInstance,field:'value','errors')}">
    54                                     <input type="text" id="value" name="value" value="${fieldValue(bean:appConfigInstance,field:'value')}"/>
     54                                    <textarea rows="5" cols="40" name="description">${fieldValue(bean:appConfigInstance, field:'description')}</textarea>
    5555                                </td>
    5656                            </tr>
  • trunk/grails-app/views/appConfig/list.gsp

    r234 r265  
    2525                                <g:sortableColumn property="name" title="Name" />
    2626                       
     27                                <g:sortableColumn property="value" title="Value" />
     28                       
    2729                                <g:sortableColumn property="description" title="Description" />
    28                        
    29                                 <g:sortableColumn property="value" title="Value" />
    3030                       
    3131                        </tr>
     
    3939                            <td>${fieldValue(bean:appConfigInstance, field:'name')}</td>
    4040                       
     41                            <td>${fieldValue(bean:appConfigInstance, field:'value')}</td>
     42                       
    4143                            <td>${fieldValue(bean:appConfigInstance, field:'description')}</td>
    42                        
    43                             <td>${fieldValue(bean:appConfigInstance, field:'value')}</td>
    4444                       
    4545                        </tr>
  • trunk/grails-app/views/appConfig/show.gsp

    r234 r265  
    3737                   
    3838                        <tr class="prop">
    39                             <td valign="top" class="name">Description:</td>
     39                            <td valign="top" class="name">Value:</td>
    4040                           
    41                             <td valign="top" class="value">${fieldValue(bean:appConfigInstance, field:'description')}</td>
     41                            <td valign="top" class="value">${fieldValue(bean:appConfigInstance, field:'value')}</td>
    4242                           
    4343                        </tr>
    4444                   
    4545                        <tr class="prop">
    46                             <td valign="top" class="name">Value:</td>
     46                            <td valign="top" class="name">Description:</td>
    4747                           
    48                             <td valign="top" class="value">${fieldValue(bean:appConfigInstance, field:'value')}</td>
     48                            <td valign="top" class="value">${fieldValue(bean:appConfigInstance, field:'description')}</td>
    4949                           
    5050                        </tr>
Note: See TracChangeset for help on using the changeset viewer.