Tweaks for API changes. Tell the user if their scheduler script is not configured.
This commit is contained in:
parent
c175de0cb3
commit
1dbbf53799
campcaster/src/modules/htmlUI/var/templates/scheduler
|
@ -3,14 +3,19 @@
|
|||
<div class="container_elements" style="width: 790px;">
|
||||
<div class="head_scheduler" style=""><h1>##Scheduler status##</h1></div>
|
||||
<div class="clearer"> </div>
|
||||
|
||||
|
||||
{if $SCHEDULER->testDaemon() === true}
|
||||
|
||||
{if $SCHEDULER->daemonIsRunning() === true}
|
||||
<p>##Scheduler is running##</p>
|
||||
<p><input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.stopDaemon');" value="##Stop scheduler##"></p>
|
||||
{else}
|
||||
<p>##Scheduler is not running##</p>
|
||||
<p><input type="button" class="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.startDaemon');" value="##Start scheduler##"></p>
|
||||
{assign var=tmpErrorMsg value=$SCHEDULER->getScriptError()}
|
||||
{if $tmpErrorMsg}
|
||||
{$tmpErrorMsg}
|
||||
{else}
|
||||
<p>##Scheduler is not running##</p>
|
||||
<p><input type="button" class="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.startDaemon');" value="##Start scheduler##"></p>
|
||||
{/if}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue