Check-in [65b9d7e1fb]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:plantilla admin
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:65b9d7e1fbd5c891661949281c67502354fa5d7e
User & Date: malcon 2015-01-08 06:33:46
Context
2015-01-08
20:52
maquetacion admin check-in: 5512724c86 user: malcon tags: trunk
06:33
plantilla admin check-in: 65b9d7e1fb user: malcon tags: trunk
04:21
plantilla admin check-in: acab299dd9 user: malcon tags: trunk
Changes

Changes to WebContent/META-INF/context.xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<context>
	<Resource auth="Container"
	    driverClassName="com.mysql.jdbc.Driver"
	    maxActive="10"
	    name="jdbc/daw1"
	    username="root"
	    password="mysql"
	    type="javax.sql.DataSource"
	    url="jdbc:mysql://localhost:3306/agenciadb">
	</Resource>
</context>








|





1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<context>
	<Resource auth="Container"
	    driverClassName="com.mysql.jdbc.Driver"
	    maxActive="10"
	    name="jdbc/daw1"
	    username="root"
	    password="123"
	    type="javax.sql.DataSource"
	    url="jdbc:mysql://localhost:3306/agenciadb">
	</Resource>
</context>

Changes to WebContent/WEB-INF/admin/plantilla/cabecera.jsp.

2
3
4
5
6
7
8
9
10

<p id="cmp_logo">

<p>
<h1><s:text name="EyM Administrador"/></h1>
<div id="corner">
<p class="logout">
<a>Logout</a>
</div>







|

2
3
4
5
6
7
8
9
10

<p id="cmp_logo">

<p>
<h1><s:text name="EyM Administrador"/></h1>
<div id="corner">
<p class="logout">
<a href="<s:url action="logoutUsuario" namespace="/admin"/>">Logout</a>
</div>

Changes to WebContent/WEB-INF/admin/plantilla/menu__cliente.jsp.

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

<%@ taglib prefix="s" uri="/struts-tags"%>
<div id = wrap>

<table>
	<tr>
		<td >
			Opciones
		</td>
	</tr>
	<tr>
		<td >
			<a	href="<s:url action="inicializarCliente" namespace="/cliente"/>">
					Clientes
			</a>
		</td>
	</tr>
	<tr>
		<td >

			<a	href="<s:url action="inicializarLibroReclamaciones" namespace="/cliente"/>">
					Libro reclamaciones
			</a>
		</td>
	</tr>

	

</table>
</div>
<


>
|
<
<
<
<
<
<
<


|
<
<
<
<
>



|
|
<
<
<
<


1
2
3
4







5
6
7




8
9
10
11
12
13




14

<%@ taglib prefix="s" uri="/struts-tags"%>
<div id = wrap>
	<ul>
		<li>







			<a	href="<s:url action="inicializarCliente" namespace="/cliente"/>">
					Clientes
		</li>




		<li>
			<a	href="<s:url action="inicializarLibroReclamaciones" namespace="/cliente"/>">
					Libro reclamaciones
			</a>
		</li>
	</ul>




</div>

Changes to WebContent/WEB-INF/admin/plantilla/menu__reserva.jsp.

1
2
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

<%@ taglib prefix="s" uri="/struts-tags"%>


<table>
	<tr>
		<td style="background-color: #000099; color: #FFFFFF">
			Opciones
		</td>
	</tr>
	<tr>
		<td style="background-color: #CEDBE6">
			<a	href="<s:url action="inicializarReserva" namespace="/reserva"/>">
					Resevas
			</a>
		</td>
	</tr>
	

</table>
<


>
|
<
<
<
<
<
<
<
|
|
|
|
|
<
<
<

1
2
3
4







5
6
7
8
9




<%@ taglib prefix="s" uri="/struts-tags"%>

<ul>
	<li>







		<a	href="<s:url action="inicializarReserva" namespace="/reserva"/>">
		Resevas
		</a>
	</li>
</ul>



Changes to WebContent/WEB-INF/admin/plantilla/menu_principal.jsp.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id='applications_menu'>
	<ul>
		<li><a href="<s:url action="inicializarReserva" namespace="/reserva"/>">
			Resevas
			</a>
		</li>
		<li><a href="<s:url action="inicializarCliente" namespace="/cliente"/>">
			Clientes
			</a>
		</li>
		<li><a>Paquetes</a></li>
		<li><a>Pagos</a></li>
		<li><a>Configuracion</a></li>
	</ul>
</div>





|











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id='applications_menu'>
	<ul>
		<li><a href="<s:url action="inicializarReserva" namespace="/reserva"/>">
			Reservas
			</a>
		</li>
		<li><a href="<s:url action="inicializarCliente" namespace="/cliente"/>">
			Clientes
			</a>
		</li>
		<li><a>Paquetes</a></li>
		<li><a>Pagos</a></li>
		<li><a>Configuracion</a></li>
	</ul>
</div>

Changes to WebContent/css/estilos.css.

490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
    height: 100%;
    width: 100%;
}
#main_form_body {
    height: 100%;
}
#secondary {
    background: none repeat scroll 0 0 #5a5858;
    border-bottom: 1px solid #5a5858;
    border-right: 1px solid #3c3c3c;
    padding: 0;
    vertical-align: top;
    width: 1px;
}
div.customize {







|







490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
    height: 100%;
    width: 100%;
}
#main_form_body {
    height: 100%;
}
#secondary {
    /*background: none repeat scroll 0 0 #5a5858;*/
    border-bottom: 1px solid #5a5858;
    border-right: 1px solid #3c3c3c;
    padding: 0;
    vertical-align: top;
    width: 1px;
}
div.customize {

Changes to src/struts-admin.xml.

17
18
19
20
21
22
23
24
25
26
27
28
29
30
			<result name="login">/WEB-INF/admin/login.jsp</result>
			<result name="input">/WEB-INF/admin/login.jsp</result>
		</action>

		<action name="logoutUsuario" class="action.UsuarioAction"
			method="logout">
			<result name="login" type="redirectAction">
				<param name="actionName">inicio</param>				
				<param name="namespace">/</param>
			</result>
		</action>

	</package>
</struts>







|
|





17
18
19
20
21
22
23
24
25
26
27
28
29
30
			<result name="login">/WEB-INF/admin/login.jsp</result>
			<result name="input">/WEB-INF/admin/login.jsp</result>
		</action>

		<action name="logoutUsuario" class="action.UsuarioAction"
			method="logout">
			<result name="login" type="redirectAction">
				<param name="actionName">inicializarAdmin</param>				
				<param name="namespace">/admin</param>
			</result>
		</action>

	</package>
</struts>