2024-03-22 14:54:28 +11:00
|
|
|
% layout 'default', title => "Sme server 2 - reboot";
|
|
|
|
|
|
|
|
% content_for 'module' => begin
|
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
<div id='module' class='module reboot-panel'>
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
% if (config->{debug} == 1) {
|
|
|
|
<p>
|
|
|
|
(DBG)route: <%= $c->current_route %><br>
|
|
|
|
</p>
|
|
|
|
% }
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
<h1><%= $title %></h1>
|
|
|
|
<br>
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
%= $modul
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
<% my $btn = l('PERFORM'); %>
|
|
|
|
%= form_for 'reboot' => ( method => 'POST' ) => begin
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
<p>
|
|
|
|
%= $c->render_to_string( inline => $c->l('rbo_DESCRIPTION') )
|
|
|
|
<br><br>
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
<span class=label>
|
|
|
|
%= l 'rbo_LABEL_REBOOT'
|
|
|
|
</span>
|
|
|
|
<span class=data>
|
|
|
|
%= select_field 'function' => $c->rebootFunction_list()
|
|
|
|
</span>
|
|
|
|
</p><br>
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
%= submit_button "$btn", class => 'action'
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
% end
|
2024-03-22 14:54:28 +11:00
|
|
|
|
2025-08-12 06:20:31 +01:00
|
|
|
%= hidden_field 'debug' => '1'
|
2024-03-22 14:54:28 +11:00
|
|
|
|
|
|
|
</div>
|
2025-08-12 06:20:31 +01:00
|
|
|
% end
|