Changeset 147 for trunk/grails-app/views/entryDetailed
- Timestamp:
- Oct 8, 2009, 7:58:38 PM (15 years ago)
- Location:
- trunk/grails-app/views/entryDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note: See TracChangeset
for help on using the changeset viewer.