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