Brian Read 8a1922f932 * Tue Mar 25 2025 Brian Read <brianr@koozali.org> 0.1.4-4.sme
- New version for AdminLTE integration with no class or ids
2025-03-25 17:40:59 +00:00

33 lines
706 B
Plaintext

% layout 'default', title => "Sme server 2 - domains";
% content_for 'module' => begin
<div id="" class="">
% if (config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $dom_datas
</p>
% }
% if ( stash 'error' ) {
<br><div class="">
%= $c->render_to_string(inline => stash 'error')
</div>
%}
<h1><%= $title%></h1>
% if ($dom_datas->{trt} eq 'ADD' or $dom_datas->{trt} eq 'UPD') {
%= include 'partials/_dom_upd'
%} elsif ($dom_datas->{trt} eq 'DEL') {
%= include 'partials/_dom_del'
%} elsif ($dom_datas->{trt} eq 'UP2') {
%= include 'partials/_dom_up2'
%} else {
%= include 'partials/_dom_list'
%}
</div>
%end