chartManD commited on
Commit
583c04d
·
1 Parent(s): b19b033

Creacion del index.php

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. Dockerfile +12 -0
  3. app/inc/footer.php +6 -0
  4. app/inc/header.php +13 -0
  5. app/index.php +10 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ prueba-view.html
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM debian:12.6
2
+ EXPOSE 7860
3
+ RUN apt update -y
4
+ RUN apt upgrade -y
5
+ RUN apt install -y php
6
+ #php8.2-mysql
7
+ #RUN apt search pdo | grep php;
8
+ RUN rm -rf /var/lib/apt/lists/*
9
+ #RUN php -i
10
+ COPY /app /app
11
+ WORKDIR /app
12
+ CMD ["bash","-c","php -S 0.0.0.0:7860"]
app/inc/footer.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
2
+ integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
3
+ crossorigin="anonymous"></script>
4
+ </body>
5
+
6
+ </html>
app/inc/header.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="es">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Redes para todos</title>
8
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
9
+ integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
10
+ <meta name="viewport" content="width=device-width, initial-scale=1">
11
+ </head>
12
+
13
+ <body class="bg-gradient" style="background-color: rgb(215, 250, 237);">
app/index.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php include_once "./inc/header.php" ?>
2
+
3
+ <html>
4
+ <h1 class="text-center mt-4
5
+ ">Internet Para Todos 🛜📡</h1>
6
+ <p class="text-center">Hola alumno del ITSZ de la extension de Zongolica 👋</p>
7
+
8
+ </html>
9
+
10
+ <?php include_once "./inc/footer.php" ?>