diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/domains.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/domains.html.ep index 86ce54c..3ad7133 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/domains.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/domains.html.ep @@ -6,8 +6,8 @@ % if (config->{debug} == 1) {
-
- %= $c->l('dom_REMOVE_DESCRIPTION', $dom_datas->{domain}, $dom_datas->{description}); -
- -- %= l('dom_ABOUT_TO_REMOVE') -
++
- %= hidden_field 'trt' => 'ADD' - - % end +- %=l 'DOMAIN_NAME' - | -- %=l 'DESCRIPTION_BRIEF' - | -- %=l 'dom_CONTENT' - | -- %=l 'dom_LABEL_NAMESERVERS' - | -- %=l 'ACTION' - | -|
---|---|---|---|---|---|
<%=l 'DOMAIN_NAME' %> | +<%=l 'DESCRIPTION_BRIEF' %> | +<%=l 'dom_CONTENT' %> | +<%=l 'dom_LABEL_NAMESERVERS'%> | +<%=l 'ACTION' %> | +|
<%= $domain->{Domain} %> | +<%= $domain->{'Description'} %> | +<%= $domain->{'Content'} %> | +<%= l('dom_' . $domain->{'Nameservers'}) %> | + + %# my $actionModify = "" . "" . ""; + % my $modify_text = l('MODIFY'); # Localized text + % my $csrf_token = "TOKEN"; # CSRF token for security + % my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure + % my $actionModify = qq{ + % + % + % %}; - %# $actionRemove = "" . "" . ""; - %}; -- <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> - | -<%= $c->render_to_string(inline => $actionRemove) %> | +<%= $c->render_to_string(inline => $actionModify) %> | + + % } - +
<%= l 'hos_HOSTNAME' %> | <%= l 'hos_HOSTTYPE' %> | <%= l 'IP_ADDRESS_OR_FQDN' %> | diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_ulc.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_ulc.html.ep index a576907..9b0a313 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_ulc.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_ulc.html.ep @@ -5,50 +5,58 @@ - +
---|