From dc6df5d710092152ab596fa508f61171e3cddcad Mon Sep 17 00:00:00 2001 From: Jeffrey van Rossum Date: Fri, 1 Nov 2024 15:56:19 +0100 Subject: [PATCH] move editor parts to separate templates --- resources/views/editor.php | 94 +----------------------------- resources/views/editor/actions.php | 38 ++++++++++++ resources/views/editor/sidebar.php | 55 +++++++++++++++++ 3 files changed, 95 insertions(+), 92 deletions(-) create mode 100644 resources/views/editor/actions.php create mode 100644 resources/views/editor/sidebar.php diff --git a/resources/views/editor.php b/resources/views/editor.php index b3a6bad..25ef4b2 100644 --- a/resources/views/editor.php +++ b/resources/views/editor.php @@ -15,44 +15,8 @@ class="paver__container"
Editor
-
-
- - - - -
-
- - -
- -
- - -
- - -
+ viewPath().'editor/actions.php'); ?>
@@ -63,61 +27,7 @@ class="paver__editor"
-
-
-
-
-
-
-
- -
-
- Whoops, we don't have any blocks (yet)! -
-
- blocks() as $block) : ?> -
- - -
- -
-
- -
-
-
- -
-
+ viewPath().'editor/sidebar.php'); ?> diff --git a/resources/views/editor/actions.php b/resources/views/editor/actions.php new file mode 100644 index 0000000..13eeede --- /dev/null +++ b/resources/views/editor/actions.php @@ -0,0 +1,38 @@ +
+
+ + + + +
+ +
+ + +
+ +
+ + +
+ + +
diff --git a/resources/views/editor/sidebar.php b/resources/views/editor/sidebar.php new file mode 100644 index 0000000..68d2c93 --- /dev/null +++ b/resources/views/editor/sidebar.php @@ -0,0 +1,55 @@ +
+
+
+
+
+
+
+ +
+
+ Whoops, we don't have any blocks (yet)! +
+
+ blocks() as $block) : ?> +
+ + +
+ +
+
+ +
+
+
+ +
+