From 3310a9ce74a4869046341ddb677d0b8a37e4f30a Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:11:47 +0200 Subject: [PATCH] Improved interface of domain create/update --- .../admin/domains/createApplication.twig | 137 +++++++++--- .../views/admin/domains/createDomain.twig | 209 +++++++++++++----- .../admin/domains/updateApplication.twig | 3 +- .../views/admin/domains/updateDomain.twig | 143 +++++++++--- 4 files changed, 368 insertions(+), 124 deletions(-) diff --git a/cp/resources/views/admin/domains/createApplication.twig b/cp/resources/views/admin/domains/createApplication.twig index 74f24b9..c3ef913 100644 --- a/cp/resources/views/admin/domains/createApplication.twig +++ b/cp/resources/views/admin/domains/createApplication.twig @@ -29,11 +29,111 @@
{{ csrf.field | raw }} + +
+
+ + {% if registrars and not registrar %} +
+ + +
+ {% endif %} + + {% if minimum_data == 'false' %} +
+ +
+
+
+ + + + + + + + + +
+
+
+ ? +
+
+
+
+
+ + + + + + + + + +
+
+
+ ? +
+
+
+
+
+ + + + + + + + + +
+
+
+ ? +
+
+
+
+
+ + + + + + + + + +
+
+
+ ? +
+
+ +
{% endif %} + +
+ + +
+ +
+
The "Phase name" field is required only if the "Type" is set to "Custom".
- - {% if registrars and not registrar %} -
- - -
- {% endif %} - - {% if minimum_data == 'false' %} -
- - - - - -
{% endif %}
@@ -99,13 +179,11 @@
+
+ - -
- - -
- +
+
@@ -115,7 +193,8 @@
- +
+
@@ -125,7 +204,9 @@
- +
+
+ - - +
diff --git a/cp/resources/views/admin/domains/updateDomain.twig b/cp/resources/views/admin/domains/updateDomain.twig index 9e27c6d..a0fb2db 100644 --- a/cp/resources/views/admin/domains/updateDomain.twig +++ b/cp/resources/views/admin/domains/updateDomain.twig @@ -79,7 +79,24 @@
{% if minimum_data == 'false' %}
- +
+
+
+ + + + + + + + + +
+
+
+ ? +
+
{% set contactAdmin = '' %} {% set contactTech = '' %} @@ -96,11 +113,62 @@ {% endfor %} - +
+
+
+ + + + + + + + + +
+
+
+ ? +
+
- +
+
+
+ + + + + + + + + +
+
+
+ ? +
+
- +
+
+
+ + + + + + + + + +
+
+
+ ? +
+
{% endif %}
@@ -251,39 +319,44 @@