% param 'SSL' => $iba_datas->{SSL} unless param 'SSL';
%= select_field 'SSL' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select"
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_ln_list.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_ln_list.html.ep
index 2d8256b..5839f0e 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_ln_list.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_ln_list.html.ep
@@ -1,29 +1,28 @@
- % my $btn = l('ln_LOCALNETWORK_ADD');
-
-
- % my $numlocalnetworks = @$localnetworks;
- % if ($numlocalnetworks == 0) {
- <%= l 'ln_LOCAL_NETWORK_NONE' %>
- % } else {
-
-
-
- <%= l 'NETWORK' %> |
- <%= l 'ln_SUBNET_MASK' %> |
- <%= l 'ln_NUMBER_OF_HOSTS' %> |
- <%= l 'ROUTER' %> |
- <%= l 'ACTION' %> |
-
-
-
- % foreach my $localnetwork (@$localnetworks ) {
- % my ($num_hosts) = esmith::util::computeHostRange( $localnetwork->key, $localnetwork->prop('Mask') );
- % my $removable = $localnetwork->prop('Removable') || "yes";
- % my $system = $localnetwork->prop('SystemLocalNetwork') || "no";
- % if ( $system eq "yes" ) { $removable = "no"; }
-
- <%= $localnetwork->key %>
- | <%= $localnetwork->prop('Mask') %>
- | <%= $num_hosts %>
- | <%= $localnetwork->prop('Router') %>
- % my $actionRemove = ' ';
- % if ($removable eq "yes") {
- %my $remove_text = l('REMOVE'); # Localized text
- %my $local_network_entry = $localnetwork->key;
- %my $csrf_token = "TOKEN"; # CSRF token for security
- %$actionRemove = qq{
- %
- %
- %
- %};
- % }
- | <%= $c->render_to_string(inline => $actionRemove) %> |
-
- % }
-
-
- <%= hidden_field 'trt' => $ln_datas->{trt} %>
- % }
+
+ % my $numlocalnetworks = @$localnetworks;
+ % if ($numlocalnetworks == 0) {
+ <%= l 'ln_LOCAL_NETWORK_NONE' %>
+ % } else {
+
+
+
+
+ <%= l 'NETWORK' %> |
+ <%= l 'ln_SUBNET_MASK' %> |
+ <%= l 'ln_NUMBER_OF_HOSTS' %> |
+ <%= l 'ROUTER' %> |
+ <%= l 'ACTION' %> |
+
+
+
+ % foreach my $localnetwork (@$localnetworks ) {
+ % my ($num_hosts) = esmith::util::computeHostRange( $localnetwork->key, $localnetwork->prop('Mask') );
+ % my $removable = $localnetwork->prop('Removable') || "yes";
+ % my $system = $localnetwork->prop('SystemLocalNetwork') || "no";
+ % if ( $system eq "yes" ) { $removable = "no"; }
+
+ <%= $localnetwork->key %>
+ | <%= $localnetwork->prop('Mask') %>
+ | <%= $num_hosts %>
+ | <%= $localnetwork->prop('Router') %>
+ % my $actionRemove = ' ';
+ % if ($removable eq "yes") {
+ %my $remove_text = l('REMOVE'); # Localized text
+ %my $local_network_entry = $localnetwork->key;
+ %my $csrf_token = "TOKEN"; # CSRF token for security
+ %$actionRemove = qq{
+ %
+ %
+ %
+ %};
+ % }
+ | <%= $c->render_to_string(inline => $actionRemove) %> |
+
+ % }
+
+
+ <%= hidden_field 'trt' => $ln_datas->{trt} %>
+ % }
+
+
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep
index db511a2..f7e517c 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep
@@ -5,100 +5,99 @@
% if (config->{debug} == 1) {
-
- %= dumper $c->current_route
- %= dumper $rma_datas
-
+
+ <%= dumper $c->current_route %>
+ <%= dumper $rma_datas %>
+
% }
+
<%= $title%>
+
% if ( $notif ) {
-
-
- <%= $c->render_to_string(inline => $notif) %>
-
+
+
+ <%= $c->render_to_string(inline => $notif) %>
+
%}
<% my $btn = l('SAVE'); %>
- %= form_for 'remoteaccess' => (method => 'POST') => begin
+
+