Changeset 147 for trunk/grails-app/views
- Timestamp:
- Oct 8, 2009, 7:58:38 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/appCore/manager.gsp
r143 r147 14 14 <div class="message">${flash.message}</div> 15 15 </g:if> 16 <br /> 17 <br /> 18 <a href="${createLink(controller:'person', action:'list')}">Manage application users</a> 19 <br /> 20 <br /> 21 <!-- View Entity Relationship Diagram: 22 <a href="${createLink(controller:'classDiagram', action:'model', params:[outputFormat: 'pdf', skin: 'classicSpacey', showMethods: 'false', autoUpdate: 'false'])}">pdf</a> 23 and 24 <a href="${createLink(controller:'classDiagram', action:'legend', target:'_blank')}">legend</a> 25 or 26 <a href="${createLink(controller:'classDiagram', action:'show')}">interactive.</a>--> 27 </div> 16 <div class="dialog"> 17 <table> 18 <tbody> 19 20 <tr class="prop"> 21 <td valign="top" class="name"> 22 <label>Manage:</label> 23 </td> 24 <td valign="top" class="value"> 25 <a href="${createLink(controller:'person', action:'list')}">Application users</a> 26 </td> 27 </tr> 28 29 <tr class="prop"> 30 <td valign="top" class="name"> 31 <label>Entity Relationship Diagram:</label> 32 </td> 33 <td valign="top" class="value"> 34 35 <a href="${createLink(controller:'classDiagram', action:'model', params:[outputFormat: 'pdf', skin: 'classicSpaced', showMethods: 'false', autoUpdate: 'false'])}">PDF</a> 36 <br /> 37 <a href="${createLink(controller:'classDiagram', action:'legend', target:'_blank')}">Legend</a> 38 <br /> 39 <a href="${createLink(controller:'classDiagram', action:'show')}">Interactive.</a> 40 </td> 41 </tr> 42 43 </tbody> 44 </table> 45 </div> <!--End dialog--> 46 </div> <!--End body--> 28 47 </body> 29 48 </html> -
trunk/grails-app/views/appCore/start.gsp
r144 r147 89 89 <br /> 90 90 <br /> 91 Static reports 91 <div class="dialog"> 92 <table> 93 <tbody> 94 95 <tr class="prop"> 96 <td valign="top" class="name"> 97 <label>Static reports:</label> 98 </td> 99 <!-- <td valign="top" class="value"> 100 <a href="${createLink(action:'changePassword')}"> Password</a> 101 <br /> 102 <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a> 103 </td>--> 104 </tr> 105 106 </tbody> 107 </table> 108 </div> <!--End dialog--> 92 109 </richui:tabContent> 93 110 <!-- End Reports tab --> … … 97 114 <br /> 98 115 <br /> 99 <a href="${createLink(action:'changePassword')}">Change Password</a> 100 <br /> 101 <br /> 102 <a href="${createLink(action:'changeSessionTimeout')}">Change Session Timeout</a> 116 <div class="dialog"> 117 <table> 118 <tbody> 119 120 <tr class="prop"> 121 <td valign="top" class="name"> 122 <label>Change:</label> 123 </td> 124 <td valign="top" class="value"> 125 <a href="${createLink(action:'changePassword')}"> Password</a> 126 <br /> 127 <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a> 128 </td> 129 </tr> 130 131 </tbody> 132 </table> 133 </div> <!--End dialog--> 103 134 </richui:tabContent> 104 135 <!-- End Options tab --> -
trunk/grails-app/views/assignedPersonDetailed/create.gsp
r134 r147 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">AssignedPerson List</g:link></span> 11 <h1>Create Assigned Person</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>Create AssignedPerson</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> … … 48 46 <tr class="prop"> 49 47 <td valign="top" class="name"> 50 <label for=" estimatedHour">Estimated Hour:</label>48 <label for="durationHour">Estimated Duration:</label> 51 49 </td> 52 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'estimatedHour','errors')}"> 53 <input type="text" id="estimatedHour" name="estimatedHour" value="${fieldValue(bean:assignedPersonInstance,field:'estimatedHour')}" /> 54 </td> 55 </tr> 56 57 <tr class="prop"> 58 <td valign="top" class="name"> 59 <label for="estimatedMinute">Estimated Minute:</label> 60 </td> 61 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'estimatedMinute','errors')}"> 62 <input type="text" id="estimatedMinute" name="estimatedMinute" value="${fieldValue(bean:assignedPersonInstance,field:'estimatedMinute')}" /> 63 </td> 64 </tr> 50 51 <td valign="top" class="value"> 52 <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedHour','errors')}" 53 type="text" id="estimatedHour" name="estimatedHour" 54 value="${fieldValue(bean:assignedPersonInstance,field:'estimatedHour')}" /> 55 : 56 <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedMinute','errors')}" 57 type="text" id="estimatedMinute" name="estimatedMinute" 58 value="${fieldValue(bean:assignedPersonInstance,field:'estimatedMinute')}" /> 59 <g:helpBalloon code="assignedPerson.estimatedDuration" /> 60 </td> 61 </tr> 65 62 66 63 </tbody> -
trunk/grails-app/views/assignedPersonDetailed/edit.gsp
r96 r147 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">AssignedPerson List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New AssignedPerson</g:link></span> 11 <h1>Edit Assigned Person</h1> 14 12 </div> 15 13 <div class="body"> 16 <h1>Edit AssignedPerson</h1>17 14 <g:if test="${flash.message}"> 18 15 <div class="message">${flash.message}</div> … … 46 43 <g:select optionKey="id" from="${Person.list()}" name="person.id" value="${assignedPersonInstance?.person?.id}" ></g:select> 47 44 </td> 48 </tr> 49 45 </tr> 46 50 47 <tr class="prop"> 51 48 <td valign="top" class="name"> 52 <label for=" estimatedHour">Estimated Hour:</label>49 <label for="durationHour">Estimated Duration:</label> 53 50 </td> 54 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'estimatedHour','errors')}"> 55 <input type="text" id="estimatedHour" name="estimatedHour" value="${fieldValue(bean:assignedPersonInstance,field:'estimatedHour')}" /> 56 </td> 57 </tr> 58 59 <tr class="prop"> 60 <td valign="top" class="name"> 61 <label for="estimatedMinute">Estimated Minute:</label> 62 </td> 63 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'estimatedMinute','errors')}"> 64 <input type="text" id="estimatedMinute" name="estimatedMinute" value="${fieldValue(bean:assignedPersonInstance,field:'estimatedMinute')}" /> 65 </td> 66 </tr> 67 51 <td valign="top" class="value"> 52 <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedHour','errors')}" 53 type="text" id="estimatedHour" name="estimatedHour" 54 value="${fieldValue(bean:assignedPersonInstance,field:'estimatedHour')}" /> 55 : 56 <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedMinute','errors')}" 57 type="text" id="estimatedMinute" name="estimatedMinute" 58 value="${fieldValue(bean:assignedPersonInstance,field:'estimatedMinute')}" /> 59 <g:helpBalloon code="assignedPerson.estimatedDuration" /> 60 </td> 61 </tr> 62 68 63 </tbody> 69 64 </table> -
trunk/grails-app/views/assignedPersonDetailed/list.gsp
r96 r147 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="create" action="create">New AssignedPerson</g:link></span> 11 <h1>Assigned Person List</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>AssignedPerson List</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> -
trunk/grails-app/views/assignedPersonDetailed/show.gsp
r114 r147 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">AssignedPerson List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New AssignedPerson</g:link></span> 11 <h1>Show Assigned Person</h1> 14 12 </div> 15 13 <div class="body"> 16 <h1>Show AssignedPerson</h1>17 14 <g:if test="${flash.message}"> 18 15 <div class="message">${flash.message}</div> … … 45 42 46 43 <tr class="prop"> 47 <td valign="top" class="name">Estimated Hour:</td> 48 49 <td valign="top" class="value">${fieldValue(bean:assignedPersonInstance, field:'estimatedHour')}</td> 50 44 <td valign="top" class="name">Estimated Duration:</td> 45 <td valign="top" class="value">${assignedPersonInstance.estimatedHour}h : ${assignedPersonInstance.estimatedMinute}min</td> 51 46 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Estimated Minute:</td> 55 56 <td valign="top" class="value">${fieldValue(bean:assignedPersonInstance, field:'estimatedMinute')}</td> 57 58 </tr> 59 47 60 48 </tbody> 61 49 </table> -
trunk/grails-app/views/entryDetailed/create.gsp
r134 r147 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Create Entry</title> 7 <title>Create Entry</title> 8 <nav:resources override="true"/> 9 <resource:dateChooser /> 8 10 </head> 9 11 <body> 10 12 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">Entry List</g:link></span> 13 <h1>Create Entry</h1> 13 14 </div> 14 15 <div class="body"> 15 <h1>Create Entry</h1>16 16 <g:if test="${flash.message}"> 17 17 <div class="message">${flash.message}</div> … … 51 51 </td> 52 52 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}"> 53 < g:datePicker name="dateDone" value="${entryInstance?.dateDone}" precision="day"></g:datePicker>53 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${new Date()}" /> 54 54 </td> 55 55 </tr> -
trunk/grails-app/views/entryDetailed/edit.gsp
r139 r147 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit Entry</title> 8 <resource:dateChooser /> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">Entry List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New Entry</g:link></span> 12 <h1>Edit Entry</h1> 14 13 </div> 15 14 <div class="body"> 16 <h1>Edit Entry</h1>17 15 <g:if test="${flash.message}"> 18 16 <div class="message">${flash.message}</div> … … 52 50 </td> 53 51 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}"> 54 < g:datePicker name="dateDone" value="${entryInstance?.dateDone}" precision="day"></g:datePicker>52 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${entryInstance?.dateDone}" /> 55 53 </td> 56 54 </tr> -
trunk/grails-app/views/entryDetailed/show.gsp
r98 r147 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">Entry List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New Entry</g:link></span> 11 <h1>Show Entry</h1> 14 12 </div> 15 13 <div class="body"> 16 <h1>Show Entry</h1>17 14 <g:if test="${flash.message}"> 18 15 <div class="message">${flash.message}</div> … … 47 44 <td valign="top" class="name">Date Done:</td> 48 45 49 <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'dateDone')}</td> 46 <td valign="top" class="value"> 47 <g:formatDate date="${entryInstance.dateDone}" format="EEE, dd-MMM-yyyy"/> 48 </td> 50 49 51 50 </tr> 52 51 53 52 <tr class="prop"> 54 <td valign="top" class="name">Duration Hour:</td> 55 56 <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'durationHour')}</td> 57 58 </tr> 59 60 <tr class="prop"> 61 <td valign="top" class="name">Duration Minute:</td> 62 63 <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'durationMinute')}</td> 64 53 <td valign="top" class="name">Duration:</td> 54 <td valign="top" class="value">${entryInstance.durationHour}h : ${entryInstance.durationMinute}min</td> 65 55 </tr> 66 56 … … 68 58 <td valign="top" class="name">Date Entered:</td> 69 59 70 <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'dateEntered')}</td> 60 <td valign="top" class="value"> 61 <g:formatDate date="${entryInstance.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> 62 </td> 71 63 72 64 </tr> -
trunk/grails-app/views/person/create.gsp
r97 r147 2 2 <meta name="layout" content="main" /> 3 3 <title>Create Person</title> 4 <nav:resources override="true"/> 4 5 </head> 5 6 … … 7 8 8 9 <div class="nav"> 9 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 10 <span class="menuButton"><g:link class="list" action="list">Person List</g:link></span> 10 <nav:renderSubItems group="navAlt"/> 11 11 </div> 12 12 13 13 <div class="body"> 14 <h1>Create Person</h1>15 14 <g:if test="${flash.message}"> 16 15 <div class="message">${flash.message}</div> -
trunk/grails-app/views/person/edit.gsp
r97 r147 2 2 <meta name="layout" content="main" /> 3 3 <title>Edit Person</title> 4 <nav:resources override="true"/> 4 5 </head> 5 6 … … 7 8 8 9 <div class="nav"> 9 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 10 <span class="menuButton"><g:link class="list" action="list">Person List</g:link></span> 11 <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span> 10 <nav:renderSubItems group="navAlt"/> 12 11 </div> 13 12 14 13 <div class="body"> 15 <h1>Edit Person</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> … … 23 21 </g:hasErrors> 24 22 25 <div class="prop">23 <!-- <div class="prop"> 26 24 <span class="name">ID: ${person.id}</span> 27 </div> 25 </div>--> 28 26 29 27 <g:form> -
trunk/grails-app/views/person/list.gsp
r59 r147 1 1 <head> 2 <meta name="layout" content="main" /> 3 <title>Person List</title> 2 <meta name="layout" content="main" /> 3 <title>Person List</title> 4 <filterpane:includes /> 5 <nav:resources override="true"/> 4 6 </head> 5 7 6 8 <body> 7 9 8 <div class="nav"> 9 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 10 <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span> 11 </div> 10 <div class="nav"> 11 <nav:renderSubItems group="navAlt"/> 12 </div> 12 13 13 <div class="body"> 14 <h1>Person List</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 18 <div class="list"> 19 <table> 20 <thead> 21 <tr> 22 <g:sortableColumn property="id" title="Id" /> 23 <g:sortableColumn property="loginName" title="Login Name" /> 24 <g:sortableColumn property="firstName" title="First Name" /> 25 <g:sortableColumn property="lastName" title="Last Name" /> 26 <g:sortableColumn property="isActive " title="isActive" /> 27 <th> </th> 28 <th> </th> 29 </tr> 30 </thead> 31 <tbody> 32 <g:each in="${personList}" status="i" var="person"> 33 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 34 <td>${person.id}</td> 35 <td>${person.loginName?.encodeAsHTML()}</td> 36 <td>${person.firstName?.encodeAsHTML()}</td> 14 <div class="body"> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 18 <filterpane:currentCriteria domainBean="Person" 19 action="list" 20 dateFormat="${'EEE, dd-MMM-yyyy'}" 21 removeImgDir="images" 22 removeImgFile="bullet_delete.png" 23 title="Search"/> 24 <div class="list"> 25 <table> 26 <thead> 27 <tr> 28 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 29 <g:sortableColumn property="loginName" title="Login Name" params="${filterParams}" /> 30 <g:sortableColumn property="firstName" title="First Name" params="${filterParams}" /> 31 <g:sortableColumn property="lastName" title="Last Name" params="${filterParams}" /> 32 <g:sortableColumn property="isActive " title="isActive" params="${filterParams}" /> 33 <th></th> 34 </tr> 35 </thead> 36 <tbody> 37 <g:each in="${personList}" status="i" var="person"> 38 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'/> 39 40 <td>${person.id}</td> 41 <td>${person.loginName?.encodeAsHTML()}</td> 42 <td>${person.firstName?.encodeAsHTML()}</td> 37 43 <td>${person.lastName?.encodeAsHTML()}</td> 38 <td>${person.isActive?.encodeAsHTML()}</td> 39 <td class="actionButtons"> 40 <span class="actionButton"> 41 <g:link action="show" id="${person.id}">Show</g:link> 42 </span> 43 </td> 44 <td class="actionButtons"> 45 <span class="actionButton"> 46 <g:link action="edit" id="${person.id}">Edit</g:link> 47 </span> 44 <td>${person.isActive?.encodeAsHTML()}</td> 45 <td> 46 <g:link action="show" id="${person.id}"> 47 <img src="${createLinkTo(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 48 </g:link> 48 49 </td> 49 50 51 52 53 50 </tr> 51 </g:each> 52 </tbody> 53 </table> 54 </div> 54 55 55 <div class="paginateButtons"> 56 <g:paginate total="${Person.count()}" /> 57 </div> 56 <div class="paginateButtons"> 57 <g:paginate total="${personTotal}" params="${filterParams}" /> 58 <filterpane:filterButton text="Search" appliedText="Change Search" /> 59 Results:${personTotal} 60 </div> 58 61 59 </div> 62 <filterpane:filterPane domainBean="Person" 63 title="Search" 64 action="list" 65 excludeProperties="password, sessionTimeout, emailShow" 66 associatedProperties="authorities.authority, personGroups.name" 67 filterPropertyValues="${['personGroups.name':[values:PersonGroup.list()], 68 'authorities.authority':[values:Authority.list()]]}" /> 69 70 71 </div><!-- end body div --> 60 72 </body> -
trunk/grails-app/views/person/show.gsp
r59 r147 2 2 <meta name="layout" content="main" /> 3 3 <title>Show Person</title> 4 <nav:resources override="true"/> 4 5 </head> 5 6 … … 7 8 8 9 <div class="nav"> 9 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 10 <span class="menuButton"><g:link class="list" action="list">Person List</g:link></span> 11 <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span> 10 <nav:renderSubItems group="navAlt"/> 12 11 </div> 13 12 14 13 <div class="body"> 15 <h1>Show Person</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> -
trunk/grails-app/views/taskDetailed/edit.gsp
r139 r147 7 7 <title>Edit Task</title> 8 8 <nav:resources override="true"/> 9 <resource:dateChooser /> 9 10 </head> 10 11 <body> … … 57 58 </td> 58 59 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 59 < g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" precision="day"></g:datePicker>60 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance?.targetStartDate}" /> 60 61 </td> 61 62 </tr> … … 66 67 </td> 67 68 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 68 < g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" precision="day"></g:datePicker>69 <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance?.targetCompletionDate}" /> 69 70 </td> 70 71 </tr> -
trunk/grails-app/views/taskDetailed/search.gsp
r143 r147 30 30 removeImgFile="bullet_delete.png" 31 31 title="Quick Search"/> 32 33 <div class="list"> 32 33 <div class="list"> 34 34 <table> 35 35 <thead> … … 85 85 <g:link action="advancedSearch">Goto: Advanced Search</g:link> 86 86 </div> 87 87 88 88 <filterpane:filterPane domainBean="Task" 89 89 title="Quick Search" -
trunk/grails-app/views/taskProcedureDetailed/create.gsp
r134 r147 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Create TaskProcedure</title> 7 <title>Create TaskProcedure</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">TaskProcedure List</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Create TaskProcedure</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> -
trunk/grails-app/views/taskProcedureDetailed/edit.gsp
r134 r147 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit TaskProcedure</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">TaskProcedure List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New TaskProcedure</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 14 13 </div> 15 14 <div class="body"> 16 <h1>Edit TaskProcedure</h1>17 15 <g:if test="${flash.message}"> 18 16 <div class="message">${flash.message}</div> -
trunk/grails-app/views/taskProcedureDetailed/list.gsp
r133 r147 6 6 <meta name="layout" content="main" /> 7 7 <title>TaskProcedure List</title> 8 <filterpane:includes /> 9 <nav:resources override="true"/> 8 10 </head> 9 11 <body> 10 12 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="create" action="create">New TaskProcedure</g:link></span> 13 <nav:renderSubItems group="navAlt"/> 13 14 </div> 14 15 <div class="body"> 15 <h1>TaskProcedure List</h1>16 16 <g:if test="${flash.message}"> 17 17 <div class="message">${flash.message}</div> 18 18 </g:if> 19 <filterpane:currentCriteria domainBean="TaskProcedureDetailed" 20 action="list" 21 dateFormat="${'EEE, dd-MMM-yyyy'}" 22 removeImgDir="images" 23 removeImgFile="bullet_delete.png" 24 title="Search"/> 19 25 <div class="list"> 20 26 <table> … … 22 28 <tr> 23 29 24 <g:sortableColumn property="id" title="Id" />30 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 25 31 26 <g:sortableColumn property="name" title="Name" />32 <g:sortableColumn property="name" title="Name" params="${filterParams}" /> 27 33 28 <g:sortableColumn property="description" title="Description" />34 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 29 35 30 <g:sortableColumn property="isActive" title="Is Active" /> 36 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> 37 38 <th></th> 31 39 32 40 </tr> … … 34 42 <tbody> 35 43 <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> 36 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">44 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> 37 45 38 <td> <g:link action="show" id="${taskProcedureInstance.id}">${fieldValue(bean:taskProcedureInstance, field:'id')}</g:link></td>46 <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> 39 47 40 48 <td>${fieldValue(bean:taskProcedureInstance, field:'name')}</td> … … 43 51 44 52 <td>${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> 53 54 <td> 55 <g:link action="show" id="${taskProcedureInstance.id}"> 56 <img src="${createLinkTo(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 57 </g:link> 58 </td> 45 59 46 60 </tr> … … 49 63 </table> 50 64 </div> 65 51 66 <div class="paginateButtons"> 52 <g:paginate total="${taskProcedureInstanceTotal}" /> 67 <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> 68 <filterpane:filterButton text="Search" appliedText="Change Search" /> 69 Results:${askProcedureInstanceTotal} 53 70 </div> 71 72 <filterpane:filterPane domainBean="TaskProcedure" 73 title="Search" 74 action="list" 75 excludeProperties="" /> 54 76 </div> 55 77 </body> -
trunk/grails-app/views/taskProcedureDetailed/show.gsp
r133 r147 6 6 <meta name="layout" content="main" /> 7 7 <title>Show TaskProcedure</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list">TaskProcedure List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New TaskProcedure</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 14 13 </div> 15 14 <div class="body"> 16 <h1>Show TaskProcedure</h1>17 15 <g:if test="${flash.message}"> 18 16 <div class="message">${flash.message}</div>
Note: See TracChangeset
for help on using the changeset viewer.