From 5b2252d6bd64a8f94543227552ccb92630c37daa Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Tue, 5 Apr 2022 21:21:48 +0200 Subject: [PATCH] include axios and show toasts --- Lab01/app/.idea/app.iml | 1 + Lab01/app/.idea/jsLibraryMappings.xml | 2 +- Lab01/app/templates/_base.tmpl | 49 +++++++++++++++++++++++++-- Lab01/app/templates/login.tmpl | 19 ++++++----- Lab01/app/templates/register.tmpl | 17 ++++++---- 5 files changed, 69 insertions(+), 19 deletions(-) diff --git a/Lab01/app/.idea/app.iml b/Lab01/app/.idea/app.iml index 2be4a98..c3861b8 100644 --- a/Lab01/app/.idea/app.iml +++ b/Lab01/app/.idea/app.iml @@ -6,5 +6,6 @@ + \ No newline at end of file diff --git a/Lab01/app/.idea/jsLibraryMappings.xml b/Lab01/app/.idea/jsLibraryMappings.xml index b843835..f12a793 100644 --- a/Lab01/app/.idea/jsLibraryMappings.xml +++ b/Lab01/app/.idea/jsLibraryMappings.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/Lab01/app/templates/_base.tmpl b/Lab01/app/templates/_base.tmpl index 4fdaf5f..178f715 100644 --- a/Lab01/app/templates/_base.tmpl +++ b/Lab01/app/templates/_base.tmpl @@ -10,6 +10,31 @@ integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> {{end}} +{{define "toasts"}} +
+ +
+
+ +
+{{end}} + {{define "navbar"}}