4b56f9e0f1ab80e5d878679ae6d6983d71295277
[kivitendo-erp.git] / templates / webpages / task_server / show.html
1 [% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%]
2 <h1>[% FORM.title %]</h1>
3
4 [%- INCLUDE 'common/flash.html' %]
5
6  <table id="background_job_history_details" class="background_job_details">
7   <tbody>
8    <tr class="listrow0">
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>
11    </tr>
12
13 [%- IF last_command_output %]
14    <tr class="listrow1">
15     <th>[%- LxERP.t8('Last command output') %]</th>
16     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
17    </tr>
18 [%- END %]
19
20   </tbody>
21  </table>
22
23 <form id="form" method="post" action="controller.pl">
24  [% P.hidden_tag("action", "TaskServer/" _ (SELF.task_server.is_running ? "stop" : "start")) %]
25 </form>