Changeset 471 for trunk/grails-app/views/personGroupDetailed
- Timestamp:
- Mar 31, 2010, 12:32:04 PM (15 years ago)
- Location:
- trunk/grails-app/views/personGroupDetailed
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/personGroupDetailed/create.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Create PersonGroup</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="list">PersonGroup List</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Create PersonGroup</h1>15 15 <g:if test="${flash.message}"> 16 16 <div class="message">${flash.message}</div> -
trunk/grails-app/views/personGroupDetailed/edit.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit PersonGroup</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">PersonGroup List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New PersonGroup</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Edit PersonGroup</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> … … 65 64 </tr> 66 65 67 <tr class="prop">68 <td valign="top" class="name">69 <label for="persons">Persons:</label>70 </td>71 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:'persons','errors')}">72 73 </td>74 </tr>75 76 66 </tbody> 77 67 </table> … … 79 69 <div class="buttons"> 80 70 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 71 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span> 81 72 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 82 73 </div> -
trunk/grails-app/views/personGroupDetailed/list.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>PersonGroup List</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="create" action="create">New PersonGroup</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>PersonGroup List</h1>15 15 <g:if test="${flash.message}"> 16 16 <div class="message">${flash.message}</div> … … 21 21 <tr> 22 22 23 <g:sortableColumn property="id" title="Id" />24 25 23 <g:sortableColumn property="name" title="Name" /> 26 24 … … 29 27 <g:sortableColumn property="isActive" title="Is Active" /> 30 28 31 <th>Person Group Type</th> 29 <g:sortableColumn property="personGroupType" title="Group Type" /> 30 31 <th></th> 32 32 33 33 </tr> … … 35 35 <tbody> 36 36 <g:each in="${personGroupInstanceList}" status="i" var="personGroupInstance"> 37 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 38 39 <td><g:link action="show" id="${personGroupInstance.id}">${fieldValue(bean:personGroupInstance, field:'id')}</g:link></td> 37 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'/> 40 38 41 39 <td>${fieldValue(bean:personGroupInstance, field:'name')}</td> … … 46 44 47 45 <td>${fieldValue(bean:personGroupInstance, field:'personGroupType')}</td> 46 47 <td> 48 <g:link action="show" id="${personGroupInstance.id}"> 49 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 50 </g:link> 51 </td> 48 52 49 53 </tr> -
trunk/grails-app/views/personGroupDetailed/show.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Show PersonGroup</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">PersonGroup List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New PersonGroup</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Show PersonGroup</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> … … 53 52 <td valign="top" class="name">Person Group Type:</td> 54 53 55 <td valign="top" class="value"><g:link controller="personGroupType " action="show" id="${personGroupInstance?.personGroupType?.id}">${personGroupInstance?.personGroupType?.encodeAsHTML()}</g:link></td>54 <td valign="top" class="value"><g:link controller="personGroupTypeDetailed" action="show" id="${personGroupInstance?.personGroupType?.id}">${personGroupInstance?.personGroupType?.encodeAsHTML()}</g:link></td> 56 55 57 56 </tr>
Note: See TracChangeset
for help on using the changeset viewer.