From 4eef26e015edb1f0a9f0264390038b1264ccdebe Mon Sep 17 00:00:00 2001 From: shahryar tavakkoli Date: Sat, 22 Apr 2023 12:30:12 +0330 Subject: [PATCH] add layout directory to separate components, based on #74 --- deployment/templates/test1.html | 157 ++++++++++-------- .../components/{blocks => Layout}/aside.ex | 4 +- .../components/{blocks => Layout}/content.ex | 2 +- .../{blocks => Layout}/element_menu.ex | 6 +- .../components/{blocks => Layout}/history.ex | 2 +- .../components/{blocks => Layout}/settings.ex | 2 +- .../components/blocks/icon.ex | 47 ++++++ .../components/elements/tab.ex | 7 +- .../components/elements/table.ex | 2 +- .../components/elements/text.ex | 4 +- .../components/mishka_core_component.ex | 45 +---- lib/mishka_template_creator/data/elements.ex | 4 +- 12 files changed, 153 insertions(+), 129 deletions(-) rename lib/mishka_template_creator/components/{blocks => Layout}/aside.ex (97%) rename lib/mishka_template_creator/components/{blocks => Layout}/content.ex (96%) rename lib/mishka_template_creator/components/{blocks => Layout}/element_menu.ex (92%) rename lib/mishka_template_creator/components/{blocks => Layout}/history.ex (91%) rename lib/mishka_template_creator/components/{blocks => Layout}/settings.ex (99%) create mode 100644 lib/mishka_template_creator/components/blocks/icon.ex diff --git a/deployment/templates/test1.html b/deployment/templates/test1.html index e006b21..3aa9b81 100644 --- a/deployment/templates/test1.html +++ b/deployment/templates/test1.html @@ -1,7 +1,7 @@ -
+
-
Back To/History
+
Back To/History
Main Section
-
+