blob: 42cd87109a0709308aee474c8b828d027af3dad1 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Ejercitar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="mm_entertainment.css" type="text/css" />
<style type="text/css">
<!--
body {
background-color: #CC3333;
}
body,td,th {
color: #F0F0F0;
}
a:link {
color: #00CCFF;
}
.Estilo2 {
font-family: Georgia, "Times New Roman", Times, serif;
color: #33CCFF;
font-weight: bold;
font-size: 12px;
}
.Estilo4 {color: #FFFFFF}
.Estilo5 {
color: #003366;
font-weight: bold;
font-size: 12px;
}
-->
</style>
</head>
<body>
<%@page import="model.Profesor" import="model.Asignatura" import="java.util.List"%>
<table width="1043" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr bgcolor="#FFFFFF">
<td width="155" rowspan="2" nowrap="nowrap"><img src="img/logo.png" width="138" height="111" /></td>
<td height="58" colspan="2" valign="bottom" nowrap="nowrap" bgcolor="#FFFFFF" id="logo">EJERCITAR!!! </td>
<td width="10"> </td>
<td width="12"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="57" colspan="2" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" id="tagline">Una forma divertida de hacer tareas :D </td>
<td> </td>
<td> </td>
</tr>
<tr >
<td height="19" > </td>
<td width="11"> </td>
<td width="861"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="4" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="155" id="navigation">
<tr>
<td width="155" height="40"><div align="center"><span class="Estilo2"><a href="Quienes somos.html" class="Estilo2">MIS DATOS </a></span></div></td>
</tr>
<tr>
<td width="155" height="40"><div align="center"><a href="Recomendados.html">ALUMNOS</a></div></td>
</tr>
<tr>
<td width="155" height="40"><div align="center"><a href="Contactos.html">ESCUELA</a></div></td>
</tr>
</table>
</td>
<td height="120" valign="top" bgcolor="#445DA0"><!--DWLayoutEmptyCell--> </td>
<td rowspan="4" valign="top">
<table width="798" height="251" border="0" cellpadding="0" cellspacing="0" id="navigation">
<tr>
<td>
<form id="form1" name="form1" method="post" action="">
<% Profesor profesor = (Profesor)request.getSession().getAttribute("profesor"); %>
<p class="pageName Estilo12">Bienvenido Profesor <%= profesor.getNombre() %></p>
<p class="pageName Estilo10">Cursos habilitados: </p>
<p> </p>
<table width="507" border="0" align="center">
<tr>
<td width="152">
<button type="submit"><img src="img/pencil.png" alt="x" width="16" height="16" /> Nueva Asignatura</button>
</tr>
<tr bordercolor="#000000">
<th bgcolor="#666666"><span class="Estilo16">Asignatura</span></span></th>
<th width="152" bgcolor="#666666"><span class="Estilo16">Curso</span>
</div>
</span></th>
<th width="97" bgcolor="#666666"><span class="Estilo16">Escuela</span></span></th>
<th width="48" bgcolor="#666666"><span class="Estilo16">Acción</span></span></th>
</tr>
<% List<Asignatura> asignaturaList = (List<Asignatura>) profesor.getAsignaturaList();%>
<% for(Asignatura asignatura : asignaturaList) {%>
<tr bordercolor="#000000">
<td bgcolor="#CCCCCC"><span class="Estilo17"><a href="/EjercitarWeb/VistaAsignaturaServlet?asignatura=<%= asignatura.getIdAsignatura() %>"><%= asignatura.getNombre() %></a>></span></td>
<td bgcolor="#CCCCCC"><span class="Estilo17"><%= asignatura.getNombre() %></span></td>
<td bgcolor="#CCCCCC" ><span class="Estilo17"><%= asignatura.getDescripcion() %></span></td>
<td bgcolor="#CCCCCC"><span class="Estilo17"> Ver </span></td>
</tr>
<% } %>
</table>
</form>
<p> </p>
</td>
</tr>
</table>
</td>
</table>
</body>
</html>
|