2025-04-15 16:30:33 +02:00
|
|
|
% layout 'AdminLTE', title => "Sme server 2 - localnetworks";
|
2025-03-25 17:40:59 +00:00
|
|
|
|
|
|
|
% content_for 'module' => begin
|
2025-04-15 16:30:33 +02:00
|
|
|
<div>
|
2025-03-25 17:40:59 +00:00
|
|
|
|
|
|
|
% if (config->{debug} == 1) {
|
2025-04-15 16:30:33 +02:00
|
|
|
<p>
|
|
|
|
%= dumper $c->current_route
|
|
|
|
%= dumper $c->stash("ret")
|
2025-03-25 17:40:59 +00:00
|
|
|
%= dumper $c->param("localnetwork");
|
|
|
|
%= dumper $c->stash("ln_datas");
|
|
|
|
%= dumper $c->param("deletehost");
|
2025-04-15 16:30:33 +02:00
|
|
|
</p>
|
2025-03-25 17:40:59 +00:00
|
|
|
% }
|
|
|
|
|
|
|
|
<h1><%= $title%></h1>
|
|
|
|
%= $modul
|
|
|
|
|
|
|
|
% if ($ln_datas->{trt} eq 'ADD') {
|
2025-04-15 16:30:33 +02:00
|
|
|
%= include 'partials/_ln_add'
|
2025-03-25 17:40:59 +00:00
|
|
|
%} elsif ($ln_datas->{trt} eq 'ADD1') {
|
2025-04-15 16:30:33 +02:00
|
|
|
%= include 'partials/_ln_add'
|
2025-03-25 17:40:59 +00:00
|
|
|
%} elsif ($ln_datas->{trt} eq 'DEL') {
|
2025-04-15 16:30:33 +02:00
|
|
|
%= include 'partials/_ln_del'
|
|
|
|
%} elsif ($ln_datas->{trt} eq 'DEL1'){
|
|
|
|
%= include 'partials/_ln_list'
|
|
|
|
%} else {
|
|
|
|
%= include 'partials/_ln_list'
|
|
|
|
%}
|
2025-03-25 17:40:59 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
%end
|