Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Nov 16, 2018
2 parents 4d21cad + aa1f443 commit f42a448
Show file tree
Hide file tree
Showing 33 changed files with 15,830 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Impedir que se pueda ver el listado de contenidos de un directorio

Options All -Indexes

# Url Amigables

RewriteEngine On

RewriteRule ^([-a-zA-Z0-9/]+)$ index.php?ruta=$1
16 changes: 16 additions & 0 deletions frontend/controladores/plantilla.controlador.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
class ControladorPlantilla{

static public function plantilla(){
include "vistas/plantilla.php";
}

static public function ctrEstiloPlantilla(){
$tabla = "nombreTabla";
/*
$resultado = ModeloPlantilla:mdlEstiloPlantilla($tabla);
return = $resultado;
*/
}
}
?>
22 changes: 22 additions & 0 deletions frontend/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
/*=============================================
= INCLUDE CONTROLADORES =
=============================================*/
require_once "controladores/plantilla.controlador.php";


/*===== End of INCLUDE CONTROLADORES ======*/

/*=======================================
= INCLUDE MODELOS =
=======================================*/

require_once "modelos/rutas.php";

/*===== End of INCLUDE MODELOS ======*/



$plantilla = new ControladorPLantilla();
$plantilla-> plantilla();
?>
14 changes: 14 additions & 0 deletions frontend/modelos/rutas.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

class Ruta
{
public function ctrRuta()
{
return "http://localhost/museo/";
}

public function ctrRutaServidor()
{
return "http://localhostmuseo/";
}
}
Binary file added frontend/vistas/css/assets/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 87 additions & 0 deletions frontend/vistas/css/cabezote.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
.barra-menu{left:0; right: 0; width: 100%; padding-top:10px; position: fixed; text-align: center; z-index:100; background-color: #007bff; }
.row-menu1{display: inline-block; width: 25%; color:#fff; }
.row-menu1 p { color:#fff; }
.row-menu1 a:hover{
text-decoration: none;
}
.txt-menu{color: #fff; cursor: pointer; display: inline-block; margin-top:5px;}
.row-menu2{display: inline-block; vertical-align: middle; width: 40%; }
.row-menu2 input{ height: 100%; width: 100%; border: none; font-size: 12px; border-radius: 2px; padding: 8px;}
.row-menu3{display: inline-block; width: 25%; text-align: right;}
.row-menu3 p{display: inline-block; }
.row-menu4{display: inline-block; vertical-align: middle;}
.icon-menu{color:#fff; font-size: 30px; cursor:pointer;}


/*====================================
= CSS OF SLIDE =
====================================*/

.carousel-cell {
width: 100%; /* full width */
height: 550px; /* height of carousel */
}
.carousel1{ background: url(../img/slide1.jpg) no-repeat center center fixed; -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover; }
.carousel2{background: url(../img/slide5.jpg) no-repeat center center fixed; -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover; }
.carousel3{background: url(../img/slide4.jpg) no-repeat center center fixed; -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover; }


/*===== End of CSS OF SLIDE ======*/

/*===============================
= MODAL LOGIN =
===============================*/

.loginModal{z-index: 1500;}
.lin-register{display: block; color: rgb(0, 123, 255);}

/*===== End of MODAL LOGIN ======*/

/*==================================
= MENU SLIDE =
==================================*/

.menu-slide-txt{
display: none;
color:#fff;
padding-left: 20px;
padding-top: 10px;
padding-bottom: 10px;
cursor: pointer;
}

.menu-slide-txt:hover{
text-decoration: underline;
}
/*===== End of MENU SLIDE ======*/


@media only screen and (max-width: 690px){

.row-menu3{
display: none;
}
.menu-slide-txt{display: block;}
}

@media only screen and (max-width: 590px){
.txt-menu{
display: none;
}
.row-menu1{width: 10px;}
.row-menu2{width: 70%;}
.barra-menu{padding-bottom: 8px;}
.icon-menu{margin-top: 5px;}
}



Binary file added frontend/vistas/css/fonts/icomoon.eot
Binary file not shown.
501 changes: 501 additions & 0 deletions frontend/vistas/css/fonts/icomoon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/vistas/css/fonts/icomoon.ttf
Binary file not shown.
Binary file added frontend/vistas/css/fonts/icomoon.woff
Binary file not shown.
Loading

0 comments on commit f42a448

Please sign in to comment.