From ae6a88e5903cf02d645ac07ae8873f54e4a4e66a Mon Sep 17 00:00:00 2001 From: Piotr Jakubiak <2021323@stud.hs-mannheim.de> Date: Fri, 8 Nov 2024 13:58:23 +0100 Subject: [PATCH] refactor: Update frontend works with backend --- .gitignore | 1 + data/maradona/dbfile.mv.db | Bin 40960 -> 45056 bytes .../resources/templates/core/_navigation.html | 42 +++++++++--------- .../{projects-create.html => create.html} | 0 .../projects/{projects.html => overview.html} | 3 ++ .../skills/{skills-add.html => add.html} | 15 ++++++- .../{skills-create.html => create.html} | 0 .../skills/{skills.html => overview.html} | 2 + 8 files changed, 41 insertions(+), 22 deletions(-) rename src/main/resources/templates/pages/projects/{projects-create.html => create.html} (100%) rename src/main/resources/templates/pages/projects/{projects.html => overview.html} (90%) rename src/main/resources/templates/pages/skills/{skills-add.html => add.html} (83%) rename src/main/resources/templates/pages/skills/{skills-create.html => create.html} (100%) rename src/main/resources/templates/pages/skills/{skills.html => overview.html} (97%) diff --git a/.gitignore b/.gitignore index b6d3320..8186e8d 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ build/ ### Database files ### *.db +*.mv.db diff --git a/data/maradona/dbfile.mv.db b/data/maradona/dbfile.mv.db index b1a506f8a12a9b9116e4a7b595d426feaaa6dddc..85f70742081fa52293fcbab117ef8631931a29ef 100644 GIT binary patch literal 45056 zcmeHQOKjXodM4Q_x&8KdJTp5FZ#b=otr?BN_d_SQy4h0Ot;eX_ufYHfl1x}YW5g@T4zP=05oFJSBH2D{fJKnQ9)e6@NVfN|K#~m>NiNwKlI>HF`8A1^u%@RsH7)asDwv|4mQ~eOS;7O(&FNSD z-hTlCq&ge{UO>xK3b*`K_D?(4Y6Uv_sZ3GuBik$6@r-3tZMM4u+U+FimO;T$jMD7P zx#!Y}b`W|dRY)2f01XNa)7y?A*P;e+(bB9@hIs~-C8PSq?xE>fW74v%IcvtWy73IN z?J|4|8~mUh*hj5-{o9H-L7?=mC6eqVI$=FLz%p*cx)J9_yc-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T<-{orJ3wOlK>fd$>F0l90GdUj{~vvebK*A$ z5Bd9l#Q)#f^u_st2>JeB%y$Bb{-5aoiT - - +
+ +
diff --git a/src/main/resources/templates/pages/projects/projects-create.html b/src/main/resources/templates/pages/projects/create.html similarity index 100% rename from src/main/resources/templates/pages/projects/projects-create.html rename to src/main/resources/templates/pages/projects/create.html diff --git a/src/main/resources/templates/pages/projects/projects.html b/src/main/resources/templates/pages/projects/overview.html similarity index 90% rename from src/main/resources/templates/pages/projects/projects.html rename to src/main/resources/templates/pages/projects/overview.html index 67205e4..5600777 100644 --- a/src/main/resources/templates/pages/projects/projects.html +++ b/src/main/resources/templates/pages/projects/overview.html @@ -4,6 +4,9 @@
Projects + + +
diff --git a/src/main/resources/templates/pages/skills/skills-add.html b/src/main/resources/templates/pages/skills/add.html similarity index 83% rename from src/main/resources/templates/pages/skills/skills-add.html rename to src/main/resources/templates/pages/skills/add.html index 7b358d4..cd08989 100644 --- a/src/main/resources/templates/pages/skills/skills-add.html +++ b/src/main/resources/templates/pages/skills/add.html @@ -15,11 +15,12 @@

Add Skill

+
+ +
+ +
+ +
- + diff --git a/src/main/resources/templates/pages/skills/skills-create.html b/src/main/resources/templates/pages/skills/create.html similarity index 100% rename from src/main/resources/templates/pages/skills/skills-create.html rename to src/main/resources/templates/pages/skills/create.html diff --git a/src/main/resources/templates/pages/skills/skills.html b/src/main/resources/templates/pages/skills/overview.html similarity index 97% rename from src/main/resources/templates/pages/skills/skills.html rename to src/main/resources/templates/pages/skills/overview.html index d688b9c..a28128a 100644 --- a/src/main/resources/templates/pages/skills/skills.html +++ b/src/main/resources/templates/pages/skills/overview.html @@ -5,6 +5,8 @@ Skills + +