diff --git a/dummy_django_blog/media/avatars/dummy_image.jpg b/dummy_django_blog/media/avatars/dummy_image.jpg new file mode 100644 index 0000000..e08b403 Binary files /dev/null and b/dummy_django_blog/media/avatars/dummy_image.jpg differ diff --git a/dummy_django_blog/media/avatars/dummy_image_ZjtLOGe.jpg b/dummy_django_blog/media/avatars/dummy_image_ZjtLOGe.jpg new file mode 100644 index 0000000..e08b403 Binary files /dev/null and b/dummy_django_blog/media/avatars/dummy_image_ZjtLOGe.jpg differ diff --git a/dummy_django_blog/media/billet_1.jpg b/dummy_django_blog/media/billet_1.jpg new file mode 100644 index 0000000..cd026bc Binary files /dev/null and b/dummy_django_blog/media/billet_1.jpg differ diff --git a/dummy_django_blog/media/dummy_image.jpg b/dummy_django_blog/media/dummy_image.jpg new file mode 100644 index 0000000..87ff365 Binary files /dev/null and b/dummy_django_blog/media/dummy_image.jpg differ diff --git a/dummy_django_blog/media/photo_1.jpg b/dummy_django_blog/media/photo_1.jpg new file mode 100644 index 0000000..2ef0510 Binary files /dev/null and b/dummy_django_blog/media/photo_1.jpg differ diff --git a/dummy_django_blog/media/photo_10.jpg b/dummy_django_blog/media/photo_10.jpg new file mode 100644 index 0000000..f478ea3 Binary files /dev/null and b/dummy_django_blog/media/photo_10.jpg differ diff --git a/dummy_django_blog/media/photo_11.jpg b/dummy_django_blog/media/photo_11.jpg new file mode 100644 index 0000000..1d9563b Binary files /dev/null and b/dummy_django_blog/media/photo_11.jpg differ diff --git a/dummy_django_blog/media/photo_2.jpg b/dummy_django_blog/media/photo_2.jpg new file mode 100644 index 0000000..1e8e24e Binary files /dev/null and b/dummy_django_blog/media/photo_2.jpg differ diff --git a/dummy_django_blog/media/photo_3.jpg b/dummy_django_blog/media/photo_3.jpg new file mode 100644 index 0000000..91369f1 Binary files /dev/null and b/dummy_django_blog/media/photo_3.jpg differ diff --git a/dummy_django_blog/media/photo_4.jpg b/dummy_django_blog/media/photo_4.jpg new file mode 100644 index 0000000..99d9bb2 Binary files /dev/null and b/dummy_django_blog/media/photo_4.jpg differ diff --git a/dummy_django_blog/media/photo_5.jpg b/dummy_django_blog/media/photo_5.jpg new file mode 100644 index 0000000..6de0b92 Binary files /dev/null and b/dummy_django_blog/media/photo_5.jpg differ diff --git a/dummy_django_blog/media/photo_6.jpg b/dummy_django_blog/media/photo_6.jpg new file mode 100644 index 0000000..e962d05 Binary files /dev/null and b/dummy_django_blog/media/photo_6.jpg differ diff --git a/dummy_django_blog/media/photo_7.jpg b/dummy_django_blog/media/photo_7.jpg new file mode 100644 index 0000000..7310844 Binary files /dev/null and b/dummy_django_blog/media/photo_7.jpg differ diff --git a/dummy_django_blog/media/photo_8.jpg b/dummy_django_blog/media/photo_8.jpg new file mode 100644 index 0000000..f4dd815 Binary files /dev/null and b/dummy_django_blog/media/photo_8.jpg differ diff --git a/dummy_django_blog/media/photo_9.jpg b/dummy_django_blog/media/photo_9.jpg new file mode 100644 index 0000000..1ee7deb Binary files /dev/null and b/dummy_django_blog/media/photo_9.jpg differ diff --git a/dummy_django_blog/static/assets/css/styles.css b/dummy_django_blog/static/assets/css/styles.css index b786c3b..9508b75 100644 --- a/dummy_django_blog/static/assets/css/styles.css +++ b/dummy_django_blog/static/assets/css/styles.css @@ -33,6 +33,41 @@ font-style: normal; } +/* Django message */ +.django-messages li { + list-style: none; +} + +.django-messages .success { + color: green; + background-color: #d4edda; + padding: 10px; + border-radius: 5px; +} + +.django-messages .error { + color: red; + background-color: #f8d7da; + padding: 10px; + border-radius: 5px; +} + +.django-messages .warning { + color: orange; + background-color: #fff3cd; + padding: 10px; + border-radius: 5px; +} + +.django-messages .info { + color: blue; + background-color: #d1ecf1; + padding: 10px; + border-radius: 5px; +} + +/* End Django messages */ + body { height: 100vh; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 20%, rgba(0, 0, 0, 0) 100%), url("../../vendors/img/les_petits_meurtres_saison_2_sans_titre.jpg"); diff --git a/dummy_django_blog/templates/base.html b/dummy_django_blog/templates/base.html index 0f442b5..366ccc9 100644 --- a/dummy_django_blog/templates/base.html +++ b/dummy_django_blog/templates/base.html @@ -17,6 +17,17 @@ +
+ {% if messages %} + + {% endif %} +