Ignore:
Timestamp:
Oct 8, 2009, 7:58:38 PM (15 years ago)
Author:
gav
Message:

Re-install class-diagram from local svn build with patch to allow war deployment.
Class-diagram overrides removed from Config.groovy since these have all been included upstream.
Tidy comments in SecurityConfig?.groovy
Some work on adding assignedPerson work flow and PersonController?.
Add navAlt and filterPane search to Person and TaskProcedure?.

Location:
trunk/grails-app/views/entryDetailed
Files:
3 edited

Legend:

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

    r134 r147  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create Entry</title>         
     7        <title>Create Entry</title>
     8        <nav:resources override="true"/>
     9        <resource:dateChooser />
    810    </head>
    911    <body>
    1012        <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>
    1314        </div>
    1415        <div class="body">
    15             <h1>Create Entry</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
     
    5151                                </td>
    5252                                <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()}" />
    5454                                </td>
    5555                            </tr>
  • trunk/grails-app/views/entryDetailed/edit.gsp

    r139 r147  
    66        <meta name="layout" content="main" />
    77        <title>Edit Entry</title>
     8        <resource:dateChooser />
    89    </head>
    910    <body>
    1011        <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>
    1413        </div>
    1514        <div class="body">
    16             <h1>Edit Entry</h1>
    1715            <g:if test="${flash.message}">
    1816            <div class="message">${flash.message}</div>
     
    5250                                </td>
    5351                                <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}" />
    5553                                </td>
    5654                            </tr>
  • trunk/grails-app/views/entryDetailed/show.gsp

    r98 r147  
    99    <body>
    1010        <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>
    1412        </div>
    1513        <div class="body">
    16             <h1>Show Entry</h1>
    1714            <g:if test="${flash.message}">
    1815            <div class="message">${flash.message}</div>
     
    4744                            <td valign="top" class="name">Date Done:</td>
    4845                           
    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>
    5049                           
    5150                        </tr>
    5251                   
    5352                        <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>
    6555                        </tr>
    6656                   
     
    6858                            <td valign="top" class="name">Date Entered:</td>
    6959                           
    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>
    7163                           
    7264                        </tr>
Note: See TracChangeset for help on using the changeset viewer.