Changeset 140 for trunk/grails-app/views/taskDetailed
- Timestamp:
- Oct 1, 2009, 5:11:48 AM (15 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/create.gsp
r139 r140 6 6 <nav:resources override="true"/> 7 7 </head> 8 <body >8 <body onload="document.createTaskForm.description.focus();"> 9 9 <div class="nav"> 10 10 <nav:renderSubItems group="nav"/> … … 19 19 </div> 20 20 </g:hasErrors> 21 <g:form action="save" method="post" >21 <g:form id='createTaskForm' name='createTaskForm' action="save" method="post" > 22 22 <div class="dialog"> 23 23 <table> -
trunk/grails-app/views/taskDetailed/search.gsp
r139 r140 4 4 <meta name="layout" content="main" /> 5 5 <title>Task Search</title> 6 <filterpane:includes /> 6 7 <nav:resources override="true"/> 7 <resource:tabView skin="tabviewCustom" />8 8 </head> 9 9 <body> … … 21 21 </div> 22 22 </g:hasErrors> 23 24 <richui:tabView id="tabView"> 25 26 <richui:tabLabels> 27 <richui:tabLabel selected="true" title="Quick" /> 28 <richui:tabLabel selected="${0}" title="Basic" /> 29 <richui:tabLabel selected="${0}" title="Advanced" /> 30 </richui:tabLabels> 31 32 <richui:tabContents> 33 34 <!-- Quick tab --> 35 <richui:tabContent> 36 <br /> 37 <br /> 38 <g:form controller="taskDetailed"> 39 Task ID: 40 <input type="text" name="id" value="${taskInstance?.id}" /> 41 <span class="button"><g:actionSubmit class="show" value="Show" /></span> 42 </g:form> 43 <br /> 44 <br /> 45 Show: 46 <g:link action="searchShowAll">Active</g:link> 47 / 48 <g:link action="searchShowDeleted">Inactive</g:link> 49 </richui:tabContent> 50 <!-- End Quick tab --> 51 52 <!-- Basic tab --> 53 <richui:tabContent> 54 <br /> 55 <br /> 56 57 </richui:tabContent> 58 <!-- End Basic tab --> 59 60 <!-- Advanced tab --> 61 <richui:tabContent> 62 <br /> 63 <br /> 64 </richui:tabContent> 65 <!-- End Advanced tab --> 66 67 </richui:tabContents> 68 </richui:tabView> 23 <filterpane:currentCriteria domainBean="Task" 24 action="search" 25 dateFormat="${'EEE, dd-MMM-yyyy'}" 26 removeImgDir="images" 27 removeImgFile="bullet_delete.png" 28 title="Quick Search"/> 69 29 70 <div class="list"> 30 <div class="list"> 71 31 <table> 72 32 <thead> 73 33 <tr> 74 34 75 <g:sortableColumn property="id" title="Id" />35 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 76 36 77 <g:sortableColumn property="targetStartDate" title="Target Start Date" />37 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" /> 78 38 79 <g:sortableColumn property="description" title="Description" />39 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 80 40 81 <g:sortableColumn property="leadPerson" title="Lead Person" />41 <g:sortableColumn property="leadPerson" title="Lead Person" params="${filterParams}" /> 82 42 83 <g:sortableColumn property="taskPriority" title="Task Priority" />43 <g:sortableColumn property="taskPriority" title="Task Priority" params="${filterParams}" /> 84 44 85 <g:sortableColumn property="taskStatus" title="Task Status" />45 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" /> 86 46 87 47 <th></th> … … 117 77 </div> 118 78 <div class="paginateButtons"> 119 <g:paginate total="${taskInstanceTotal}" /> 79 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" /> 80 <filterpane:filterButton text="Search" appliedText="Change Search" /> 81 Results:${taskInstanceTotal} 82 <g:link action="advancedSearch">Goto: Advanced Search</g:link> 120 83 </div> 121 84 85 <filterpane:filterPane domainBean="Task" 86 title="Quick Search" 87 action="search" 88 additionalProperties="id" 89 excludeProperties="isActive, comment, targetCompletionDate" 90 associatedProperties="leadPerson.lastName, taskPriority.name" 91 filterPropertyValues="${['taskPriority.name':[values:TaskPriority.list()], 92 'leadPerson.lastName':[values:Person.executeQuery('select t.lastName from Person t')], 93 targetStartDate:[years:2020..2000,precision:'day']]}"/> 122 94 </div> <!-- end body div --> 123 95 </body>
Note: See TracChangeset
for help on using the changeset viewer.