diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_up2.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_up2.html.ep index aab1530..47a3788 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_up2.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_up2.html.ep @@ -1,6 +1,6 @@
- % my $btn = l('SAVE'); + % my $btn = l('SAVE');
@@ -9,7 +9,7 @@

- +
@@ -40,7 +40,7 @@
<%= hidden_field 'trt' => $dom_datas->{trt} %> - + diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_upd.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_upd.html.ep index 4952983..478f2ee 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_upd.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_dom_upd.html.ep @@ -1,74 +1,88 @@
- % my $btn = l('ADD'); + % my $btn = l('ADD'); - %= form_for '/domains2' => (method => 'POST') => begin -

-

- % if ( $dom_datas->{trt} eq "ADD" ) { - %=l 'dom_CREATE_TITLE' - % } else { - %=l 'dom_MODIFY_TITLE' - % $btn = l('MODIFY'); - % } -

-

+
-


- - %=l 'DOMAIN_NAME', class => "" - - - % if ( $dom_datas->{trt} eq "ADD" ) { - % param 'Domain' => $dom_datas->{domain} unless param 'Domain'; - %= text_field 'Domain', class => "" - % } else { - %= hidden_field 'Domain' => $dom_datas->{domain} - %= $dom_datas->{domain}, class => "" - % } - -

- -


- - %=l 'DESCRIPTION_BRIEF', class => "" - - - % param 'Description' => $dom_datas->{description} unless param 'Description'; - %= text_field 'Description', class => "" - -

- -


- %=l 'dom_CONTENT_FIELD_DESCRIPTION'
- - %= $c->l('dom_CONTENT', ''); - - - % param 'Content' => $dom_datas->{content} unless param 'Content'; - %= select_field 'Content', $c->content_options_list(), class => "" - -

-


- %=l 'dom_DESC_NAMESERVERS' +

+

+ % if ( $dom_datas->{trt} eq "ADD" ) { + <%=l 'dom_CREATE_TITLE' %> + % } else { + <%=l 'dom_MODIFY_TITLE' %> + % $btn = l('MODIFY'); + % } +

+
+
- - %=l 'dom_LABEL_NAMESERVERS', class => "" - - - % param 'Nameservers' => $dom_datas->{nameservers} unless param 'Nameservers'; - %= select_field 'Nameservers', $c->nameserver_options_list(), class => "" - -

-


- %= submit_button "$btn", class => "" -

+
+
+ <%=l 'DOMAIN_NAME' %> +
+
+ % if ( $dom_datas->{trt} eq "ADD" ) { + % param 'Domain' => $dom_datas->{domain} unless param 'Domain'; + <%= text_field 'Domain' %> + % } else { + <%= hidden_field 'Domain' => $dom_datas->{domain} %> + <%= $dom_datas->{domain} %> + % } +
+
- %= hidden_field 'trt' => $dom_datas->{trt} +
- %end +
+
+ +
+
+ % param 'Description' => $dom_datas->{description} unless param 'Description'; + +
+
+ +
+ <%=l 'dom_CONTENT_FIELD_DESCRIPTION' %> +

+ +
+
+ +
+
+ % param 'Content' => $dom_datas->{content} unless param 'Content'; + <%= select_field 'Content', $c->content_options_list(), class => "form-select", id => "inputDomainContent" %> +
+
+ +
+ <%=l 'dom_DESC_NAMESERVERS' %> +

+ +
+
+ +
+
+ % param 'Nameservers' => $dom_datas->{nameservers} unless param 'Nameservers'; + <%= select_field 'Nameservers', $c->nameserver_options_list(), class => "form-select", id => "inputDomainNameServers" %> +
+
+ +
+ +
+
+ +
+
+ <%= hidden_field 'trt' => $dom_datas->{trt} %> + +
diff --git a/smeserver-manager-AdminLTE.spec b/smeserver-manager-AdminLTE.spec index 26539ef..8a49e0b 100644 --- a/smeserver-manager-AdminLTE.spec +++ b/smeserver-manager-AdminLTE.spec @@ -1,6 +1,6 @@ %define name smeserver-manager-AdminLTE %define version 11.0.0 -%define release 22 +%define release 23 Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2 Name: %{name} Version: %{version} @@ -26,6 +26,9 @@ AdminLTE is an html framework for admin consoles wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip %changelog +* Sun May 18 2025 John Crisp 11.0.0-23.sme +- Domains done plus more tweaks + * Sun May 18 2025 John Crisp 11.0.0-22.sme - Hosts done and a few tweaks