blob: 94cae205aa0726a08b5209c93b3e7fa639b9fcca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="templateCSS.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Concepto</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<%@page import="java.util.List" import="model.Tema" import = "model.Profesor" import="model.Concepto"%>
<div id="content">
<form style="width: 1071px; height: 521px;" method="post" name="ejercicio_form">
<br>
<% Profesor profesor = (Profesor) request.getSession().getAttribute("profesor");%>
<input name="profesor" type=hidden id="profesor" value=<%=profesor.getIdProfesor() %>>
<fieldset>
<p>
<label>Nombre:</label>
<input type="text" name="nombre" id= "nombre"/>
</p>
<p>
<label>Descripción:</label>
<input type="text" name="descripcion" id="descripcion"></input>
</p>
<p>
<label>Tema:</label>
<select id="temas" name="tema">
<% List<Tema> temas = (List<Tema>)request.getAttribute("lista_temas"); %>
<% for(Tema tema : temas) {%>
<option value="<%= tema.getIdTema() %>"><%= tema.getNombre() %></option>
<% } %>
</select>
</p>
<fieldset>
<legend> Probabilidades </legend>
<p>
<label>A priori:</label>
<input type="text" name="a_priori" id= "a_priori" >
</p>
<p>
<label>Adivinanza:</label>
<input type="text" name="adivinanza" id="adivinanza" >
</p>
<p>
<label>Descuido:</label>
<input type="text" name="descuido" id="descuido" >
</p>
<p>
<label>Peso:</label>
<input type="text" name="peso" id="peso">
</p>
</fieldset>
<p class="nolabel">
<button type="submit" name="Submit"> <img src="css/img/guardar.png" align="middle"/> Guardar </button>
</p>
</fieldset>
</form>
</div>
</body>
</html>
|