From d9e6e664f2f1f14a182381d643a22b3d5543aa52 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Sun, 31 Dec 2023 20:56:07 +0100 Subject: [PATCH] Splitting templates to different files. --- templates/conquer/_create-node-slide.html.ep | 4 ++ ..._interface-element-padded-template.html.ep | 2 + .../_interface-with-top-bar-template.html.ep | 5 ++ templates/conquer/_login-template.html.ep | 12 ++++ .../_new-node-form-creation-template.html.ep | 19 ++++++ .../_overlay-transparent-template.html.ep | 2 + templates/conquer/_register-template.html.ep | 13 ++++ templates/conquer/index.html.ep | 64 ++----------------- 8 files changed, 64 insertions(+), 57 deletions(-) create mode 100644 templates/conquer/_create-node-slide.html.ep create mode 100644 templates/conquer/_interface-element-padded-template.html.ep create mode 100644 templates/conquer/_interface-with-top-bar-template.html.ep create mode 100644 templates/conquer/_login-template.html.ep create mode 100644 templates/conquer/_new-node-form-creation-template.html.ep create mode 100644 templates/conquer/_overlay-transparent-template.html.ep create mode 100644 templates/conquer/_register-template.html.ep diff --git a/templates/conquer/_create-node-slide.html.ep b/templates/conquer/_create-node-slide.html.ep new file mode 100644 index 0000000..d984ba4 --- /dev/null +++ b/templates/conquer/_create-node-slide.html.ep @@ -0,0 +1,4 @@ +
+ + +
diff --git a/templates/conquer/_interface-element-padded-template.html.ep b/templates/conquer/_interface-element-padded-template.html.ep new file mode 100644 index 0000000..eb726ce --- /dev/null +++ b/templates/conquer/_interface-element-padded-template.html.ep @@ -0,0 +1,2 @@ +
+
diff --git a/templates/conquer/_interface-with-top-bar-template.html.ep b/templates/conquer/_interface-with-top-bar-template.html.ep new file mode 100644 index 0000000..0eb095a --- /dev/null +++ b/templates/conquer/_interface-with-top-bar-template.html.ep @@ -0,0 +1,5 @@ +
+
+ X +
+
diff --git a/templates/conquer/_login-template.html.ep b/templates/conquer/_login-template.html.ep new file mode 100644 index 0000000..c7b33ff --- /dev/null +++ b/templates/conquer/_login-template.html.ep @@ -0,0 +1,12 @@ +
+
+ + + + + + + +

¿No tienes cuenta aun?

+
+
diff --git a/templates/conquer/_new-node-form-creation-template.html.ep b/templates/conquer/_new-node-form-creation-template.html.ep new file mode 100644 index 0000000..119f42a --- /dev/null +++ b/templates/conquer/_new-node-form-creation-template.html.ep @@ -0,0 +1,19 @@ +
+
+

+ +
+ +
+ +
+ +
+
+
diff --git a/templates/conquer/_overlay-transparent-template.html.ep b/templates/conquer/_overlay-transparent-template.html.ep new file mode 100644 index 0000000..45da530 --- /dev/null +++ b/templates/conquer/_overlay-transparent-template.html.ep @@ -0,0 +1,2 @@ +
+
diff --git a/templates/conquer/_register-template.html.ep b/templates/conquer/_register-template.html.ep new file mode 100644 index 0000000..b84f8c1 --- /dev/null +++ b/templates/conquer/_register-template.html.ep @@ -0,0 +1,13 @@ +
+
+

+ + + + + + + +

¿Ya estás registrado? .

+
+
diff --git a/templates/conquer/index.html.ep b/templates/conquer/index.html.ep index a63548c..3157efb 100644 --- a/templates/conquer/index.html.ep +++ b/templates/conquer/index.html.ep @@ -8,63 +8,13 @@ -
-
-
-
-

- -
- -
- -
- -
-
-
-
- - -
-
-
-
-
- X -
-
-
-
- - - - - - - -

¿No tienes cuenta aun?

-
-
-
-
-

- - - - - - - -

¿Ya estás registrado? .

-
-
+%= include 'conquer/_overlay-transparent-template'; +%= include 'conquer/_new-node-form-creation-template'; +%= include 'conquer/_create-node-slide'; +%= include 'conquer/_interface-element-padded-template'; +%= include 'conquer/_interface-with-top-bar-template'; +%= include 'conquer/_login-template'; +%= include 'conquer/_register-template';