- Timestamp:
- Apr 7, 2009, 12:21:23 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/application.properties
r105 r106 1 1 #utf-8 2 #Sun Apr 05 1 5:45:59EST 20092 #Sun Apr 05 16:03:34 EST 2009 3 3 plugins.help-balloons=1.2 4 4 app.version=0.1 -
trunk/grails-app/controllers/AppCoreController.groovy
r99 r106 56 56 57 57 @Secured(['ROLE_AppAdmin']) 58 def a dmin = {58 def appAdmin = { 59 59 } 60 60 -
trunk/grails-app/controllers/TaskDetailedController.groovy
r96 r106 10 10 def list = { 11 11 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100) 12 [ taskInstanceList: Task.list( params ), taskInstanceTotal: Task.count() ] 12 def taskInstanceList = Task.findAllByIsActive( true ) 13 return [ taskInstanceList: taskInstanceList, taskInstanceTotal: taskInstanceList.count() ] 13 14 } 14 15 … … 27 28 if(taskInstance) { 28 29 try { 29 taskInstance. delete()30 flash.message = "Task ${params.id} deleted"30 taskInstance.isActive = false 31 flash.message = "Task ${params.id} has been set to inactive." 31 32 redirect(action:list) 32 33 } -
trunk/grails-app/domain/Task.groovy
r96 r106 28 28 taskStatus() 29 29 parentTask(blank: true, nullable:true) 30 comment( maxSize:255)30 comment() 31 31 32 32 } -
trunk/grails-app/i18n/messages.properties
r99 r106 5 5 entry.duration=Duration 6 6 entry.duration.help=The time (hh:mm) booked against this entry for date done. 7 8 task.assignedPersons=Assigned Persons 9 task.assignedPersons.help=The persons assigned to work on this task during planning along with estimated time. 10 task.description=Task Description 11 task.description.help=Short basic description of the task. 12 task.comment=Task Comment 13 task.comment.help=Long text for additional info, only shown in detail views. 14 task.targetStartDate=Target Start Date 15 task.targetStartDate.help=The date we would like the task to start, set during scheduling. 16 task.targetCompletionDate=Target Completion Date 17 task.targetCompletionDate.help=The date we would like the task to be completed by, set during scheduling. 18 task.leadPerson=Lead Person 19 task.leadPerson.help=The primay contact person. 7 20 8 21 default.doesnt.match.message=Property [{0}] of class [{1}] with value [{2}] does not match the required pattern [{3}] -
trunk/grails-app/views/_adminmenubar.gsp
r91 r106 9 9 <g:ifAnyGranted role="ROLE_AppAdmin"> 10 10 <span class="appControlButton"> 11 <g:link controller="appCore" action="a dmin">12 A dmin11 <g:link controller="appCore" action="appAdmin"> 12 AppAdmin 13 13 </g:link> 14 14 </span> -
trunk/grails-app/views/layouts/main.gsp
r98 r106 18 18 <img src="${createLinkTo(dir:'images',file:'spinner.gif')}" alt="Spinner" /> 19 19 </div> 20 <!-- <div class="logo" style="text-align: center; width: 980px; height: 220px">21 <img src="${createLinkTo(dir:'images',file:'logo.png')}"22 alt="gnuMims" />23 <g:render template="/adminmenubar" />24 25 </div> -->26 20 <div id="Header"> 27 21 <a href="http://www.gnumims.org" id=HeaderLink></a> -
trunk/grails-app/views/login/auth.gsp
r59 r106 46 46 <div id='login'> 47 47 <h1>Welcome to gnuMims please log in</h1> 48 The demo users are " admin" and "user" both having password "pass"48 The demo users are "manager" and "user" both having password "pass" 49 49 50 50 <div class='inner'> … … 62 62 <input type='password' class='text_' name='j_password' id='j_password' /> 63 63 </p> 64 <!-- <p> 65 <label for='remember_me'>Remember me</label> 66 <input type='checkbox' class='chk' name='_spring_security_remember_me' id='remember_me' 67 <g:if test='${hasCookie}'>checked='checked'</g:if> /> 68 </p>--> 64 69 65 <p> 70 66 <input type='submit' value='Login' /> -
trunk/grails-app/views/taskDetailed/create.gsp
r91 r106 33 33 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 34 34 <input type="text" style="width:450px" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 35 <g:helpBalloon class="helpballoon" code="task.description" /> 35 36 </td> 36 37 </tr> … … 42 43 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 43 44 <textarea style="width:450px" rows="5" cols="40" name="comment">${fieldValue(bean:taskInstance, field:'comment')}</textarea> 45 <g:helpBalloon class="helpballoon" code="task.comment" /> 44 46 </td> 45 47 </tr> … … 51 53 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 52 54 <g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" precision="day"></g:datePicker> 55 <g:helpBalloon class="helpballoon" code="task.targetStartDate" /> 53 56 </td> 54 57 </tr> … … 60 63 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 61 64 <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" precision="day"></g:datePicker> 65 <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" /> 62 66 </td> 63 67 </tr> … … 69 73 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 70 74 <g:select optionKey="id" from="${Person.list()}" name="leadPerson.id" value="${taskInstance?.leadPerson?.id}" ></g:select> 75 <g:helpBalloon code="task.leadPerson" /> 71 76 </td> 72 77 </tr> -
trunk/grails-app/views/taskDetailed/list.gsp
r85 r106 33 33 34 34 <th>Task Status</th> 35 36 <th>Edit</th>37 35 38 <th> Show</th>36 <th></th> 39 37 40 38 </tr> … … 56 54 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 57 55 58 <td><g:link action="edit" id="${taskInstance.id}">Edit</g:link></td> 59 60 <td><g:link action="show" id="${taskInstance.id}">Show</g:link></td> 56 <td> 57 <g:link action="show" id="${taskInstance.id}"> 58 <img src="${createLinkTo(dir:'images/skin',file:'database_table.png')}" alt="Show" /> 59 </g:link> 60 </td> 61 61 62 62 </tr> -
trunk/grails-app/views/taskDetailed/show.gsp
r98 r106 161 161 <thead> 162 162 <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> 168 168 169 169 <!-- <g:sortableColumn property="comment" title="Comment" /> … … 179 179 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 180 180 181 <td width="65%">${entry.comment}</td>181 <td style="width:65%">${entry.comment}</td> 182 182 <td><g:formatDate date="${entry.dateDone}" format="EEE, dd MMM yyyy"/></td> 183 183 <td>${entry.durationHour}:${entry.durationMinute}</td> 184 184 <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> 186 190 187 191 </g:if> … … 198 202 <thead> 199 203 <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> 205 209 <!-- <g:sortableColumn property="commentW" title="Comment" /> 206 210 … … 219 223 <td>${entry.durationHour}:${entry.durationMinute}</td> 220 224 <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> 222 230 </g:if> 223 231 … … 234 242 <input type="hidden" name="taskInstance.id" value="${taskInstance?.id}" /> 235 243 <span class="button"> 236 <g:actionSubmit value="Add Entry" action="create" class=" edit"/>244 <g:actionSubmit value="Add Entry" action="create" class="add"/> 237 245 </span> 238 246 </g:form> -
trunk/web-app/css/main.css
r98 r106 17 17 width: 980px 18 18 background: #fff; 19 color: # 333;19 color: #222; 20 20 font: 14px verdana, arial, helvetica, sans-serif; 21 21 background: transparent url("../images/brushed_metal.png") repeat fixed center; … … 55 55 font-weight: bold; 56 56 text-decoration: none; 57 } 58 59 img { 60 border: 0px; 57 61 } 58 62 … … 91 95 padding: 0px 20px 20px; 92 96 background: url("../images/Contentbg.png") repeat-y scroll center; 93 height: 100%; 97 /* height: 100%; */ 94 98 } 95 99 … … 212 216 th { 213 217 background: #fff url(../images/skin/shadow.jpg); 214 color: # 666;218 color: #555; 215 219 font-size: 14px; 216 220 font-weight: bold; … … 333 337 padding-left: 28px; 334 338 } 339 .buttons input.add { 340 background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat; 341 padding-left: 28px; 342 } 335 343 336 344 #bottom {
Note: See TracChangeset
for help on using the changeset viewer.