From 95a640ee52c206baf59a04f299c2df7e4591da00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Klepacki?= Date: Sun, 24 Jan 2021 17:02:40 +0100 Subject: [PATCH] control --- .../control/templates/alertscontrol.html | 18 +++++++ .../control/templates/basecontrol.html | 53 +++++++++++++++++++ .../templates/control/OfferNotification.html | 3 +- .../control/templates/control/UserList.html | 3 +- .../templates/control/UserMessager.html | 3 +- .../templates/control/UserNotification.html | 3 +- .../templates/control/VIPUserList.html | 3 +- .../control/templates/control/pulpit.html | 3 +- 8 files changed, 83 insertions(+), 6 deletions(-) create mode 100644 SocialHelper/control/templates/alertscontrol.html create mode 100644 SocialHelper/control/templates/basecontrol.html diff --git a/SocialHelper/control/templates/alertscontrol.html b/SocialHelper/control/templates/alertscontrol.html new file mode 100644 index 0000000..372fba4 --- /dev/null +++ b/SocialHelper/control/templates/alertscontrol.html @@ -0,0 +1,18 @@ +{% if messages %} +{% for message in messages %} + +
+ +
+{% endfor %} +{% endif %} diff --git a/SocialHelper/control/templates/basecontrol.html b/SocialHelper/control/templates/basecontrol.html new file mode 100644 index 0000000..7246a75 --- /dev/null +++ b/SocialHelper/control/templates/basecontrol.html @@ -0,0 +1,53 @@ +{% load static %} + + + + + + + + + SocialHelper + + + + + + + + + + + + + + + + {% include 'alertscontrol.html' %} + {% block content %} {% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SocialHelper/control/templates/control/OfferNotification.html b/SocialHelper/control/templates/control/OfferNotification.html index ca1aca1..7f4d1a3 100644 --- a/SocialHelper/control/templates/control/OfferNotification.html +++ b/SocialHelper/control/templates/control/OfferNotification.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %} diff --git a/SocialHelper/control/templates/control/UserList.html b/SocialHelper/control/templates/control/UserList.html index 220a907..43dc2ad 100644 --- a/SocialHelper/control/templates/control/UserList.html +++ b/SocialHelper/control/templates/control/UserList.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %} diff --git a/SocialHelper/control/templates/control/UserMessager.html b/SocialHelper/control/templates/control/UserMessager.html index 7bfcb3f..9b6c48b 100644 --- a/SocialHelper/control/templates/control/UserMessager.html +++ b/SocialHelper/control/templates/control/UserMessager.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %} diff --git a/SocialHelper/control/templates/control/UserNotification.html b/SocialHelper/control/templates/control/UserNotification.html index ff11ebe..201cc4c 100644 --- a/SocialHelper/control/templates/control/UserNotification.html +++ b/SocialHelper/control/templates/control/UserNotification.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %} diff --git a/SocialHelper/control/templates/control/VIPUserList.html b/SocialHelper/control/templates/control/VIPUserList.html index d87b5dc..f5d3c88 100644 --- a/SocialHelper/control/templates/control/VIPUserList.html +++ b/SocialHelper/control/templates/control/VIPUserList.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %} diff --git a/SocialHelper/control/templates/control/pulpit.html b/SocialHelper/control/templates/control/pulpit.html index ea6f3b1..84aacfb 100644 --- a/SocialHelper/control/templates/control/pulpit.html +++ b/SocialHelper/control/templates/control/pulpit.html @@ -1,4 +1,5 @@ - +{% extends "basecontrol.html" %} +{% load static %} {% block content %}