Changeset 413 for trunk/grails-app/views/sectionExtendedAttributeDetailed
- Timestamp:
- Feb 24, 2010, 2:44:22 PM (15 years ago)
- Location:
- trunk/grails-app/views/sectionExtendedAttributeDetailed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/sectionExtendedAttributeDetailed/create.gsp
r268 r413 9 9 <body> 10 10 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="list">SectionExtendedAttribute List</g:link></span>11 <h1>Create Section Extended Attribute</h1> 12 12 </div> 13 13 <div class="body"> 14 <h1>Create SectionExtendedAttribute</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 14 <g:render template="/shared/messages" /> 18 15 <g:hasErrors bean="${sectionExtendedAttributeInstance}"> 19 16 <div class="errors"> -
trunk/grails-app/views/sectionExtendedAttributeDetailed/edit.gsp
r268 r413 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">SectionExtendedAttribute List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New SectionExtendedAttribute</g:link></span> 11 <h1>Edit Section Extended Attribute</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>Edit SectionExtendedAttribute</h1> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 14 <g:render template="/shared/messages" /> 19 15 <g:hasErrors bean="${sectionExtendedAttributeInstance}"> 20 16 <div class="errors"> … … 70 66 <div class="buttons"> 71 67 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 68 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span> 72 69 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 73 70 </div> -
trunk/grails-app/views/sectionExtendedAttributeDetailed/list.gsp
r268 r413 9 9 <body> 10 10 <div class="nav"> 11 < span class="menuButton"><g:link class="create" action="create">New SectionExtendedAttribute</g:link></span>11 <h1>Section Extended Attribute List</h1> 12 12 </div> 13 13 <div class="body"> 14 <h1>SectionExtendedAttribute List</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 14 <g:render template="/shared/messages" /> 18 15 <div class="list"> 19 16 <table> … … 30 27 31 28 <th>Section</th> 29 30 <th></th> 32 31 33 32 </tr> … … 35 34 <tbody> 36 35 <g:each in="${sectionExtendedAttributeInstanceList}" status="i" var="sectionExtendedAttributeInstance"> 37 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">36 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionExtendedAttributeDetailed/show/${sectionExtendedAttributeInstance.id}"'/> 38 37 39 <td> <g:link action="show" id="${sectionExtendedAttributeInstance.id}">${fieldValue(bean:sectionExtendedAttributeInstance, field:'id')}</g:link></td>38 <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'id')}</td> 40 39 41 40 <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'value')}</td> … … 46 45 47 46 <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'section')}</td> 47 48 <td> 49 <g:link action="show" id="${sectionExtendedAttributeInstance.id}"> 50 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 51 </g:link> 52 </td> 48 53 49 54 </tr> -
trunk/grails-app/views/sectionExtendedAttributeDetailed/show.gsp
r288 r413 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">SectionExtendedAttribute List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New SectionExtendedAttribute</g:link></span> 11 <h1>Show Section Extended Attribute</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>Show SectionExtendedAttribute</h1> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 14 <g:render template="/shared/messages" /> 19 15 <div class="dialog"> 20 16 <table>
Note: See TracChangeset
for help on using the changeset viewer.