Create front and doc apps

This commit is contained in:
HugoNeveux 2020-04-21 00:59:33 +02:00
parent 993e9b16a5
commit fb0a217ef4
16 changed files with 39 additions and 3 deletions

0
PDMI/doc/__init__.py Normal file
View File

3
PDMI/doc/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
PDMI/doc/apps.py Normal file
View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class DocConfig(AppConfig):
name = 'doc'

View File

3
PDMI/doc/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
PDMI/doc/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
PDMI/doc/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

0
PDMI/front/__init__.py Normal file
View File

3
PDMI/front/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
PDMI/front/apps.py Normal file
View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class FrontConfig(AppConfig):
name = 'front'

View File

3
PDMI/front/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
PDMI/front/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
PDMI/front/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@ -21,7 +21,7 @@
</li>
<li class="nav-item">
<a class="nav-link" href="#">Gestion des modules</a>
</li>
</<li></li>>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">

View File

@ -51,10 +51,12 @@
<div class="row">
{% for i in '123'|make_list %}
<div class="col-md">
<div class="col-md-4 my-3">
<div class="card">
<div class="card-body">
<div class="card-header">
<h5 class="card-title">Card title</h5>
</div>
<div class="card-body">
<h6 class="card-subtitle mb-2 text-muted">Card subtitle - Description</h6>
<p class="card-text">Donec id elit non mi porta gravida at eget metus. Fusce dapibus,
tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo