File: templates/views/bootstrap/process.latte

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  PHP Supervisor Process Dashboard  >  templates/views/bootstrap/process.latte  >  Download  
File: templates/views/bootstrap/process.latte
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Supervisor Process Dashboard
Monitor and control processes running on a servers
Author: By
Last change:
Date: 7 months ago
Size: 2,110 bytes
 

Contents

Download
                                                <tr>
                                                    <td>{$process['id']}</td>
                                                    <td width="100" style="text-align:center">
{if $process->isRunning()}
                                                        <h5 style="margin:0;"><span class="label label-success">{$process['statename']}</span></h5>
{else}
                                                        <h5 style="margin:0;"><span class="label label-default">{$process['statename']}</span></h5>
{/if}
                                                    </td>
                                                    <td width="70" style="text-align:center">{$process['uptime']}</td>
                                                    <td width="80">
                                                        <div class="jaxon-supervisor-process" data-s="{$server}" data-p="{$process['id']}">
{if $process->isRunning()}
                                                            <a href="javascript:;" class="btn btn-xs btn-primary btn-restart" type="button">
                                                                <span class="glyphicon glyphicon-refresh"></span>
                                                            </a>
                                                            <a href="javascript:;" class="btn btn-xs btn-danger btn-stop" type="button">
                                                                <span class="glyphicon glyphicon-stop"></span>
                                                            </a>
{else}
                                                            <a href="javascript:;" class="btn btn-xs btn-success btn-start" type="button">
                                                                <span class="glyphicon glyphicon-play"></span>
                                                            </a>
{/if}
                                                        </div>
                                                    </td>
                                                </tr>

For more information send a message to info at phpclasses dot org.