From fb0a217ef4e651ccc5ea5c92e16e67801f6ced20 Mon Sep 17 00:00:00 2001 From: HugoNeveux Date: Tue, 21 Apr 2020 00:59:33 +0200 Subject: [PATCH] Create front and doc apps --- PDMI/doc/__init__.py | 0 PDMI/doc/admin.py | 3 +++ PDMI/doc/apps.py | 5 +++++ PDMI/doc/migrations/__init__.py | 0 PDMI/doc/models.py | 3 +++ PDMI/doc/tests.py | 3 +++ PDMI/doc/views.py | 3 +++ PDMI/front/__init__.py | 0 PDMI/front/admin.py | 3 +++ PDMI/front/apps.py | 5 +++++ PDMI/front/migrations/__init__.py | 0 PDMI/front/models.py | 3 +++ PDMI/front/tests.py | 3 +++ PDMI/front/views.py | 3 +++ PDMI/store/templates/base/navbar.html | 2 +- PDMI/store/templates/index.html | 6 ++++-- 16 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 PDMI/doc/__init__.py create mode 100644 PDMI/doc/admin.py create mode 100644 PDMI/doc/apps.py create mode 100644 PDMI/doc/migrations/__init__.py create mode 100644 PDMI/doc/models.py create mode 100644 PDMI/doc/tests.py create mode 100644 PDMI/doc/views.py create mode 100644 PDMI/front/__init__.py create mode 100644 PDMI/front/admin.py create mode 100644 PDMI/front/apps.py create mode 100644 PDMI/front/migrations/__init__.py create mode 100644 PDMI/front/models.py create mode 100644 PDMI/front/tests.py create mode 100644 PDMI/front/views.py diff --git a/PDMI/doc/__init__.py b/PDMI/doc/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/PDMI/doc/admin.py b/PDMI/doc/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/PDMI/doc/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/PDMI/doc/apps.py b/PDMI/doc/apps.py new file mode 100644 index 0000000..1c79f22 --- /dev/null +++ b/PDMI/doc/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class DocConfig(AppConfig): + name = 'doc' diff --git a/PDMI/doc/migrations/__init__.py b/PDMI/doc/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/PDMI/doc/models.py b/PDMI/doc/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/PDMI/doc/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/PDMI/doc/tests.py b/PDMI/doc/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/PDMI/doc/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/PDMI/doc/views.py b/PDMI/doc/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/PDMI/doc/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/PDMI/front/__init__.py b/PDMI/front/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/PDMI/front/admin.py b/PDMI/front/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/PDMI/front/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/PDMI/front/apps.py b/PDMI/front/apps.py new file mode 100644 index 0000000..3616320 --- /dev/null +++ b/PDMI/front/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class FrontConfig(AppConfig): + name = 'front' diff --git a/PDMI/front/migrations/__init__.py b/PDMI/front/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/PDMI/front/models.py b/PDMI/front/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/PDMI/front/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/PDMI/front/tests.py b/PDMI/front/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/PDMI/front/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/PDMI/front/views.py b/PDMI/front/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/PDMI/front/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/PDMI/store/templates/base/navbar.html b/PDMI/store/templates/base/navbar.html index cd7bc31..d9c1d04 100644 --- a/PDMI/store/templates/base/navbar.html +++ b/PDMI/store/templates/base/navbar.html @@ -21,7 +21,7 @@ + >
diff --git a/PDMI/store/templates/index.html b/PDMI/store/templates/index.html index 78b4e50..a455009 100644 --- a/PDMI/store/templates/index.html +++ b/PDMI/store/templates/index.html @@ -51,10 +51,12 @@
{% for i in '123'|make_list %} -
+
-
+
Card title
+
+
Card subtitle - Description

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo