Rev 1315 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1315 | Rev 1317 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | <%@ page import="pt.estgp.estgweb.domain.StudentImpl" %> |
- | |
2 | <%@ page import="pt.estgp.estgweb.domain.TeacherImpl" %> |
- | |
3 | <%@ page import="pt.estgp.estgweb.domain.UserImpl" %> |
- | |
4 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
5 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
6 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
7 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
8 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
5 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
9 | <%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
6 | <%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
10 | <jomm:messages/> |
7 | <jomm:messages/> |
- | 8 | <html:errors/> |
|
- | 9 | <div class="container-fluid"> |
|
- | 10 | <div class="panel"> |
|
- | 11 | <div class="panel-body"> |
|
11 | <html:form action="/user/courseUnitControllerAdminFromServiceZone?dispatch=search&from=ServiceZone"> |
12 | <html:form styleClass="form-horizontal" action="/user/courseUnitControllerAdminFromServiceZone?dispatch=search&from=ServiceZone"> |
12 | <input type="hidden" name="dispatch" value="search"> |
13 | <input type="hidden" name="dispatch" value="search"> |
13 | <table class="form"> |
14 | <form class="form-horizontal" role="form"> |
14 | <tr> |
- | |
15 | <th> |
15 | <div class="form-group"> |
16 | <bean:message key="courseunit.search"/> |
16 | <label class="control-label col-md-2" for="search"><bean:message key="courseunit.search"/></label> |
17 | </th> |
- | |
18 | <td> |
17 | <div class="col-md-8"> |
19 | <html:text property="textToSearch" maxlength="50"/> |
18 | <html:text styleClass="form-control" styleId="search" property="textToSearch"/> |
20 | </td> |
19 | </div> |
21 | <td> |
20 | <div class="col-md-2"> |
22 | <input type="button" onclick="set(this.form,'search');this.form.submit()" value="<bean:message key="search"/>"> |
21 | <button type="button" class="btn btn-sm btn-default" onclick="set(this.form,'search');this.form.submit()"><bean:message key="search"/></button> |
23 | </td> |
22 | </div> |
24 | </tr> |
23 | </div> |
- | 24 | ||
25 | <tr> |
25 | <div class="form-group"> |
26 | <td nowrap="nowrap" colspan="3"> |
26 | <label class="control-label col-md-2">Tipo de Pesquisa</label> |
27 | <table> |
27 | <div class="col-md-3"> |
28 | <tr> |
28 | <label class="radio inline"> |
29 | <td><html:radio property="searchType" value="search.type.all"/></td> |
29 | <html:radio property="searchType" value="search.type.all"/> |
30 | <td><bean:message key="search.type.all"/></td> |
30 | <bean:message key="search.type.all"/> |
- | 31 | </label> |
|
- | 32 | </div> |
|
- | 33 | <div class="col-md-3"> |
|
- | 34 | <label class="radio inline"> |
|
31 | <td><html:radio property="searchType" value="search.type.any"/></td> |
35 | <html:radio property="searchType" value="search.type.any"/> |
32 | <td><bean:message key="search.type.any"/></td> |
36 | <bean:message key="search.type.any"/> |
- | 37 | </label> |
|
- | 38 | </div> |
|
- | 39 | <div class="col-md-3"> |
|
- | 40 | <label class="radio inline"> |
|
33 | <td><html:radio property="searchType" value="search.type.phrase"/></td> |
41 | <html:radio property="searchType" value="search.type.phrase"/> |
34 | <td><bean:message key="search.type.phrase"/></td> |
42 | <bean:message key="search.type.phrase"/> |
35 | </tr> |
43 | </label> |
36 | </table> |
44 | </div> |
37 | </td> |
45 | </div> |
- | 46 | ||
38 | </tr> |
47 | </html:form> |
39 | </table> |
48 | |
40 | </html:form> |
49 | |
41 | <logic:present name="ISearchResults" property="results"> |
50 | <logic:present name="ISearchResults" property="results"> |
42 | <table class="tablesorter tablesorterfiltered"> |
51 | <table class="tablesorter tablesorterfiltered"> |
43 | <thead> |
52 | <thead> |
44 | <tr> |
53 | <tr> |
45 | <th><bean:message key="courseunit.code"/> </th> |
54 | <th><bean:message key="courseunit.code"/> </th> |
Line 51... | Line 60... | ||
51 | <th></th> |
60 | <th></th> |
52 | <th></th> |
61 | <th></th> |
53 | </tr> |
62 | </tr> |
54 | </thead> |
63 | </thead> |
55 | <tbody> |
64 | <tbody> |
56 | /user/startLoadCourseUnitFromHome.do?id=421 |
- | |
57 | <logic:iterate id="courseunitresult" name="ISearchResults" property="results" type="pt.estgp.estgweb.services.courseunits.impl.CourseUnitViewResult" > |
65 | <logic:iterate id="courseunitresult" name="ISearchResults" property="results" type="pt.estgp.estgweb.services.courseunits.impl.CourseUnitViewResult" > |
58 | <tr> |
66 | <tr> |
59 | <td style="text-align: right">${courseunitresult.object.code}</td> |
67 | <td style="text-align: right">${courseunitresult.object.code}</td> |
60 | <td><a href="<%=request.getContextPath()%>/user/startLoadCourseUnitFromHome.do?id=${courseunitresult.object.id}">${courseunitresult.object.name}</a></td> |
68 | <td><a href="<%=request.getContextPath()%>/user/startLoadCourseUnitFromHome.do?id=${courseunitresult.object.id}">${courseunitresult.object.name}</a></td> |
61 | <td><bean:message key="courseunit.${courseunitresult.object.semestre}"/></td> |
69 | <td><bean:message key="courseunit.${courseunitresult.object.semestre}"/></td> |
62 | <td>${courseunitresult.object.importYear}</td> |
70 | <td>${courseunitresult.object.importYear}</td> |
63 | <td><a href="<%=request.getContextPath()%>/user/courseControllerFromServiceZone.do?dispatch=edit&courseView.id=${courseunitresult.object.courseId}">${courseunitresult.object.courseName}</a></td> |
71 | <td><a href="<%=request.getContextPath()%>/user/courseControllerFromServiceZone.do?dispatch=edit&courseView.id=${courseunitresult.object.courseId}">${courseunitresult.object.courseName}</a></td> |
64 | <td>${courseunitresult.object.courseCode}</td> |
72 | <td>${courseunitresult.object.courseCode}</td> |
65 | <td><html:link styleClass="btn btn-warning" action="/user/startEditCourseUnitAdminFromServiceZone?id=${courseunitresult.object.id}"><bean:message key="edit"/><span class="glyphicon glyphicon-pencil"></span></html:link></td> |
73 | <td><html:link styleClass="btn btn-warning" action="/user/startEditCourseUnitAdminFromServiceZone?id=${courseunitresult.object.id}"><bean:message key="edit"/><span class="glyphicon glyphicon-pencil"></span></html:link></td> |
66 | <td><html:link styleClass="btn btn-danger" action="/user/startDeleteCourseUnitAdminFromServiceZone?id=${courseunitresult.object.id}"><bean:message key="delete"/><span class="glyphicon glyphicon-remove"></span></html:link></td> |
74 | <td><html:link styleClass="btn btn-danger" action="/user/startDeleteCourseUnitAdminFromServiceZone?id=${courseunitresult.object.id}"><bean:message key="delete"/><span class="glyphicon glyphicon-remove"></span></html:link></td> |
67 | <td></td> |
- | |
68 | </tr> |
75 | </tr> |
69 | </logic:iterate> |
76 | </logic:iterate> |
70 | </tbody> |
77 | </tbody> |
71 | </table> |
78 | </table> |
72 | <p class="pages"> |
79 | <p class="pages"> |
Line 82... | Line 89... | ||
82 | <a href="<%=request.getContextPath()%>/user/startSearchCourseUnitAdminFromServiceZone.do?page=${ISearchResults.nextPage}&textToSearch=${ISearchResults.query}&searchType=${ISearchResults.searchType}"> |
89 | <a href="<%=request.getContextPath()%>/user/startSearchCourseUnitAdminFromServiceZone.do?page=${ISearchResults.nextPage}&textToSearch=${ISearchResults.query}&searchType=${ISearchResults.searchType}"> |
83 | <bean:message key="result.next"/> |
90 | <bean:message key="result.next"/> |
84 | ></a> |
91 | ></a> |
85 | </logic:equal> |
92 | </logic:equal> |
86 | </p> |
93 | </p> |
87 | </logic:present> |
- | |
88 | 94 | </logic:present> |
|
- | 95 | </div> |
|
- | 96 | </div> |
|
- | 97 | </div> |
|
- | 98 | ||
89 | Generated by GNU Enscript 1.6.5.2. |
99 | Generated by GNU Enscript 1.6.5.2. |