You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							167 lines
						
					
					
						
							5.9 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							167 lines
						
					
					
						
							5.9 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html xmlns="http://www.w3.org/1999/xhtml"
							 | 
						|
								      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
							 | 
						|
								      xmlns:h="http://xmlns.jcp.org/jsf/html"
							 | 
						|
								      xmlns:p="http://primefaces.org/ui">
							 | 
						|
								
							 | 
						|
								    <h:head>
							 | 
						|
								        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
							 | 
						|
								        <h:outputStylesheet name="./css/default.css"/>
							 | 
						|
								        <h:outputStylesheet name="./css/cssLayout.css"/>
							 | 
						|
								        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"/>
							 | 
						|
								
							 | 
						|
								        <title>Facelets Template</title>
							 | 
						|
								        <style>
							 | 
						|
								            #top {
							 | 
						|
								                height: 65px;
							 | 
						|
								                background-color: #353535; /* Color de fondo para el top */
							 | 
						|
								               
							 | 
						|
								                text-align: center;
							 | 
						|
								                color: #B0B0B0; /* Texto blanco */
							 | 
						|
								            }
							 | 
						|
								
							 | 
						|
								            body {
							 | 
						|
								                margin: 0;
							 | 
						|
								                padding: 0;
							 | 
						|
								                font-family: Arial, sans-serif;
							 | 
						|
								                background-color: #ffffff; /* Fondo blanco */
							 | 
						|
								                color: #000000; /* Texto negro */
							 | 
						|
								                 font-size: 16px; /* Tamaño de fuente deseado */
							 | 
						|
								            }
							 | 
						|
								
							 | 
						|
								            
							 | 
						|
								            #top-container {
							 | 
						|
								                align-content:center;
							 | 
						|
								                justify-content: center;
							 | 
						|
								                align-items: center; /* Esta propiedad centra el contenido verticalmente */
							 | 
						|
								            }
							 | 
						|
								           #main-container {
							 | 
						|
								    display: flex;
							 | 
						|
								      font-size: 60px; /* Tamaño de fuente deseado */
							 | 
						|
								    flex: 1;  /* Ocupa todo el espacio restante después del top */
							 | 
						|
								   /* Utiliza todo el ancho disponible */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								#left {
							 | 
						|
								    background-color: #F4F4F4;
							 | 
						|
								    width: 270px;  /* Ancho fijo para el menú lateral */
							 | 
						|
								    flex-shrink: 0; /* No permitir que el menú lateral se encoja */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								#content {
							 | 
						|
								     width: 100%; 
							 | 
						|
								    flex-grow: 1;  /* Permite que el contenido crezca para ocupar el espacio disponible */
							 | 
						|
								    overflow-y: auto;  /* Permite desplazamiento si el contenido es más grande que el contenedor */
							 | 
						|
								    padding: 20px; /* Espacio interno */
							 | 
						|
								      font-size: 60px; /* Tamaño de fuente deseado */
							 | 
						|
								}
							 | 
						|
								            .card {
							 | 
						|
								                width: 100%;
							 | 
						|
								                background-color: #F9F9F9; /* Color de fondo para el contenido */
							 | 
						|
								                padding: 20px; /* Espaciado interno */
							 | 
						|
								                border-radius: 10px;
							 | 
						|
								                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Sombra */
							 | 
						|
								            }
							 | 
						|
								            .left_content {
							 | 
						|
								                padding: 20px; /* Espaciado interno */
							 | 
						|
								                color: #000000; /* Texto negro */
							 | 
						|
								            }
							 | 
						|
								            
							 | 
						|
								            .custom-carousel .p-carousel-content {
							 | 
						|
								    display: flex;
							 | 
						|
								    flex-wrap: nowrap; /* Evita que las tarjetas se envuelvan cuando el espacio es insuficiente */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.custom-carousel .p-carousel-content .p-col {
							 | 
						|
								    flex: 0 0 33%; /* Define el ancho de cada tarjeta como un tercio del contenedor */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.custom-card {
							 | 
						|
								    background-color: #ffffff; /* Color de fondo de las tarjetas */
							 | 
						|
								    border-radius: 10px; /* Borde redondeado de las tarjetas */
							 | 
						|
								    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra de las tarjetas */
							 | 
						|
								    margin: 10px; /* Margen entre las tarjetas */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.card-content {
							 | 
						|
								    padding: 20px; /* Espaciado interno de las tarjetas */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.card-image {
							 | 
						|
								    align-content: center;
							 | 
						|
								    max-width: 100%; /* Ajustar el tamaño máximo de la imagen al ancho de la tarjeta */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.card-text {
							 | 
						|
								    
							 | 
						|
								    align-content: center;
							 | 
						|
								    margin-top: 10px; /* Margen superior para el texto dentro de las tarjetas */
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								.card-action {
							 | 
						|
								    
							 | 
						|
								    align-content: center;
							 | 
						|
								    text-align: center; /* Centrar los botones de acción */
							 | 
						|
								}
							 | 
						|
								            
							 | 
						|
								        </style>
							 | 
						|
								    </h:head>
							 | 
						|
								
							 | 
						|
								    <h:body>
							 | 
						|
								
							 | 
						|
								        <div id="top" class="top">
							 | 
						|
								            <div class="top-container">
							 | 
						|
								                <nav  class="navbar navbar-inverse">
							 | 
						|
								
							 | 
						|
								                    <div class="navbar-header">
							 | 
						|
								                        <a class="navbar-brand" href="#">INVENTARIO</a>
							 | 
						|
								                    </div>
							 | 
						|
								                    <ul class="nav navbar-nav navbar-right">
							 | 
						|
								                      <li>
							 | 
						|
								    <h:form>
							 | 
						|
								        <h:commandLink value="Cerrar Sesión" action="#{login.logout}" styleClass="logout-link" style="text-decoration: none;">
							 | 
						|
								            <span class="glyphicon glyphicon-log-in"></span>
							 | 
						|
								        </h:commandLink>
							 | 
						|
								    </h:form>
							 | 
						|
								</li>
							 | 
						|
								                        <li><a href="#"> </a></li>
							 | 
						|
								                    </ul>
							 | 
						|
								
							 | 
						|
								                </nav>
							 | 
						|
								            </div>
							 | 
						|
								
							 | 
						|
								        </div>
							 | 
						|
								        <div id="main-container">
							 | 
						|
								            <div id="left">
							 | 
						|
								                <div class="card">
							 | 
						|
								                    <h:form>
							 | 
						|
								                        <p:growl>
							 | 
						|
								                            <p:autoUpdate/>
							 | 
						|
								                        </p:growl>
							 | 
						|
								
							 | 
						|
								                        <p:panelMenu style="width:100%">
							 | 
						|
								                            <p:submenu label="Inicio">
							 | 
						|
								                                <p:menuitem value=" 🏚 Principal" action="inicio.xhtml" ajax="false"/>
							 | 
						|
								                            </p:submenu>
							 | 
						|
								                            <p:submenu label="Administración"  >
							 | 
						|
								                                <p:menuitem value=" 👥 Usuarios" action="usuarios.xhtml" ajax="false"/>
							 | 
						|
								                                <p:menuitem value=" 📑 Roles" action="rol.xhtml" ajax="false"/>
							 | 
						|
								                            </p:submenu>
							 | 
						|
								                            <p:submenu label="Productos">
							 | 
						|
								                                <p:menuitem value=" 📤 Producto" action="tablasPrueba.xhtml" ajax="false" />
							 | 
						|
								                                <p:menuitem value=" 🚚 Proveedores" action="proveedores.xhtml" ajax="false"/>
							 | 
						|
								                                <p:menuitem value=" 🔖 Marca" action="marca.xhtml" ajax="false" />
							 | 
						|
								                                <p:menuitem value=" 📍 Ubicación" action="ubiTablaPrueba.xhtml" ajax="false" />
							 | 
						|
								                            </p:submenu>
							 | 
						|
								                        
							 | 
						|
								                        </p:panelMenu>
							 | 
						|
								                    </h:form>
							 | 
						|
								                </div> 
							 | 
						|
								            </div>
							 | 
						|
								            <div id="content" >
							 | 
						|
								                <ui:insert name="content">Content</ui:insert>
							 | 
						|
								            </div>
							 | 
						|
								        </div>
							 | 
						|
								    </h:body>
							 | 
						|
								        
							 | 
						|
								</html>
							 |