From fef54ce89f81700c5476b88464e3b6bf2c02b7aa Mon Sep 17 00:00:00 2001 From: Adora Date: Sat, 27 Jul 2024 10:55:40 -0600 Subject: [PATCH] Fix #30 Convert svgs to templates --- static/img/logout.svg | 7 ------- static/img/square-rounded-plus.svg | 5 ----- templates/common/icons/logout.html | 6 ++++++ .../common/icons/square-rounded-plus.html | 4 ++++ .../common/icons/user-square-rounded.html | 2 +- templates/header.html | 18 +++++++++--------- 6 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 static/img/logout.svg delete mode 100644 static/img/square-rounded-plus.svg create mode 100644 templates/common/icons/logout.html create mode 100644 templates/common/icons/square-rounded-plus.html rename static/img/user-square-rounded.svg => templates/common/icons/user-square-rounded.html (91%) diff --git a/static/img/logout.svg b/static/img/logout.svg deleted file mode 100644 index f1c736f..0000000 --- a/static/img/logout.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/static/img/square-rounded-plus.svg b/static/img/square-rounded-plus.svg deleted file mode 100644 index 8f49bc4..0000000 --- a/static/img/square-rounded-plus.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/common/icons/logout.html b/templates/common/icons/logout.html new file mode 100644 index 0000000..31ae046 --- /dev/null +++ b/templates/common/icons/logout.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/common/icons/square-rounded-plus.html b/templates/common/icons/square-rounded-plus.html new file mode 100644 index 0000000..bde87f9 --- /dev/null +++ b/templates/common/icons/square-rounded-plus.html @@ -0,0 +1,4 @@ + + + + diff --git a/static/img/user-square-rounded.svg b/templates/common/icons/user-square-rounded.html similarity index 91% rename from static/img/user-square-rounded.svg rename to templates/common/icons/user-square-rounded.html index ecbbbfa..1b73dd4 100644 --- a/static/img/user-square-rounded.svg +++ b/templates/common/icons/user-square-rounded.html @@ -1,4 +1,4 @@ - diff --git a/templates/header.html b/templates/header.html index 09fa892..26b6da8 100644 --- a/templates/header.html +++ b/templates/header.html @@ -22,25 +22,25 @@
  • Ver perfil - - - + + {% include "common/icons/user-square-rounded.html" %} +
  • Cerrar sesion - - - + + {% include "common/icons/logout.html" %} +
  • - - - + + {% include "common/icons/square-rounded-plus.html" %} +