From 4ebc8f93f788b257ae9784727390da5eac8b0c5d Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 12 Aug 2020 20:24:39 +0200 Subject: [PATCH] Fancy messages --- .../lostplaces_app/static/icons/debug.png | Bin 0 -> 16013 bytes .../lostplaces_app/static/icons/error.png | Bin 0 -> 2239 bytes .../static/icons/information.svg | 1 + .../lostplaces_app/static/icons/message.svg | 1 + .../lostplaces_app/static/icons/success.svg | 3 ++ lostplaces/lostplaces_app/static/main.css | 45 ++++++++++++++++++ .../lostplaces_app/templates/global.html | 20 ++++++-- lostplaces/templates/403.html | 3 +- 8 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 lostplaces/lostplaces_app/static/icons/debug.png create mode 100644 lostplaces/lostplaces_app/static/icons/error.png create mode 100644 lostplaces/lostplaces_app/static/icons/information.svg create mode 100644 lostplaces/lostplaces_app/static/icons/message.svg create mode 100644 lostplaces/lostplaces_app/static/icons/success.svg diff --git a/lostplaces/lostplaces_app/static/icons/debug.png b/lostplaces/lostplaces_app/static/icons/debug.png new file mode 100644 index 0000000000000000000000000000000000000000..6d62b8df9110aa47816057144592618a7e0cc3c9 GIT binary patch literal 16013 zcmb7rg0UDMn>xVIJ{Sa|VZQhWgYsXogFyTsq^`Dg#H;n0@D`8T zv0K}lFO4`7uhYtfB+gg5gc)E8ACc8P+7v|kXwhJby3>3C5&7L_t+^p{`Ua}v~K=giEZ63CNcs4Zqu!a%?PaCi! zx)R%Pk~r=X8a1#ZIEH(?()te^X+@&rH$9%Yo6QGa&GjmSBP;)7C(6+$n< z`MvQaJ};Y(Fz^an9->sGDahx-T>H^CQbl1 z?)D)I?xDbVDC%|dpVT`w8gAG#X*@pj#-qg^1q>d}1@V;q+~Nn`m;Pmfw37OTp8IvO z5Pn0ZQ7hWu%{nzM4wtpZJBRT4_Xmu`fBZl_J@6fYD?oWoILx#uB0w-`Fh}Gwmw~x^ zNGmMea_jj6#1|1b*w+-KuL^MdZIF^9=IWB9wG!i~I`sp0h{edl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Y7=3D>}Z+3Jra-R>MdjZ5+9}$fEkUKY*6*0LN0K{1#6@&@ozb38<1<>Cb$q5O4 z9hEAqimgHcK=@VC-l@vE_^K2Dgxx2>J5|{kqe=x3a;FrpRB3MPAF4<+;jRCtHXijnP(sV@npbdTIHWVdJXWhI7mm+Wwq?V5gBY$Li)ej2j5 zZ^A;sL=C-DMhwdCoU*WyV2ykY91VO&@i*z6z}c7yjyZD$a8}7<+kg+^S!sw-m>;a% z8&&QCrUH9I8z{S5)-9ohJun1$zn=PWn0yAU`r{U4|H1E`HU)WgPgU-hH=Oe1*N{!NYpO9&((Vk#qI*NJh#pGC|1K1>7bO_4OYFj>jx8tlAVWr7;cwn~AWBNKq6;Q4~c{6h+C3e*rxFCjQ_^-}nFk N002ovPDHLkV1f#_8^izr literal 0 HcmV?d00001 diff --git a/lostplaces/lostplaces_app/static/icons/information.svg b/lostplaces/lostplaces_app/static/icons/information.svg new file mode 100644 index 0000000..06683f1 --- /dev/null +++ b/lostplaces/lostplaces_app/static/icons/information.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/lostplaces/lostplaces_app/static/icons/message.svg b/lostplaces/lostplaces_app/static/icons/message.svg new file mode 100644 index 0000000..5cacb29 --- /dev/null +++ b/lostplaces/lostplaces_app/static/icons/message.svg @@ -0,0 +1 @@ +Wondicon - UI (Free) \ No newline at end of file diff --git a/lostplaces/lostplaces_app/static/icons/success.svg b/lostplaces/lostplaces_app/static/icons/success.svg new file mode 100644 index 0000000..f784427 --- /dev/null +++ b/lostplaces/lostplaces_app/static/icons/success.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/lostplaces/lostplaces_app/static/main.css b/lostplaces/lostplaces_app/static/main.css index 40aa8ea..777de42 100644 --- a/lostplaces/lostplaces_app/static/main.css +++ b/lostplaces/lostplaces_app/static/main.css @@ -205,6 +205,39 @@ body { font-size: 1em; display: inline; } +.LP-Message { + display: flex; + flex-direction: row; + align-items: center; + background-color: #f9f9f9; + font-family: Montserrat, Helvetica, sans-serif; + border-radius: 3px; + font-weight: bold; } + .LP-Message--error .LP-Message__Icon { + background-color: #02979e; + background-image: url("icons/error.png"); } + .LP-Message--warning .LP-Message__Icon { + background-color: #0047e7; + background-image: url("icons/error.png"); } + .LP-Message--info .LP-Message__Icon { + background-color: #522719; + background-image: url("icons/information.svg"); } + .LP-Message--success .LP-Message__Icon { + background-color: #6937ff; + background-image: url("icons/success.svg"); } + .LP-Message--debug .LP-Message__Icon { + background-color: #046a2f; + background-image: url("icons/debug.png"); } + .LP-Message .LP-Message__Icon { + background-size: 40px 40px; + background-repeat: no-repeat; + background-position: center; + height: 50px; + width: 50px; + filter: invert(1); } + .LP-Message .LP-Message__Text { + padding: 0 15px; } + .LP-Content { padding: 35px; } @@ -349,6 +382,18 @@ body { .LP-Menu .LP-Menu__List { justify-content: space-between; } } +.LP-MessageList { + padding: 25px; } + .LP-MessageList .LP-MessageList__List { + padding: 0; + margin: 0; + list-style-type: none; + display: flex; + flex-direction: column; + justify-content: space-between; } + .LP-MessageList .LP-MessageList__Item { + margin: 5px 0; } + .LP-Header { display: flex; align-items: center; diff --git a/lostplaces/lostplaces_app/templates/global.html b/lostplaces/lostplaces_app/templates/global.html index a75729d..67db689 100644 --- a/lostplaces/lostplaces_app/templates/global.html +++ b/lostplaces/lostplaces_app/templates/global.html @@ -54,11 +54,21 @@
{% if messages %} -
    - {% for message in messages %} -
  • {{ message }}
  • - {% endfor %} -
+
+
    + {% for message in messages %} +
  • +
    +
    +
    +
    + {{ message }} +
    +
    +
  • + {% endfor %} +
+
{% endif %} {% block maincontent %} {% endblock maincontent %} diff --git a/lostplaces/templates/403.html b/lostplaces/templates/403.html index 00df838..7c3b767 100644 --- a/lostplaces/templates/403.html +++ b/lostplaces/templates/403.html @@ -1,12 +1,11 @@ {% extends 'global.html'%} {% block title %}Forbidden{% endblock %} + {% block additional_head %} {% if request.META.HTTP_REFERER %} -

Go Back

{% endif %} - {% endblock additional_head %} {% block maincontent %}