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

59 lines
1.4 KiB
Plaintext

% layout 'default', title => "Sme server 2 - yum_install";
% 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>
%= form_for 'yumd' => (method => 'POST') => begin
%=l 'yum_HEADER_AVAILABLE_SOFTWARE'
<br><br>
% if ($c->non_empty('available','group')) {
%=l 'yum_DESC_AVAILABLE_GROUPS'
<p><span class="">
%=l 'yum_LABEL_AVAILABLE_GROUPS'
</span><span class="">
% param 'SelectedGroups' => $c->get_names2('updates','group') unless param 'SelectedGroups';
%= select_field 'SelectedGroups' => $c->get_options2('available', 'group'), class => "", multiple => "1"
</span></p>
%}
<br>
% if ($c->non_empty('available','packages')) {
%=l 'yum_DESC_AVAILABLE_PACKAGES'
<p><span class="">
%=l 'yum_LABEL_AVAILABLE_PACKAGES'
</span><span class="">
% param 'SelectedPackages' => $c->get_names2('updates','package') unless param 'SelectedPackages';
%= select_field 'SelectedPackages' => $c->get_options2('available', 'package'), class => "", multiple => "1"
</span></p>
%}
<!-- $c->print_skip_header() -->
%= hidden_field 'trt' => 'INST'
<br><br>
<!-- <div class="">-->
%= submit_button $c->l('yum_INSTALL_SOFTWARE'), class => ""
<!--</div>-->
% end
</div>
% end