1 [% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%]
 
   2 <h1>[% FORM.title %]</h1>
 
   4 [%- INCLUDE 'common/flash.html' %]
 
   6  <table id="background_job_history_details" class="background_job_details">
 
   9     <th>[%- LxERP.t8('Current status') %]</th>
 
  10     <td>[% IF SELF.task_server.is_running %][%- LxERP.t8('running') %][%- ELSE %][%- LxERP.t8('not running') %][%- END %]</td>
 
  13 [%- IF last_command_output %]
 
  15     <th>[%- LxERP.t8('Last command output') %]</th>
 
  16     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
 
  23 <form id="form" method="post" action="controller.pl">
 
  24  [% P.hidden_tag("action", "TaskServer/" _ (SELF.task_server.is_running ? "stop" : "start")) %]