use minified css and some minor formatting issues
parent
378392352c
commit
d9f04fa348
|
@ -1,5 +1,7 @@
|
||||||
# PHP Server Monitor
|
# PHP Server Monitor
|
||||||
|
|
||||||
|
Version 3.0.0
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
PHP Server Monitor is a script that checks whether your websites and servers are up and running.
|
PHP Server Monitor is a script that checks whether your websites and servers are up and running.
|
||||||
|
|
|
@ -110,6 +110,7 @@ abstract class AbstractServerController extends AbstractController {
|
||||||
$server['status'] = 'warning';
|
$server['status'] = 'warning';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$server['error'] = htmlentities($server['error']);
|
||||||
$server['type'] = psm_get_lang('servers', 'type_' . $server['type']);
|
$server['type'] = psm_get_lang('servers', 'type_' . $server['type']);
|
||||||
|
|
||||||
return $server;
|
return $server;
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
{auto_refresh}
|
{auto_refresh}
|
||||||
<!-- Le styles -->
|
<!-- Le styles -->
|
||||||
<link href="static/plugin/twitter-bootstrap/css/bootstrap.css" rel="stylesheet">
|
<link href="static/plugin/twitter-bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="static/plugin/twitter-bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="static/plugin/twitter-bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
|
||||||
<link href="static/css/style.css" rel="stylesheet">
|
<link href="static/css/style.css" rel="stylesheet">
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<div class="info-container">
|
<div class="info-container">
|
||||||
<div class="info-content">
|
<div class="info-content">
|
||||||
<div class="info-dropdown btn-group">
|
<div class="info-dropdown btn-group">
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown"><i class="icon-info-sign"></i></span></button>
|
<button class="btn dropdown-toggle" data-toggle="dropdown"><i class="icon-info-sign"></i></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><span>{label_latency_avg}: {latency_avg}</span></li>
|
<li><span>{label_latency_avg}: {latency_avg}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -22,11 +22,17 @@
|
||||||
<!--%tpl_server_log_entries-->
|
<!--%tpl_server_log_entries-->
|
||||||
<!-- {logtitle} -->
|
<!-- {logtitle} -->
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
|
<colgroup>
|
||||||
|
<col />
|
||||||
|
<col />
|
||||||
|
<col style="width: 135px" />
|
||||||
|
<col />
|
||||||
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{label_server}</th>
|
<th>{label_server}</th>
|
||||||
<th>{label_message}</th>
|
<th>{label_message}</th>
|
||||||
<th width="130">{label_date}</th>
|
<th>{label_date}</th>
|
||||||
<th>{label_users}</th>
|
<th>{label_users}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
@ -53,24 +53,24 @@
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="offline">
|
<div class="offline">
|
||||||
<!--%tpl_repeat_servers_offline-->
|
<!--%tpl_repeat_servers_offline-->
|
||||||
<div class="entity {class_warning}" onclick="window.location.href='{url_view}'">
|
<div class="entity {class_warning}" onclick="window.location.href='{url_view}'">
|
||||||
<h2>{label}</h2>
|
<h2>{label}</h2>
|
||||||
<p>{label_last_online}: {last_online_nice}</p>
|
<p>{label_last_online}: {last_online_nice}</p>
|
||||||
<p>{label_last_check}: {last_checked_nice}</p>
|
<p>{label_last_check}: {last_checked_nice}</p>
|
||||||
</div>
|
|
||||||
<!--%%tpl_repeat_servers_offline-->
|
|
||||||
{servers_offline}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="online">
|
<!--%%tpl_repeat_servers_offline-->
|
||||||
<!--%tpl_repeat_servers_online-->
|
{servers_offline}
|
||||||
<div class="entity" onclick="window.location.href='{url_view}'">
|
</div>
|
||||||
<h2>{label}</h2>
|
<div class="online">
|
||||||
<p>{label_last_online}: {last_checked_nice}</p>
|
<!--%tpl_repeat_servers_online-->
|
||||||
<p>{label_rtime}: {rtime}s</p>
|
<div class="entity" onclick="window.location.href='{url_view}'">
|
||||||
</div>
|
<h2>{label}</h2>
|
||||||
<!--%%tpl_repeat_servers_online-->
|
<p>{label_last_online}: {last_checked_nice}</p>
|
||||||
{servers_online}
|
<p>{label_rtime}: {rtime}s</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!--%%tpl_repeat_servers_online-->
|
||||||
|
{servers_online}
|
||||||
|
</div>
|
||||||
<!--%%tpl_server_status-->
|
<!--%%tpl_server_status-->
|
|
@ -2,6 +2,7 @@
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col class="oce-first" />
|
<col class="oce-first" />
|
||||||
|
<col />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="head">
|
<tr class="head">
|
||||||
|
|
Loading…
Reference in New Issue