Cleanup for AdminLTE

This commit is contained in:
root
2025-04-15 16:30:33 +02:00
parent 8a1922f932
commit 02e63c6403
160 changed files with 3977 additions and 33647 deletions

View File

@@ -1,53 +1,58 @@
% layout 'default', title => "Sme server 2 - yum_update";
% layout 'AdminLTE', title => "Sme server 2 - yum_update";
% content_for 'module' => begin
<div id="" class="">
<div>
% if (config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $yum_datas
</p>
<p>
%= dumper $c->current_route
%= dumper $yum_datas
</p>
% }
<h1><%= $title%></h1>
<br>
% if ( $notif ) {
<br><div class="">
%= $notif
</div>
<br><div class="">
%= $notif
</div>
%}
%= form_for 'yumd' => (method => 'POST') => begin
%=l 'yum_HEADER_INSTALLED_SOFTWARE'
%=l 'yum_HEADER_INSTALLED_SOFTWARE'
<br>
<br>
% if ($c->non_empty('installed','group')) {
%=l 'yum_DESC_INSTALLED_GROUPS'
<p><span class="">
%=l 'yum_LABEL_INSTALLED_GROUPS'
</span><span class="">
%= select_field 'SelectedGroups' => $c->get_options2('installed', 'group'), class => "", multiple => "1"
</span></p>
%=l 'yum_DESC_INSTALLED_GROUPS'
<p>
<span class="">
%=l 'yum_LABEL_INSTALLED_GROUPS'
</span>
<span class="">
%= select_field 'SelectedGroups' => $c->get_options2('installed', 'group'), class => "", multiple => "1"
</span></p>
%}
<br>
<br>
% if ($c->non_empty('installed','packages')) {
%=l 'yum_DESC_INSTALLED_PACKAGES'
<p><span class="">
%=l 'yum_LABEL_INSTALLED_PACKAGES'
</span><span class="">
%= select_field 'SelectedPackages' => $c->get_options2('installed', 'package'), class => "", multiple => "1"
</span></p>
%=l 'yum_DESC_INSTALLED_PACKAGES'
<p>
<span class="">
%=l 'yum_LABEL_INSTALLED_PACKAGES'
</span>
<span class="">
%= select_field 'SelectedPackages' => $c->get_options2('installed', 'package'), class => "", multiple => "1"
</span>
</p>
%}
<!--subroutine src="print_skip_header()" /-->
<!--subroutine src="print_skip_header()" /-->
%= hidden_field 'trt' => 'REMO'
<br>
%= hidden_field 'trt' => 'REMO'
<br>
<!--<div class="">-->
%= submit_button $c->l('REMOVE'), class => ""
%= submit_button $c->l('REMOVE'), class => ""
<!--</div>-->
% end