</body> entfernt
[kivitendo-erp.git] / templates / webpages / task_server / show.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <body>
3
4  <div class="listtop">[% FORM.title %]</div>
5
6 [%- INCLUDE 'common/flash.html' %]
7
8  <table id="background_job_history_details" class="background_job_details">
9   <tbody>
10    <tr class="listrow0">
11     <th>[%- LxERP.t8('Current status') %]</th>
12     <td>[% IF SELF.task_server.is_running %][%- LxERP.t8('running') %][%- ELSE %][%- LxERP.t8('not running') %][%- END %]</td>
13    </tr>
14
15 [%- IF last_command_output %]
16    <tr class="listrow1">
17     <th>[%- LxERP.t8('Last command output') %]</th>
18     <td><pre>[% HTML.escape(last_command_output) %]</pre></td>
19    </tr>
20 [%- END %]
21
22   </tbody>
23  </table>
24
25  <p>
26 [% IF SELF.task_server.is_running %]
27   <a href="[% SELF.url_for(action => 'stop') %]">[%- LxERP.t8('Stop task server') %]</a>
28 [%- ELSE %]
29   <a href="[% SELF.url_for(action => 'start') %]">[%- LxERP.t8('Start task server') %]</a>
30 [%- END %]
31   |
32   <a href="[% SELF.url_for(controller => 'BackgroundJob', action => 'list') %]">[%- LxERP.t8('View background jobs') %]</a>
33   |
34   <a href="[% SELF.url_for(controller => 'BackgroundJobHistory', action => 'list') %]">[%- LxERP.t8('View background job history') %]</a>
35  </p>