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

46 lines
930 B
Plaintext

% layout 'default', title => "Sme server 2 - yum_update";
% content_for 'module' => begin
<div id="" class="">
% if (config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $yum_datas
</p>
% }
<h1><%= $title%></h1>
% if ( $notif ) {
<br><div class="">
%= $notif
</div>
%}
<br><div class="">
<% my $btn = l('NEXT'); %>
%= $c->render_to_string( inline => l 'yum_UPDATE_SUCCESS' )
% if ( $yum_datas->{reconf} eq 'yes' ) {
%= $c->render_to_string( inline => l 'yum_HEADER_POSTUPGRADE_REQUIRED' )
<% $btn = l('RECONFIGURE'); %>
% }
</div><br>
%= form_for 'yumd' => (method => 'POST') => begin
<%= $c->render_to_string(inline => $c->show_yum_log()) %>
%= hidden_field 'trt' => 'PSTU'
%= hidden_field 'reconf' => $yum_datas->{reconf}
<br>
<!-- <div class="">-->
%= submit_button "$btn", class => ""
<!--</div>-->
% end
</div>
% end