From 1856a78d10a0e08ceb31a8dccda499a7e2779f3a Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Tue, 31 May 2022 16:41:36 +0200 Subject: [PATCH] admin: Improve title and toasts rendering --- admin/static/js/app.js | 2 +- admin/static/views/exercice.html | 20 ++++++++++++-------- admin/static/views/sync.html | 2 +- admin/static/views/theme.html | 12 ++++++++---- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/admin/static/js/app.js b/admin/static/js/app.js index a4c02fc5..4e0737d1 100644 --- a/admin/static/js/app.js +++ b/admin/static/js/app.js @@ -179,7 +179,7 @@ angular.module("FICApp") -
+
diff --git a/admin/static/views/exercice.html b/admin/static/views/exercice.html index ccf9cd2f..a0977e02 100644 --- a/admin/static/views/exercice.html +++ b/admin/static/views/exercice.html @@ -1,15 +1,19 @@ -

- {{exercice.title}} - {{themes[exercice.id_theme].name}} +
+

+ {{exercice.title}} + {{themes[exercice.id_theme].name}} +

- Vidéo - Flags - - Voir sur la forge -

+
+ Vidéo + Flags + + Voir sur la forge +
+
diff --git a/admin/static/views/sync.html b/admin/static/views/sync.html index a457e6ed..cef9e825 100644 --- a/admin/static/views/sync.html +++ b/admin/static/views/sync.html @@ -75,7 +75,7 @@
diff --git a/admin/static/views/theme.html b/admin/static/views/theme.html index 64477a39..bc03a3cc 100644 --- a/admin/static/views/theme.html +++ b/admin/static/views/theme.html @@ -1,7 +1,11 @@ -

- {{theme.name}} {{theme.authors | stripHTML}} - Voir sur la forge -

+
+

+ {{theme.name}} {{theme.authors | stripHTML}} +

+ +