Rev 1507 | Rev 1517 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1507 | Rev 1516 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ page import="jomm.dao.impl.AbstractDao" %> |
1 | <%@ page import="jomm.dao.impl.AbstractDao" %> |
2 | <%@ page import="pt.estgp.estgweb.domain.Course" %> |
2 | <%@ page import="pt.estgp.estgweb.domain.Course" %> |
3 | <%@ page import="pt.estgp.estgweb.domain.CourseStudiesPlan" %> |
3 | <%@ page import="pt.estgp.estgweb.domain.CourseStudiesPlan" %> |
4 | <%@ page import="pt.estgp.estgweb.domain.CourseStudiesPlanImpl" %> |
4 | <%@ page import="pt.estgp.estgweb.domain.CourseStudiesPlanImpl" %> |
5 | <%@ page import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
5 | <%@ page import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
6 | <%@ page import="pt.estgp.estgweb.web.form.courses.CourseStudiesPlansAdminForm" %> |
- | |
7 | <%@ page import="pt.estgp.estgweb.services.courses.CoursesService" %> |
6 | <%@ page import="pt.estgp.estgweb.services.courses.CoursesService" %> |
- | 7 | <%@ page import="pt.estgp.estgweb.web.form.courses.CourseStudiesPlansAdminForm" %> |
|
- | 8 | <%@ page import="java.util.List" %> |
|
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
9 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
9 | <%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %> |
10 | <%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %> |
10 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
11 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
11 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
12 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
12 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
13 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
Line 78... | Line 79... | ||
78 | 79 | ||
79 | %> |
80 | %> |
80 | <div class="panel panel-default"> |
81 | <div class="panel panel-default"> |
81 | <div class="panel-heading"> |
82 | <div class="panel-heading"> |
82 | Edição do plano de estudos. Versão <%=versaoPlano%> <%=ultimaVersao? "(<u>é a versão em vigor</u>)":""%> do curso de <%=course.getName()%> (<%=course.getCode()%>) |
83 | Edição do plano de estudos. Versão <%=versaoPlano%> <%=ultimaVersao? "(<u>é a versão em vigor</u>)":""%> do curso de <%=course.getName()%> (<%=course.getCode()%>) |
83 | - | ||
84 | <button data-toggle="modal" data-target="#modalNovaVersaoDePlano" title="Adicionar Versão do Plano de Estudos" class="btn btn-success pull-right"><span class="glyphicon glyphicon-plus"></span></button> |
- | |
85 | </div> |
84 | </div> |
86 | <div class="panel-body"> |
85 | <div class="panel-body"> |
87 | 86 | ||
88 | <html:errors/> |
87 | <html:errors/> |
89 | <jomm:messages/> |
88 | <jomm:messages/> |
Line 136... | Line 135... | ||
136 | </table> |
135 | </table> |
137 | </div> |
136 | </div> |
138 | 137 | ||
139 | </div> |
138 | </div> |
140 | </div> |
139 | </div> |
141 | - | ||
142 | - | ||
143 | <div class="panel panel-default"> |
- | |
144 | <div class="panel-heading">Plano de Estudos</div> |
- | |
145 | <div class="panel-body"> |
- | |
146 | <html:form action="/user/courseControllerStudiesPlan" styleClass="form-horizontal"> |
140 | <html:form action="/user/courseControllerStudiesPlan" styleId="CourseStudiesPlansAdminForm" styleClass="form-horizontal"> |
147 | <% |
- | |
148 | CourseStudiesPlansAdminForm courseStudiesPlansAdminForm = (CourseStudiesPlansAdminForm) request.getAttribute("CourseStudiesPlansAdminForm"); |
- | |
149 | if(courseStudiesPlansAdminForm.getCourseStudiesPlan().getId() <= 0) |
- | |
150 | { |
141 | <div class="panel panel-warning"> |
151 | courseStudiesPlansAdminForm.setCourseStudiesPlan(planoEdicao); |
- | |
152 | courseStudiesPlansAdminForm.setCourseId(courseId); |
- | |
153 | courseStudiesPlansAdminForm.setVersaoVigor(ultimaVersao); |
- | |
154 | courseStudiesPlansAdminForm.setPlanoEstudos(new CoursesService().loadCursoPlanoFromXml(planoEdicao.getXml())); |
142 | <div class="panel-heading"><span class="glyphicon glyphicon-wrench"></span> Clonagem a partir de outro plano de Estudos</div> |
155 | } |
- | |
156 | %> |
143 | <div class="panel-body"> |
157 | <input type="hidden" name="dispatch" value="savePlano"/> |
- | |
158 | <html:hidden property="courseId"/> |
- | |
159 | <html:hidden property="versaoVigor"/> |
- | |
160 | <html:hidden property="courseStudiesPlan.id"/> |
- | |
161 | <html:hidden styleId="semestreId" property="semestreId"/> |
- | |
162 | <html:hidden styleId="perfilId" property="perfilId"/> |
- | |
163 | 144 | ||
164 | <div class="form-group"> |
145 | <div class="form-group"> |
165 | <label class="control-label col-sm-2">Versão</label> |
146 | <label class="control-label col-sm-2">Versão Fonte para Clonagem</label> |
166 | <div class="col-sm-10"> |
147 | <div class="col-sm-10"> |
167 | <html:text styleClass="form-control" property="courseStudiesPlan.version" size="3"/> |
148 | <html:select styleClass="form-control" property="sourcePlanId"> |
- | 149 | <html:option value="">Nenhuma</html:option> |
|
168 | </div> |
150 | <% |
- | 151 | for(CourseStudiesPlan plan:course.getStudiesPlans()) |
|
169 | </div> |
152 | { |
- | 153 | if(plan.getId() != studyPlanId) |
|
170 | <div class="form-group"> |
154 | { |
171 | <label class="control-label col-sm-2">Descrição</label> |
155 | request.setAttribute("nowPlanId",plan.getId()); |
172 | <div class="col-sm-10"> |
156 | %> |
173 | <html:text styleClass="form-control" property="courseStudiesPlan.versionDescription"/> |
157 | <html:option value="${nowPlanId}">Versão <%=plan.getVersion()%></html:option> |
- | 158 | <% |
|
- | 159 | } |
|
- | 160 | ||
- | 161 | } |
|
- | 162 | %> |
|
- | 163 | </html:select> |
|
174 | </div> |
164 | </div> |
175 | </div> |
165 | </div> |
- | 166 | <button class="btn btn-warning" type="button" data-toggle="modal" data-target="#confirm-ModalFunction" data-message="Esta operação vai sobrepor os dados do plano de estudos atual com os dados da versão escolhida!! Tem a certeza que deseja prosseguir?" data-script="set($('#CourseStudiesPlansAdminForm').get(0),'clonarPlano');$('#CourseStudiesPlansAdminForm').get(0).submit();"> |
|
- | 167 | Clonar para a fonte escolhida |
|
- | 168 | </button> |
|
176 | 169 | ||
177 | <% |
- | |
178 | int dummyIndexIdUnidades = 0; |
- | |
179 | int dummyIndexPerfilId = 0; |
- | |
180 | int dummyIndexSemestreId = 0; |
- | |
181 | - | ||
182 | %> |
- | |
183 | <script> |
- | |
184 | - | ||
185 | function sendUpUnidadeCurricular(dummyIndexId) |
- | |
186 | { |
- | |
187 | sendFieldUp("removed",dummyIndexId); |
- | |
188 | sendFieldUp("siges",dummyIndexId); |
- | |
189 | sendFieldUp("nome",dummyIndexId); |
- | |
190 | sendFieldUp("nomeEn",dummyIndexId); |
- | |
191 | sendFieldUp("nomeEs",dummyIndexId); |
- | |
192 | sendFieldUp("nomeFr",dummyIndexId); |
- | |
193 | - | ||
194 | sendFieldUp("totalHoras",dummyIndexId); |
- | |
195 | sendFieldUp("horasContactoT",dummyIndexId); |
- | |
196 | sendFieldUp("horasContactoTP",dummyIndexId); |
- | |
197 | sendFieldUp("horasContactoP",dummyIndexId); |
- | |
198 | sendFieldUp("horasContactoPL",dummyIndexId); |
- | |
199 | sendFieldUp("horasContactoPD",dummyIndexId); |
- | |
200 | sendFieldUp("horasContactoOT",dummyIndexId); |
- | |
201 | sendFieldUp("horasContactoE",dummyIndexId); |
- | |
202 | sendFieldUp("horasContactoS",dummyIndexId); |
- | |
203 | sendFieldUp("horasContactoTC",dummyIndexId); |
- | |
204 | sendFieldUp("horasContactoO",dummyIndexId); |
- | |
205 | sendFieldUp("ECTS",dummyIndexId); |
- | |
206 | sendFieldUp("urlUnidadeCurricular",dummyIndexId); |
- | |
207 | sendFieldUp("urlFichaCurricular",dummyIndexId); |
- | |
208 | - | ||
209 | } |
- | |
210 | function sendDownUnidadeCurricular(dummyIndexId) |
- | |
211 | { |
- | |
212 | sendFieldDown("removed",dummyIndexId); |
- | |
213 | sendFieldDown("siges",dummyIndexId); |
- | |
214 | sendFieldDown("nome",dummyIndexId); |
- | |
215 | sendFieldDown("nomeEn",dummyIndexId); |
- | |
216 | sendFieldDown("nomeEs",dummyIndexId); |
- | |
217 | sendFieldDown("nomeFr",dummyIndexId); |
- | |
218 | - | ||
219 | sendFieldDown("totalHoras",dummyIndexId); |
- | |
220 | sendFieldDown("horasContactoT",dummyIndexId); |
- | |
221 | sendFieldDown("horasContactoTP",dummyIndexId); |
- | |
222 | sendFieldDown("horasContactoP",dummyIndexId); |
- | |
223 | sendFieldDown("horasContactoPL",dummyIndexId); |
- | |
224 | sendFieldDown("horasContactoPD",dummyIndexId); |
- | |
225 | sendFieldDown("horasContactoOT",dummyIndexId); |
- | |
226 | sendFieldDown("horasContactoE",dummyIndexId); |
- | |
227 | sendFieldDown("horasContactoS",dummyIndexId); |
- | |
228 | sendFieldDown("horasContactoTC",dummyIndexId); |
- | |
229 | sendFieldDown("horasContactoO",dummyIndexId); |
- | |
230 | sendFieldDown("ECTS",dummyIndexId); |
- | |
231 | sendFieldDown("urlUnidadeCurricular",dummyIndexId); |
- | |
232 | sendFieldDown("urlFichaCurricular",dummyIndexId); |
- | |
233 | - | ||
234 | } |
- | |
235 | function sendFieldUp(field,dummyIndexId){ |
- | |
236 | nome = $("#" + field + "dummyIndex" + dummyIndexId).val(); |
- | |
237 | $("#" + field + "dummyIndex" + (dummyIndexId)).val($("#" + field + "dummyIndex" + (dummyIndexId-1)).val()); |
- | |
238 | $("#" + field + "dummyIndex" + (dummyIndexId-1)).val(nome); |
- | |
239 | } |
- | |
240 | function sendFieldDown(field,dummyIndexId){ |
- | |
241 | nome = $("#" + field + "dummyIndex" + dummyIndexId).val(); |
- | |
242 | $("#" + field + "dummyIndex" + (dummyIndexId)).val($("#" + field + "dummyIndex" + (dummyIndexId+1)).val()); |
- | |
243 | $("#" + field + "dummyIndex" + (dummyIndexId+1)).val(nome); |
- | |
244 | } |
- | |
245 | function removeUnit(dummyIndexId) |
- | |
246 | { |
- | |
247 | $("#removed" + "dummyIndex" + dummyIndexId).val("true"); |
- | |
248 | $("#removed" + "dummyIndex" + dummyIndexId).closest("tr").hide("slow"); |
- | |
249 | - | ||
250 | } |
- | |
251 | </script> |
- | |
252 | <nested:notEmpty property="planoEstudos"> |
- | |
253 | - | ||
254 | <html:hidden property="planoEstudos.siges"/> |
- | |
255 | <html:hidden property="planoEstudos.nome"/> |
- | |
256 | <html:hidden property="planoEstudos.dep"/> |
- | |
257 | <nested:iterate id="semestre" property="planoEstudos.semestre" type="pt.estgp.estgweb.services.courses.xsd.Curso.Semestre"> |
- | |
258 | <div class="panel panel-default"> |
- | |
259 | <div class="panel-heading"> |
- | |
260 | - | ||
261 | <nested:select property="id"> |
- | |
262 | <html:option value="S1">Semestre 1</html:option> |
- | |
263 | <html:option value="S2">Semestre 2</html:option> |
- | |
264 | <html:option value="S3">Semestre 3</html:option> |
- | |
265 | <html:option value="S4">Semestre 4</html:option> |
- | |
266 | <html:option value="S5">Semestre 5</html:option> |
- | |
267 | <html:option value="S6">Semestre 6</html:option> |
- | |
268 | <html:option value="T1">Trimestre 1</html:option> |
- | |
269 | <html:option value="T2">Trimestre 2</html:option> |
- | |
270 | <html:option value="T3">Trimestre 3</html:option> |
- | |
271 | <html:option value="T4">Trimestre 4</html:option> |
- | |
272 | <html:option value="T5">Trimestre 5</html:option> |
- | |
273 | <html:option value="T6">Trimestre 6</html:option> |
- | |
274 | <html:option value="T7">Trimestre 7</html:option> |
- | |
275 | <html:option value="T8">Trimestre 8</html:option> |
- | |
276 | </nested:select> |
- | |
277 | - | ||
278 | <% |
- | |
279 | dummyIndexSemestreId++; |
- | |
280 | request.setAttribute("dummyIndexSemestreId",dummyIndexSemestreId); |
- | |
281 | %> |
- | |
282 | <nested:hidden property="semestreId" value="semestreDummy${dummyIndexSemestreId}"/> |
- | |
283 | <button type="button" class="btn btn-default" onclick="form.action=form.action+'#semestreDummy${dummyIndexSemestreId}';$('#semestreId').val('semestreDummy${dummyIndexSemestreId}');set(this.form,'addUnidadeSemestre');this.form.submit()"> |
- | |
284 | <span class="glyphicon glyphicon-plus"> Adicionar Unidade ao Semestre</span> |
- | |
285 | </button> |
- | |
286 | <a name="semestreDummy${dummyIndexSemestreId}"></a> |
- | |
287 | </div> |
- | |
288 | <div class="panel-body"> |
- | |
289 | 170 | ||
290 | 171 | ||
291 | <button class="btn btn-default" data-toggle="collapse" type="button" data-target=".langs">Ver Campos Multingua</button> |
- | |
292 | <nested:iterate id="perfil" property="perfil" type="pt.estgp.estgweb.services.courses.xsd.Curso.Semestre.Perfil"> |
- | |
293 | <div class="panel panel-default"> |
172 | </div> |
294 | <div class="panel-heading"> |
173 | </div> |
- | 174 | ||
295 | 175 | ||
296 | PERFIL <nested:text styleClass="form-control" property="nome"/> |
- | |
297 | <% |
176 | <div class="panel panel-default"> |
298 | dummyIndexPerfilId++; |
- | |
299 | request.setAttribute("dummyIndexPerfilId",dummyIndexPerfilId); |
- | |
300 | %> |
177 | <div class="panel-heading">Plano de Estudos |
301 | <nested:hidden property="perfilId" value="perfilDummy${dummyIndexPerfilId}"/> |
- | |
302 | 178 | ||
- | 179 | <button style="margin-left: 4px" type="button" class="btn btn-success pull-right" onclick="set(this.form,'addNewSemestre');this.form.submit()"> |
|
- | 180 | <span class="glyphicon glyphicon-plus"> </span> Semestre |
|
- | 181 | </button> |
|
- | 182 | </div> |
|
- | 183 | <div class="panel-body"> |
|
- | 184 | ||
- | 185 | ||
- | 186 | <% |
|
- | 187 | CourseStudiesPlansAdminForm courseStudiesPlansAdminForm = (CourseStudiesPlansAdminForm) request.getAttribute("CourseStudiesPlansAdminForm"); |
|
- | 188 | //Form ainda não iniciado vai iniciar é a primeira vez |
|
- | 189 | if(courseStudiesPlansAdminForm.getCourseStudiesPlan().getId() <= 0) |
|
- | 190 | { |
|
- | 191 | courseStudiesPlansAdminForm.setCourseStudiesPlan(planoEdicao); |
|
- | 192 | courseStudiesPlansAdminForm.setCourseId(courseId); |
|
- | 193 | courseStudiesPlansAdminForm.setVersaoVigor(ultimaVersao); |
|
- | 194 | courseStudiesPlansAdminForm.setPlanoEstudos(new CoursesService().loadCursoPlanoFromXml(planoEdicao.getXml())); |
|
- | 195 | } |
|
- | 196 | %> |
|
- | 197 | <input type="hidden" name="dispatch" value="savePlano"/> |
|
- | 198 | <html:hidden property="courseId"/> |
|
- | 199 | <html:hidden property="versaoVigor"/> |
|
- | 200 | <html:hidden property="courseStudiesPlan.id"/> |
|
- | 201 | <html:hidden styleId="semestreId" property="semestreId"/> |
|
- | 202 | <html:hidden styleId="perfilId" property="perfilId"/> |
|
- | 203 | ||
- | 204 | <div class="form-group"> |
|
- | 205 | <label class="control-label col-sm-2">Versão</label> |
|
- | 206 | <div class="col-sm-10"> |
|
- | 207 | <html:text styleClass="form-control" property="courseStudiesPlan.version" size="3"/> |
|
- | 208 | </div> |
|
- | 209 | </div> |
|
- | 210 | <div class="form-group"> |
|
- | 211 | <label class="control-label col-sm-2">Descrição</label> |
|
- | 212 | <div class="col-sm-10"> |
|
- | 213 | <html:text styleClass="form-control" property="courseStudiesPlan.versionDescription"/> |
|
- | 214 | </div> |
|
- | 215 | </div> |
|
- | 216 | ||
- | 217 | <% |
|
- | 218 | int dummyIndexIdUnidades = 0; |
|
- | 219 | int dummyIndexPerfilId = 0; |
|
- | 220 | int dummyIndexSemestreId = 0; |
|
- | 221 | ||
- | 222 | %> |
|
- | 223 | <script> |
|
- | 224 | ||
- | 225 | function sendUpUnidadeCurricular(dummyIndexId) |
|
- | 226 | { |
|
- | 227 | sendFieldUp("removed",dummyIndexId); |
|
- | 228 | sendFieldUp("siges",dummyIndexId); |
|
- | 229 | sendFieldUp("nome",dummyIndexId); |
|
- | 230 | sendFieldUp("nomeEn",dummyIndexId); |
|
- | 231 | sendFieldUp("nomeEs",dummyIndexId); |
|
- | 232 | sendFieldUp("nomeFr",dummyIndexId); |
|
- | 233 | ||
- | 234 | sendFieldUp("totalHoras",dummyIndexId); |
|
- | 235 | sendFieldUp("horasContactoT",dummyIndexId); |
|
- | 236 | sendFieldUp("horasContactoTP",dummyIndexId); |
|
- | 237 | sendFieldUp("horasContactoP",dummyIndexId); |
|
- | 238 | sendFieldUp("horasContactoPL",dummyIndexId); |
|
- | 239 | sendFieldUp("horasContactoPD",dummyIndexId); |
|
- | 240 | sendFieldUp("horasContactoOT",dummyIndexId); |
|
- | 241 | sendFieldUp("horasContactoE",dummyIndexId); |
|
- | 242 | sendFieldUp("horasContactoS",dummyIndexId); |
|
- | 243 | sendFieldUp("horasContactoTC",dummyIndexId); |
|
- | 244 | sendFieldUp("horasContactoO",dummyIndexId); |
|
- | 245 | sendFieldUp("ECTS",dummyIndexId); |
|
- | 246 | sendFieldUp("urlUnidadeCurricular",dummyIndexId); |
|
- | 247 | sendFieldUp("urlFichaCurricular",dummyIndexId); |
|
- | 248 | ||
- | 249 | } |
|
- | 250 | function sendDownUnidadeCurricular(dummyIndexId) |
|
- | 251 | { |
|
- | 252 | sendFieldDown("removed",dummyIndexId); |
|
- | 253 | sendFieldDown("siges",dummyIndexId); |
|
- | 254 | sendFieldDown("nome",dummyIndexId); |
|
- | 255 | sendFieldDown("nomeEn",dummyIndexId); |
|
- | 256 | sendFieldDown("nomeEs",dummyIndexId); |
|
- | 257 | sendFieldDown("nomeFr",dummyIndexId); |
|
- | 258 | ||
- | 259 | sendFieldDown("totalHoras",dummyIndexId); |
|
- | 260 | sendFieldDown("horasContactoT",dummyIndexId); |
|
- | 261 | sendFieldDown("horasContactoTP",dummyIndexId); |
|
- | 262 | sendFieldDown("horasContactoP",dummyIndexId); |
|
- | 263 | sendFieldDown("horasContactoPL",dummyIndexId); |
|
- | 264 | sendFieldDown("horasContactoPD",dummyIndexId); |
|
- | 265 | sendFieldDown("horasContactoOT",dummyIndexId); |
|
- | 266 | sendFieldDown("horasContactoE",dummyIndexId); |
|
- | 267 | sendFieldDown("horasContactoS",dummyIndexId); |
|
- | 268 | sendFieldDown("horasContactoTC",dummyIndexId); |
|
- | 269 | sendFieldDown("horasContactoO",dummyIndexId); |
|
- | 270 | sendFieldDown("ECTS",dummyIndexId); |
|
- | 271 | sendFieldDown("urlUnidadeCurricular",dummyIndexId); |
|
- | 272 | sendFieldDown("urlFichaCurricular",dummyIndexId); |
|
- | 273 | ||
- | 274 | } |
|
- | 275 | function sendFieldUp(field,dummyIndexId){ |
|
- | 276 | nome = $("#" + field + "dummyIndex" + dummyIndexId).val(); |
|
- | 277 | $("#" + field + "dummyIndex" + (dummyIndexId)).val($("#" + field + "dummyIndex" + (dummyIndexId-1)).val()); |
|
- | 278 | $("#" + field + "dummyIndex" + (dummyIndexId-1)).val(nome); |
|
- | 279 | } |
|
- | 280 | function sendFieldDown(field,dummyIndexId){ |
|
- | 281 | nome = $("#" + field + "dummyIndex" + dummyIndexId).val(); |
|
- | 282 | $("#" + field + "dummyIndex" + (dummyIndexId)).val($("#" + field + "dummyIndex" + (dummyIndexId+1)).val()); |
|
- | 283 | $("#" + field + "dummyIndex" + (dummyIndexId+1)).val(nome); |
|
- | 284 | } |
|
- | 285 | function removeUnit(dummyIndexId) |
|
- | 286 | { |
|
- | 287 | $("#removed" + "dummyIndex" + dummyIndexId).val("true"); |
|
- | 288 | $("#removed" + "dummyIndex" + dummyIndexId).closest("tr").hide("slow"); |
|
- | 289 | ||
- | 290 | } |
|
- | 291 | </script> |
|
- | 292 | <nested:notEmpty property="planoEstudos"> |
|
- | 293 | ||
- | 294 | <html:hidden property="planoEstudos.siges"/> |
|
- | 295 | <html:hidden property="planoEstudos.nome"/> |
|
- | 296 | <html:hidden property="planoEstudos.dep"/> |
|
- | 297 | <nested:iterate id="semestre" property="planoEstudos.semestre" type="pt.estgp.estgweb.services.courses.xsd.Curso.Semestre"> |
|
- | 298 | <div class="panel panel-default"> |
|
- | 299 | <div class="panel-heading"> |
|
- | 300 | ||
- | 301 | <div class="form-group"> |
|
- | 302 | <% |
|
- | 303 | dummyIndexSemestreId++; |
|
- | 304 | request.setAttribute("dummyIndexSemestreId",dummyIndexSemestreId); |
|
- | 305 | %> |
|
- | 306 | <nested:hidden property="semestreId" value="semestreDummy${dummyIndexSemestreId}"/> |
|
303 | <button type="button" class="btn btn-default" onclick="form.action=form.action+'#perfilDummy${dummyIndexPerfilId}';$('#perfilId').val('perfilDummy${dummyIndexPerfilId}');set(this.form,'addUnidadePerfil');this.form.submit()"> |
307 | <div class="col-sm-1"> |
304 | <span class="glyphicon glyphicon-plus"> Adicionar Unidade ao Perfil</span> |
308 | <button type="button" class="btn btn-danger" data-toggle="modal" data-target="#confirm-ModalFunction" data-message="Esta operação vai remover todas as unidades e perfis deste semestre!! Tem a certeza que deseja prosseguir? A operação não afeta as unidades nem os cursos do PAE, apenas o plano." data-script="$('#semestreId').val('semestreDummy${dummyIndexSemestreId}');set($('#CourseStudiesPlansAdminForm').get(0),'removeSemestre');$('#CourseStudiesPlansAdminForm').get(0).submit()"> |
- | 309 | <span class="glyphicon glyphicon-remove"> </span> |
|
305 | </button> |
310 | </button> |
306 | <a name="perfilDummy${dummyIndexPerfilId}"></a> |
- | |
307 | </div> |
311 | </div> |
308 | <div class="panel-body"> |
312 | <div class="col-sm-1"> |
309 | <table class="tablesorterfiltered"> |
- | |
310 | <thead> |
313 | Duração |
311 | <tr> |
314 | </div> |
312 | <td></td> |
315 | <div class="col-sm-4"> |
313 | <td></td> |
316 | <nested:select styleClass="form-control" property="id"> |
314 | <th>SIGES</th> |
317 | <html:option value="S1">Semestre 1</html:option> |
315 | <th>Nome</th> |
318 | <html:option value="S2">Semestre 2</html:option> |
316 | <th>Total</th> |
319 | <html:option value="S3">Semestre 3</html:option> |
317 | <th>T</th> |
320 | <html:option value="S4">Semestre 4</html:option> |
318 | <th>TP</th> |
321 | <html:option value="S5">Semestre 5</html:option> |
319 | <th>P</th> |
322 | <html:option value="S6">Semestre 6</html:option> |
320 | <th>PL</th> |
323 | <html:option value="T1">Trimestre 1</html:option> |
321 | <th>PD</th> |
324 | <html:option value="T2">Trimestre 2</html:option> |
322 | <th>OT</th> |
325 | <html:option value="T3">Trimestre 3</html:option> |
323 | <th>E</th> |
- | |
324 | <th>S</th> |
- | |
325 | <th>TC</th> |
326 | <html:option value="T4">Trimestre 4</html:option> |
326 | <th>O</th> |
327 | <html:option value="T5">Trimestre 5</html:option> |
327 | <th>ECTS</th> |
328 | <html:option value="T6">Trimestre 6</html:option> |
328 | <th>URL UNIDADE</th> |
329 | <html:option value="T7">Trimestre 7</html:option> |
329 | <th>FICHA URL</th> |
330 | <html:option value="T8">Trimestre 8</html:option> |
330 | </tr> |
331 | </nested:select> |
331 | </thead> |
332 | </div> |
332 | <tbody> |
333 | <div class="col-sm-6"> |
333 | <nested:size id="tamanho" property="unidade"/> |
- | |
334 | <nested:iterate id="unit" indexId="indexId" property="unidade" type="pt.estgp.estgweb.services.courses.xsd.UnidadeType"> |
- | |
335 | 334 | ||
336 | <% |
335 | <button style="margin-left: 4px" type="button" class="btn btn-success pull-right" onclick="form.action=form.action+'#semestreDummy${dummyIndexSemestreId}';$('#semestreId').val('semestreDummy${dummyIndexSemestreId}');set(this.form,'addUnidadeSemestre');this.form.submit()"> |
337 | dummyIndexIdUnidades++; |
336 | <span class="glyphicon glyphicon-plus"> </span> Unidade |
338 | request.setAttribute("dummyIndexIdUnidades","dummyIndex" + dummyIndexIdUnidades); |
- | |
339 | %> |
337 | </button> |
340 | <% |
- | |
341 | int tamanhoMinus1 = tamanho - 1; |
- | |
342 | request.setAttribute("tamanhoMinus1",tamanhoMinus1); |
- | |
343 | 338 | ||
344 | %> |
339 | <button style="margin-left: 4px" type="button" class="btn btn-success pull-right" onclick="form.action=form.action+'#semestreDummy${dummyIndexSemestreId}';$('#semestreId').val('semestreDummy${dummyIndexSemestreId}');set(this.form,'addPerfilSemestre');this.form.submit()"> |
345 | <tr <nested:equal property="removed" value="true">class="hidden"</nested:equal>> |
340 | <span class="glyphicon glyphicon-plus"> </span> Perfil |
346 | <td class="text-nowrap"> |
341 | </button> |
347 | 342 | ||
- | 343 | <a name="semestreDummy${dummyIndexSemestreId}"></a> |
|
- | 344 | </div> |
|
- | 345 | </div> |
|
- | 346 | </div> |
|
- | 347 | <div class="panel-body"> |
|
- | 348 | ||
- | 349 | ||
- | 350 | <button class="btn btn-default" data-toggle="collapse" type="button" data-target=".langs">Ver Campos Multingua</button> |
|
- | 351 | <nested:iterate id="perfil" property="perfil" type="pt.estgp.estgweb.services.courses.xsd.Curso.Semestre.Perfil"> |
|
- | 352 | <div class="panel panel-default"> |
|
- | 353 | <div class="panel-heading"> |
|
- | 354 | <div class="form-group"> |
|
- | 355 | <% |
|
- | 356 | dummyIndexPerfilId++; |
|
- | 357 | request.setAttribute("dummyIndexPerfilId",dummyIndexPerfilId); |
|
- | 358 | %> |
|
- | 359 | <a name="perfilDummy${dummyIndexPerfilId}"></a> |
|
- | 360 | <nested:hidden property="perfilId" value="perfilDummy${dummyIndexPerfilId}"/> |
|
- | 361 | <div class="col-sm-1"> |
|
348 | <nested:greaterThan value="0" name="indexId"> |
362 | <button type="button" class="btn btn-danger" data-toggle="modal" data-target="#confirm-ModalFunction" data-message="Esta operação vai remover todas as unidades deste perfil!! Tem a certeza que deseja prosseguir? A operação não afeta as unidades nem os cursos do PAE, apenas o plano." data-script="$('#CourseStudiesPlansAdminForm').get(0).action=$('#CourseStudiesPlansAdminForm').get(0).action+'#semestreDummy${dummyIndexSemestreId}';$('#perfilId').val('perfilDummy${dummyIndexPerfilId}');set($('#CourseStudiesPlansAdminForm').get(0),'removePerfil');$('#CourseStudiesPlansAdminForm').get(0).submit()"> |
- | 363 | <span class="glyphicon glyphicon-remove"> </span> |
|
- | 364 | </button> |
|
- | 365 | </div> |
|
- | 366 | <div class="col-sm-1"> |
|
- | 367 | Perfil |
|
- | 368 | </div> |
|
- | 369 | <div class="col-sm-6"> |
|
- | 370 | <nested:text styleClass="form-control" property="nome"/> |
|
- | 371 | </div> |
|
- | 372 | <div class="col-sm-4"> |
|
349 | <button type="button" class="btn btn-warning" onclick="sendUpUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
373 | <button type="button" class="btn btn-success pull-right" onclick="form.action=form.action+'#perfilDummy${dummyIndexPerfilId}';$('#perfilId').val('perfilDummy${dummyIndexPerfilId}');set(this.form,'addUnidadePerfil');this.form.submit()"> |
- | 374 | <span class="glyphicon glyphicon-plus"> </span> Unidade |
|
- | 375 | </button> |
|
- | 376 | </div> |
|
- | 377 | </div> |
|
- | 378 | </div> |
|
- | 379 | <div class="panel-body"> |
|
- | 380 | <table class="tablesorterfiltered"> |
|
- | 381 | <thead> |
|
- | 382 | <tr> |
|
- | 383 | <td></td> |
|
- | 384 | <td></td> |
|
- | 385 | <th>SIGES</th> |
|
- | 386 | <th>Nome</th> |
|
- | 387 | <th>Total</th> |
|
- | 388 | <th>T</th> |
|
- | 389 | <th>TP</th> |
|
- | 390 | <th>P</th> |
|
- | 391 | <th>PL</th> |
|
- | 392 | <th>PD</th> |
|
- | 393 | <th>OT</th> |
|
- | 394 | <th>E</th> |
|
- | 395 | <th>S</th> |
|
- | 396 | <th>TC</th> |
|
- | 397 | <th>O</th> |
|
- | 398 | <th>ECTS</th> |
|
- | 399 | <th>URL UNIDADE</th> |
|
- | 400 | <th>FICHA URL</th> |
|
- | 401 | </tr> |
|
- | 402 | </thead> |
|
- | 403 | <tbody> |
|
- | 404 | <nested:size id="tamanho" property="unidade"/> |
|
- | 405 | <nested:iterate id="unit" indexId="indexId" property="unidade" type="pt.estgp.estgweb.services.courses.xsd.UnidadeType"> |
|
- | 406 | ||
- | 407 | <% |
|
- | 408 | dummyIndexIdUnidades++; |
|
- | 409 | request.setAttribute("dummyIndexIdUnidades","dummyIndex" + dummyIndexIdUnidades); |
|
- | 410 | %> |
|
- | 411 | <% |
|
- | 412 | int tamanhoMinus1 = tamanho - 1; |
|
- | 413 | request.setAttribute("tamanhoMinus1",tamanhoMinus1); |
|
- | 414 | ||
- | 415 | %> |
|
- | 416 | <tr <nested:equal property="removed" value="true">class="hidden"</nested:equal>> |
|
- | 417 | <td class="text-nowrap"> |
|
- | 418 | ||
- | 419 | <nested:greaterThan value="0" name="indexId"> |
|
- | 420 | <button type="button" class="btn btn-warning" onclick="sendUpUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
|
350 | <span class="glyphicon glyphicon-arrow-up"> </span> |
421 | <span class="glyphicon glyphicon-arrow-up"> </span> |
351 | </button> |
422 | </button> |
352 | </nested:greaterThan> |
423 | </nested:greaterThan> |
353 | <nested:lessThan name="indexId" value="${tamanhoMinus1}"> |
424 | <nested:lessThan name="indexId" value="${tamanhoMinus1}"> |
354 | <button type="button" class="btn btn-warning" onclick="sendDownUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
425 | <button type="button" class="btn btn-warning" onclick="sendDownUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
355 | <span class="glyphicon glyphicon-arrow-down"> </span> |
426 | <span class="glyphicon glyphicon-arrow-down"> </span> |
- | 427 | </button> |
|
- | 428 | </nested:lessThan> |
|
- | 429 | </td> |
|
- | 430 | <td> |
|
- | 431 | <nested:hidden styleId="removed${dummyIndexIdUnidades}" property="removed"/> |
|
- | 432 | <button type="button" class="btn btn-danger" onclick="removeUnit(<%=dummyIndexIdUnidades%>)"> |
|
- | 433 | <span class="glyphicon glyphicon-remove"> </span> |
|
356 | </button> |
434 | </button> |
357 | </nested:lessThan> |
- | |
358 | </td> |
435 | </td> |
359 | <td> |
- | |
360 | <nested:hidden styleId="removed${dummyIndexIdUnidades}" property="removed"/> |
- | |
361 | <button type="button" class="btn btn-danger" onclick="removeUnit(<%=dummyIndexIdUnidades%>)"> |
- | |
362 | <span class="glyphicon glyphicon-remove"> </span> |
- | |
363 | </button> |
- | |
364 | </td> |
- | |
365 | <td><nested:text styleId="siges${dummyIndexIdUnidades}" styleClass="form-control" property="siges"/></td> |
436 | <td><nested:text styleId="siges${dummyIndexIdUnidades}" styleClass="form-control" property="siges"/></td> |
366 | <td> |
437 | <td> |
367 | <div> |
438 | <div> |
368 | <div class="col-sm-1">(PT)</div> |
439 | <div class="col-sm-1">(PT)</div> |
369 | <div class="col-sm-11"><nested:text styleId="nome${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nome"/></div> |
440 | <div class="col-sm-11"><nested:text styleId="nome${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nome"/></div> |
370 | 441 | ||
371 | <div class="langs collapse" > |
442 | <div class="langs collapse" > |
372 | <div class="col-sm-1">(EN)</div> |
443 | <div class="col-sm-1">(EN)</div> |
373 | <div class="col-sm-11"><nested:text styleId="nomeEn${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEn"/></div> |
444 | <div class="col-sm-11"><nested:text styleId="nomeEn${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEn"/></div> |
374 | <div class="col-sm-1">(ES)</div> |
445 | <div class="col-sm-1">(ES)</div> |
375 | <div class="col-sm-11"><nested:text styleId="nomeEs${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEs"/></div> |
446 | <div class="col-sm-11"><nested:text styleId="nomeEs${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEs"/></div> |
376 | <div class="col-sm-1">(FR)</div> |
447 | <div class="col-sm-1">(FR)</div> |
377 | <div class="col-sm-11"><nested:text styleId="nomeFr${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeFr"/></div> |
448 | <div class="col-sm-11"><nested:text styleId="nomeFr${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeFr"/></div> |
- | 449 | </div> |
|
378 | </div> |
450 | </div> |
379 | </div> |
- | |
380 | 451 | ||
381 | </td> |
452 | </td> |
382 | <td><nested:text styleClass="form-control" styleId="totalHoras${dummyIndexIdUnidades}" property="totalHoras"/></td> |
453 | <td><nested:text styleClass="form-control" styleId="totalHoras${dummyIndexIdUnidades}" property="totalHoras"/></td> |
383 | <td><nested:text styleClass="form-control" styleId="horasContactoT${dummyIndexIdUnidades}" property="horasContacto.t"/></td> |
454 | <td><nested:text styleClass="form-control" styleId="horasContactoT${dummyIndexIdUnidades}" property="horasContacto.t"/></td> |
384 | <td><nested:text styleClass="form-control" styleId="horasContactoTP${dummyIndexIdUnidades}" property="horasContacto.TP"/></td> |
455 | <td><nested:text styleClass="form-control" styleId="horasContactoTP${dummyIndexIdUnidades}" property="horasContacto.TP"/></td> |
385 | <td><nested:text styleClass="form-control" styleId="horasContactoP${dummyIndexIdUnidades}" property="horasContacto.p"/></td> |
456 | <td><nested:text styleClass="form-control" styleId="horasContactoP${dummyIndexIdUnidades}" property="horasContacto.p"/></td> |
386 | <td><nested:text styleClass="form-control" styleId="horasContactoPL${dummyIndexIdUnidades}" property="horasContacto.PL"/></td> |
457 | <td><nested:text styleClass="form-control" styleId="horasContactoPL${dummyIndexIdUnidades}" property="horasContacto.PL"/></td> |
387 | <td><nested:text styleClass="form-control" styleId="horasContactoPD${dummyIndexIdUnidades}" property="horasContacto.PD"/></td> |
458 | <td><nested:text styleClass="form-control" styleId="horasContactoPD${dummyIndexIdUnidades}" property="horasContacto.PD"/></td> |
388 | <td><nested:text styleClass="form-control" styleId="horasContactoOT${dummyIndexIdUnidades}" property="horasContacto.OT"/></td> |
459 | <td><nested:text styleClass="form-control" styleId="horasContactoOT${dummyIndexIdUnidades}" property="horasContacto.OT"/></td> |
389 | <td><nested:text styleClass="form-control" styleId="horasContactoE${dummyIndexIdUnidades}" property="horasContacto.e"/></td> |
460 | <td><nested:text styleClass="form-control" styleId="horasContactoE${dummyIndexIdUnidades}" property="horasContacto.e"/></td> |
390 | <td><nested:text styleClass="form-control" styleId="horasContactoS${dummyIndexIdUnidades}" property="horasContacto.s"/></td> |
461 | <td><nested:text styleClass="form-control" styleId="horasContactoS${dummyIndexIdUnidades}" property="horasContacto.s"/></td> |
391 | <td><nested:text styleClass="form-control" styleId="horasContactoTC${dummyIndexIdUnidades}" property="horasContacto.TC"/></td> |
462 | <td><nested:text styleClass="form-control" styleId="horasContactoTC${dummyIndexIdUnidades}" property="horasContacto.TC"/></td> |
392 | <td><nested:text styleClass="form-control" styleId="horasContactoO${dummyIndexIdUnidades}" property="horasContacto.o"/></td> |
463 | <td><nested:text styleClass="form-control" styleId="horasContactoO${dummyIndexIdUnidades}" property="horasContacto.o"/></td> |
393 | <td><nested:text styleClass="form-control" styleId="ECTS${dummyIndexIdUnidades}" property="ECTS"/></td> |
464 | <td><nested:text styleClass="form-control" styleId="ECTS${dummyIndexIdUnidades}" property="ECTS"/></td> |
394 | <td><nested:text styleClass="form-control" styleId="urlUnidadeCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlUnidadeCurricular"/></td> |
465 | <td><nested:text styleClass="form-control" styleId="urlUnidadeCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlUnidadeCurricular"/></td> |
395 | <td><nested:text styleClass="form-control" styleId="urlFichaCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlFichaCurricular"/></td> |
466 | <td><nested:text styleClass="form-control" styleId="urlFichaCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlFichaCurricular"/></td> |
396 | </tr> |
467 | </tr> |
397 | </nested:iterate> |
468 | </nested:iterate> |
398 | </tbody> |
469 | </tbody> |
399 | </table> |
470 | </table> |
- | 471 | </div> |
|
400 | </div> |
472 | </div> |
401 | </div> |
- | |
402 | 473 | ||
403 | </nested:iterate> |
474 | </nested:iterate> |
404 | 475 | ||
405 | <nested:notEmpty property="unidade"> |
476 | <nested:notEmpty property="unidade"> |
406 | 477 | ||
407 | <table class="tablesorterfiltered"> |
478 | <table class="tablesorterfiltered"> |
408 | <thead> |
479 | <thead> |
409 | <tr> |
480 | <tr> |
410 | <th></th> |
481 | <th></th> |
411 | <th></th> |
482 | <th></th> |
412 | <th>SIGES</th> |
483 | <th>SIGES</th> |
413 | <th>Nome</th> |
484 | <th>Nome</th> |
414 | <th>Total</th> |
485 | <th>Total</th> |
415 | <th>T</th> |
486 | <th>T</th> |
416 | <th>TP</th> |
487 | <th>TP</th> |
417 | <th>P</th> |
488 | <th>P</th> |
418 | <th>PL</th> |
489 | <th>PL</th> |
419 | <th>PD</th> |
490 | <th>PD</th> |
420 | <th>OT</th> |
491 | <th>OT</th> |
421 | <th>E</th> |
492 | <th>E</th> |
422 | <th>S</th> |
493 | <th>S</th> |
423 | <th>TC</th> |
494 | <th>TC</th> |
424 | <th>O</th> |
495 | <th>O</th> |
425 | <th>ECTS</th> |
496 | <th>ECTS</th> |
426 | <th>URL UNIDADE</th> |
497 | <th>URL UNIDADE</th> |
427 | <th>FICHA URL</th> |
498 | <th>FICHA URL</th> |
428 | </tr> |
499 | </tr> |
429 | </thead> |
500 | </thead> |
430 | <tbody> |
501 | <tbody> |
431 | <nested:size id="tamanho" property="unidade"/> |
502 | <nested:size id="tamanho" property="unidade"/> |
432 | <nested:iterate id="unit" property="unidade" indexId="indexId" type="pt.estgp.estgweb.services.courses.xsd.UnidadeType"> |
503 | <nested:iterate id="unit" property="unidade" indexId="indexId" type="pt.estgp.estgweb.services.courses.xsd.UnidadeType"> |
433 | <% |
504 | <% |
434 | dummyIndexIdUnidades++; |
505 | dummyIndexIdUnidades++; |
435 | request.setAttribute("dummyIndexIdUnidades","dummyIndex" + dummyIndexIdUnidades); |
506 | request.setAttribute("dummyIndexIdUnidades","dummyIndex" + dummyIndexIdUnidades); |
436 | %> |
507 | %> |
437 | <% |
508 | <% |
438 | int tamanhoMinus1 = tamanho - 1; |
509 | int tamanhoMinus1 = tamanho - 1; |
439 | request.setAttribute("tamanhoMinus1",tamanhoMinus1); |
510 | request.setAttribute("tamanhoMinus1",tamanhoMinus1); |
440 | 511 | ||
441 | %> |
512 | %> |
442 | 513 | ||
443 | <tr <nested:equal property="removed" value="true">class="hidden"</nested:equal>> |
514 | <tr <nested:equal property="removed" value="true">class="hidden"</nested:equal>> |
444 | <td class="text-nowrap"> |
515 | <td class="text-nowrap"> |
445 | 516 | ||
446 | <nested:greaterThan value="0" name="indexId"> |
517 | <nested:greaterThan value="0" name="indexId"> |
447 | <button type="button" class="btn btn-warning" onclick="sendUpUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
518 | <button type="button" class="btn btn-warning" onclick="sendUpUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
448 | <span class="glyphicon glyphicon-arrow-up"> </span> |
519 | <span class="glyphicon glyphicon-arrow-up"> </span> |
449 | </button> |
520 | </button> |
450 | </nested:greaterThan> |
521 | </nested:greaterThan> |
451 | <nested:lessThan name="indexId" value="${tamanhoMinus1}"> |
522 | <nested:lessThan name="indexId" value="${tamanhoMinus1}"> |
452 | <button type="button" class="btn btn-warning" onclick="sendDownUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
523 | <button type="button" class="btn btn-warning" onclick="sendDownUnidadeCurricular(<%=dummyIndexIdUnidades%>)"> |
453 | <span class="glyphicon glyphicon-arrow-down"> </span> |
524 | <span class="glyphicon glyphicon-arrow-down"> </span> |
- | 525 | </button> |
|
- | 526 | </nested:lessThan> |
|
- | 527 | </td> |
|
- | 528 | <td> |
|
- | 529 | <nested:hidden styleId="removed${dummyIndexIdUnidades}" property="removed"/> |
|
- | 530 | <button type="button" class="btn btn-danger" onclick="removeUnit(<%=dummyIndexIdUnidades%>)" > |
|
- | 531 | <span class="glyphicon glyphicon-remove"> </span> |
|
454 | </button> |
532 | </button> |
455 | </nested:lessThan> |
- | |
456 | </td> |
533 | </td> |
457 | <td> |
- | |
458 | <nested:hidden styleId="removed${dummyIndexIdUnidades}" property="removed"/> |
- | |
459 | <button type="button" class="btn btn-danger" onclick="removeUnit(<%=dummyIndexIdUnidades%>)" > |
- | |
460 | <span class="glyphicon glyphicon-remove"> </span> |
- | |
461 | </button> |
- | |
462 | </td> |
- | |
463 | <td><nested:text styleId="siges${dummyIndexIdUnidades}" styleClass="form-control" property="siges"/></td> |
534 | <td><nested:text styleId="siges${dummyIndexIdUnidades}" styleClass="form-control" property="siges"/></td> |
464 | <td> |
535 | <td> |
465 | <div> |
536 | <div> |
466 | <div class="col-sm-1">(PT)</div> |
537 | <div class="col-sm-1">(PT)</div> |
467 | <div class="col-sm-11"><nested:text styleId="nome${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nome"/></div> |
538 | <div class="col-sm-11"><nested:text styleId="nome${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nome"/></div> |
468 | 539 | ||
469 | <div class="langs collapse" > |
540 | <div class="langs collapse" > |
470 | <div class="col-sm-1">(EN)</div> |
541 | <div class="col-sm-1">(EN)</div> |
471 | <div class="col-sm-11"><nested:text styleId="nomeEn${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEn"/></div> |
542 | <div class="col-sm-11"><nested:text styleId="nomeEn${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEn"/></div> |
472 | <div class="col-sm-1">(ES)</div> |
543 | <div class="col-sm-1">(ES)</div> |
473 | <div class="col-sm-11"><nested:text styleId="nomeEs${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEs"/></div> |
544 | <div class="col-sm-11"><nested:text styleId="nomeEs${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeEs"/></div> |
474 | <div class="col-sm-1">(FR)</div> |
545 | <div class="col-sm-1">(FR)</div> |
475 | <div class="col-sm-11"><nested:text styleId="nomeFr${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeFr"/></div> |
546 | <div class="col-sm-11"><nested:text styleId="nomeFr${dummyIndexIdUnidades}" style="width:300px" styleClass="form-control" property="nomeFr"/></div> |
- | 547 | </div> |
|
476 | </div> |
548 | </div> |
477 | </div> |
- | |
478 | 549 | ||
479 | </td> |
550 | </td> |
480 | <td><nested:text styleClass="form-control" styleId="totalHoras${dummyIndexIdUnidades}" property="totalHoras"/></td> |
551 | <td><nested:text styleClass="form-control" styleId="totalHoras${dummyIndexIdUnidades}" property="totalHoras"/></td> |
481 | <td><nested:text styleClass="form-control" styleId="horasContactoT${dummyIndexIdUnidades}" property="horasContacto.t"/></td> |
552 | <td><nested:text styleClass="form-control" styleId="horasContactoT${dummyIndexIdUnidades}" property="horasContacto.t"/></td> |
482 | <td><nested:text styleClass="form-control" styleId="horasContactoTP${dummyIndexIdUnidades}" property="horasContacto.TP"/></td> |
553 | <td><nested:text styleClass="form-control" styleId="horasContactoTP${dummyIndexIdUnidades}" property="horasContacto.TP"/></td> |
483 | <td><nested:text styleClass="form-control" styleId="horasContactoP${dummyIndexIdUnidades}" property="horasContacto.p"/></td> |
554 | <td><nested:text styleClass="form-control" styleId="horasContactoP${dummyIndexIdUnidades}" property="horasContacto.p"/></td> |
484 | <td><nested:text styleClass="form-control" styleId="horasContactoPL${dummyIndexIdUnidades}" property="horasContacto.PL"/></td> |
555 | <td><nested:text styleClass="form-control" styleId="horasContactoPL${dummyIndexIdUnidades}" property="horasContacto.PL"/></td> |
485 | <td><nested:text styleClass="form-control" styleId="horasContactoPD${dummyIndexIdUnidades}" property="horasContacto.PD"/></td> |
556 | <td><nested:text styleClass="form-control" styleId="horasContactoPD${dummyIndexIdUnidades}" property="horasContacto.PD"/></td> |
486 | <td><nested:text styleClass="form-control" styleId="horasContactoOT${dummyIndexIdUnidades}" property="horasContacto.OT"/></td> |
557 | <td><nested:text styleClass="form-control" styleId="horasContactoOT${dummyIndexIdUnidades}" property="horasContacto.OT"/></td> |
487 | <td><nested:text styleClass="form-control" styleId="horasContactoE${dummyIndexIdUnidades}" property="horasContacto.e"/></td> |
558 | <td><nested:text styleClass="form-control" styleId="horasContactoE${dummyIndexIdUnidades}" property="horasContacto.e"/></td> |
488 | <td><nested:text styleClass="form-control" styleId="horasContactoS${dummyIndexIdUnidades}" property="horasContacto.s"/></td> |
559 | <td><nested:text styleClass="form-control" styleId="horasContactoS${dummyIndexIdUnidades}" property="horasContacto.s"/></td> |
489 | <td><nested:text styleClass="form-control" styleId="horasContactoTC${dummyIndexIdUnidades}" property="horasContacto.TC"/></td> |
560 | <td><nested:text styleClass="form-control" styleId="horasContactoTC${dummyIndexIdUnidades}" property="horasContacto.TC"/></td> |
490 | <td><nested:text styleClass="form-control" styleId="horasContactoO${dummyIndexIdUnidades}" property="horasContacto.o"/></td> |
561 | <td><nested:text styleClass="form-control" styleId="horasContactoO${dummyIndexIdUnidades}" property="horasContacto.o"/></td> |
491 | <td><nested:text styleClass="form-control" styleId="ECTS${dummyIndexIdUnidades}" property="ECTS"/></td> |
562 | <td><nested:text styleClass="form-control" styleId="ECTS${dummyIndexIdUnidades}" property="ECTS"/></td> |
492 | <td><nested:text styleClass="form-control" styleId="urlUnidadeCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlUnidadeCurricular"/></td> |
563 | <td><nested:text styleClass="form-control" styleId="urlUnidadeCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlUnidadeCurricular"/></td> |
493 | <td><nested:text styleClass="form-control" styleId="urlFichaCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlFichaCurricular"/></td> |
564 | <td><nested:text styleClass="form-control" styleId="urlFichaCurricular${dummyIndexIdUnidades}" style="width:600px" property="urlFichaCurricular"/></td> |
494 | </tr> |
565 | </tr> |
495 | </nested:iterate> |
566 | </nested:iterate> |
496 | </tbody> |
567 | </tbody> |
497 | </table> |
568 | </table> |
498 | </nested:notEmpty> |
569 | </nested:notEmpty> |
499 | 570 | ||
- | 571 | </div> |
|
500 | </div> |
572 | </div> |
501 | </div> |
- | |
502 | 573 | ||
503 | </nested:iterate> |
574 | </nested:iterate> |
- | 575 | ||
- | 576 | </nested:notEmpty> |
|
504 | 577 | ||
- | 578 | <a type="button" class="btn btn-danger" href="<%=request.getContextPath()%>/user/adminStudyPlans.do?courseId=${courseId}">Cancelar</a> |
|
505 | </nested:notEmpty> |
579 | <html:submit styleClass="btn btn-success" >Salvar</html:submit> |
506 | 580 | ||
507 | <button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button> |
- | |
508 | <html:submit styleClass="btn btn-success" >Salvar</html:submit> |
- | |
509 | 581 | ||
510 | 582 | ||
511 | </html:form> |
- | |
512 | 583 | ||
- | 584 | </div> |
|
513 | </div> |
585 | </div> |
514 | </div> |
586 | </html:form> |
515 | </div> |
587 | </div> |
516 | </div> |
588 | </div> |
517 | 589 | ||
518 | <% |
590 | <% |
519 | 591 |