diff options
Diffstat (limited to 'django/core')
-rw-r--r-- | django/core/__init__.py | 0 | ||||
-rw-r--r-- | django/core/admin.py | 3 | ||||
-rw-r--r-- | django/core/apps.py | 5 | ||||
-rw-r--r-- | django/core/models.py | 3 | ||||
-rw-r--r-- | django/core/templates/core/base.djhtml | 52 | ||||
-rw-r--r-- | django/core/tests.py | 3 | ||||
-rw-r--r-- | django/core/views.py | 3 |
7 files changed, 69 insertions, 0 deletions
diff --git a/django/core/__init__.py b/django/core/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/django/core/__init__.py diff --git a/django/core/admin.py b/django/core/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/django/core/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/django/core/apps.py b/django/core/apps.py new file mode 100644 index 0000000..26f78a8 --- /dev/null +++ b/django/core/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class CoreConfig(AppConfig): + name = 'core' diff --git a/django/core/models.py b/django/core/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/django/core/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/django/core/templates/core/base.djhtml b/django/core/templates/core/base.djhtml new file mode 100644 index 0000000..ffddace --- /dev/null +++ b/django/core/templates/core/base.djhtml @@ -0,0 +1,52 @@ +<!Doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <title>Sitio personal de Jesús</title> + <meta content="index,follow" name="robots"/> + <meta name="owner" content="Jesús E."> + <meta name="author" content="Jesus E."> + {% load static %} + <link rel="icon" href="{% static 'core/images/favicon.png' %}" sizes="192x192" /> + <link rel="stylesheet" type="text/css" + href="{% static 'core/lib/normalize-css/normalize.css' %}" + integrity="sha512-Ol+aW3PNQAjGdD0KCyelmB8whw85m+OUP6XSSFSfCC9CobIfc3/PpYI5y8G1KINs61i24t+qPh6ecNOkKIwj1g=="/> + <link rel="stylesheet" type="text/css" + href="{% static 'core/css/estilos.min.css' %}" + integrity="sha512-F6X8y3VnnT7bzn002FiANw9eGVVDdKHpkNc6TVytQmOgV0j7M7/VUXUcAL5LaEBIuTuKGtR86qCS4VLA6oJW4g=="/> + </head> + <body> + <!-- Header and Menu --> + <header> + <div class="contenedor"> + <nav class="menu"> + <a href="#about-us" id="btn-acerca-de">Acerca de</a> + <a href="#trabajos" id="btn-trabajos">Proyectos</a> + <a href="#contacto" id="btn-contacto">Contacto</a> + </nav> + <div class="contenedor-texto"> + <div class="texto"> + <h1 class="nombre">Jesús</h1> + <h2 class="profesion">Desarrollador</h2> + </div> + </div> + </div> + </header> + + <!-- content --> + <main> + {% block content %}{% endblock %} + </main> + + {% block footer %} + + {% block contacto %}{% endblock %} + + {% endblock %} + <script src="{% static 'core/js/efectos.js' %}" + integrity="sha512-9GdKmuOrtKz7ckc46lSnzz8SVUCYJEL29vCbv1Kb63Fo5yVDLEzsmoiODINkWU9rxQTgSZiawwU0oE8+mknLLw=="></script> + <script src="{% static 'core/js/formulario.js' %}" + integrity="sha512-uiBX+5GOQELMNOY3xYelryeQwSn2G3eKqRFZEzisp+CZUp8r82jFPNgcdrBG/ZI/Wt4Lx7ojx2U4jAWXk5jqIw=="></script> + </body> +</html> diff --git a/django/core/tests.py b/django/core/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/django/core/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/django/core/views.py b/django/core/views.py new file mode 100644 index 0000000..ad8747b --- /dev/null +++ b/django/core/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render, HttpResponse + +# Create your views here. |