Files
smeserver-manager/root/usr/share/smanager/themes/default/templates/yumremove.html.ep
Brian Read 74c9beb587 * Mon Aug 11 2025 Brian Read <brianr@koozali.org> 11.0.0-113.sme
- Re-factor all template files to make them nicely formatted  [SME: 13103]
2025-08-12 06:20:31 +01:00

59 lines
1.4 KiB
Plaintext

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