Ignore:
Timestamp:
Apr 7, 2009, 12:21:23 AM (15 years ago)
Author:
gav
Message:

Some CSS adjustments to text color, img border, remove body height:100%, add buttons input.add to CSS.
Move admin stuff to AppAdmin? to make it very clear that it is not for daily use.
TaskDetailed? list and delete now use the IsActive? attribute.
Remove Task.comment size constraint.
Add more help-ballons to TaskDetailed? create.
Clean loose comments from main.gsp and auth.gsp
Use pretty pictures in TaskDetailed? views instead of Edit and Show words.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/show.gsp

    r98 r106  
    161161                    <thead>
    162162                        <tr>
    163                             <th style="color:Black">Comment</th>
    164                             <th style="color:Black">Date Done</th>
    165                             <th style="color:Black">Duration</th>
    166                             <th style="color:Black">Entered By</th>
    167                             <th style="color:Black">Edit</th>
     163                            <th>Comment</th>
     164                            <th>Date Done</th>
     165                            <th>Duration</th>
     166                            <th>Entered By</th>
     167                            <th></th>
    168168
    169169<!--                            <g:sortableColumn property="comment" title="Comment" />
     
    179179                            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    180180                           
    181                                 <td width="65%">${entry.comment}</td>
     181                                <td style="width:65%">${entry.comment}</td>
    182182                                <td><g:formatDate date="${entry.dateDone}" format="EEE, dd MMM yyyy"/></td>
    183183                                <td>${entry.durationHour}:${entry.durationMinute}</td>
    184184                                <td>${entry.enteredBy}</td>
    185                                 <td><g:link controller="entryDetailed" action="edit" id="${entry.id}">Edit</g:link></td>
     185                                <td>
     186                                    <g:link controller="entryDetailed" action="edit" id="${entry.id}">
     187                                        <img  src="${createLinkTo(dir:'images/skin',file:'database_edit.png')}" alt="Edit" />
     188                                    </g:link>
     189                                </td>
    186190
    187191                        </g:if>
     
    198202                    <thead>
    199203                        <tr>
    200                             <th style="color:Black">Comment</th>
    201                             <th style="color:Black">Date Done</th>
    202                             <th style="color:Black">Duration</th>
    203                             <th style="color:Black">Entered By</th>
    204                             <th style="color:Black">Edit</th>
     204                            <th>Comment</th>
     205                            <th>Date Done</th>
     206                            <th>Duration</th>
     207                            <th>Entered By</th>
     208                            <th></th>
    205209<!--                            <g:sortableColumn property="commentW" title="Comment" />
    206210                       
     
    219223                                <td>${entry.durationHour}:${entry.durationMinute}</td>
    220224                                <td>${entry.enteredBy}</td>
    221                                 <td><g:link controller="entryDetailed" action="edit" id="${entry.id}">Edit</g:link></td>
     225                                <td>
     226                                    <g:link controller="entryDetailed" action="edit" id="${entry.id}">
     227                                        <img  src="${createLinkTo(dir:'images/skin',file:'database_edit.png')}" alt="Edit" />
     228                                    </g:link>
     229                                </td>
    222230                        </g:if>
    223231                       
     
    234242                    <input type="hidden" name="taskInstance.id" value="${taskInstance?.id}" />
    235243                    <span class="button">
    236                         <g:actionSubmit value="Add Entry" action="create"  class="edit"/>
     244                        <g:actionSubmit value="Add Entry" action="create"  class="add"/>
    237245                    </span>
    238246                </g:form>
Note: See TracChangeset for help on using the changeset viewer.