-
<%= $btn %>
+
+
+ <%= $btn %>
<%= hidden_field 'trt' => 'ADD' %>
-
<%=l 'grp_CURRENT_LIST' %>
+
<%= l 'grp_CURRENT_LIST' %>
% my $numGroups = @$groups;
% if ($numGroups == 0){
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_del.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_del.html.ep
index 33fd675..3f169de 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_del.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_del.html.ep
@@ -3,27 +3,32 @@
% my $btn = l('REMOVE');
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_list.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_list.html.ep
index 5be25ad..32de2b4 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_list.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_hos_list.html.ep
@@ -3,81 +3,72 @@
% my $btn = l('hos_ADD_HOSTNAME');
- % my %dom_hos = %{$dom_hosts};
- % foreach my $domain ( sort ( keys %dom_hos ) ) {
+ % my %dom_hos = %{$dom_hosts};
+ % foreach my $domain ( sort ( keys %dom_hos ) ) {
-
+
+ <%= $c->l('hos_CURRENT_HOSTNAMES_FOR_LOCAL_DOMAIN', $domain); %>
+
-
- <%= $c->l('hos_CURRENT_HOSTNAMES_FOR_LOCAL_DOMAIN', $domain); %>
-
+
+
+
+ <%= l 'hos_HOSTNAME' %>
+ <%= l 'hos_HOSTTYPE' %>
+ <%= l 'IP_ADDRESS_OR_FQDN' %>
+ <%= l 'hos_ETHERNET_ADDRESS' %>
+ <%= l 'COMMENT' %>
+ <%= l 'ACTION' %>
+
+
-
-
-
-
-
- <%= l 'hos_HOSTNAME' %>
- <%= l 'hos_HOSTTYPE' %>
- <%= l 'IP_ADDRESS_OR_FQDN' %>
- <%= l 'hos_ETHERNET_ADDRESS' %>
- <%= l 'COMMENT' %>
- <%= l 'ACTION' %>
-
-
-
-
- % foreach (@{$dom_hos{$domain}{'HOSTS'}}) {
-
- <%= $_->{'HostName'}; %>
- <%= $_->{'HostType'}; %>
- <%= $_->{'IP'}; %>
- <%= $_->{'MACAddress'}; %>
- <%= $_->{'Comment'}; %>
-
-
- %my ($actionModify, $actionRemove) = ' ';
- %my $static = $_->{'static'} || "no";
- %if ($static ne 'yes') {
- %my $modify_text = l('MODIFY'); # Localized text
- %my $csrf_token = "TOKEN"; # CSRF token for security
- %my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
- %$actionModify = qq{
- %
- %
- % $modify_text
- %
- %
- %};
- %my $remove_text = l('REMOVE'); # Localized text
- %$csrf_token = "TOKEN"; # CSRF token for security
- %#my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
- %$actionRemove = qq{
- %
- %
- % $remove_text
- %
- %
- %};
- %}
- <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %>
-
-
- % }
-
-
+
+ % foreach (@{$dom_hos{$domain}{'HOSTS'}}) {
+
+ <%= $_->{'HostName'}; %>
+ <%= $_->{'HostType'}; %>
+ <%= $_->{'IP'}; %>
+ <%= $_->{'MACAddress'}; %>
+ <%= $_->{'Comment'}; %>
+
+ % my ($actionModify, $actionRemove) = ' ';
+ % my $static = $_->{'static'} || "no";
+ % if ($static ne 'yes') {
+ %my $modify_text = l('MODIFY'); # Localized text
+ %my $csrf_token = "TOKEN"; # CSRF token for security
+ %my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
+ %$actionModify = qq{
+ %
+ %
+ % $modify_text
+ %
+ %
+ %};
+ %my $remove_text = l('REMOVE'); # Localized text
+ %$csrf_token = "TOKEN"; # CSRF token for security
+ %#my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
+ %$actionRemove = qq{
+ %
+ %
+ % $remove_text
+ %
+ %
+ %};
+ % }
+ <%= $c->render_to_string(inline => $actionModify) %>
+ <%= $c->render_to_string(inline => $actionRemove) %>
+
+
+ % }
+
+
% }
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 098cb66..a576907 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
@@ -4,16 +4,14 @@
% my $btn = l('NEXT');