use minified css and some minor formatting issues

pull/100/head
Pepijn Over 2014-04-06 17:59:59 +02:00
parent 378392352c
commit d9f04fa348
7 changed files with 32 additions and 22 deletions

View File

@ -1,5 +1,7 @@
# PHP Server Monitor
Version 3.0.0
## Summary
PHP Server Monitor is a script that checks whether your websites and servers are up and running.

View File

@ -110,6 +110,7 @@ abstract class AbstractServerController extends AbstractController {
$server['status'] = 'warning';
}
$server['error'] = htmlentities($server['error']);
$server['type'] = psm_get_lang('servers', 'type_' . $server['type']);
return $server;

View File

@ -9,8 +9,8 @@
<meta name="author" content="">
{auto_refresh}
<!-- Le styles -->
<link href="static/plugin/twitter-bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="static/plugin/twitter-bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="static/plugin/twitter-bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="static/plugin/twitter-bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="static/css/style.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>

View File

@ -27,7 +27,7 @@
<div class="info-container">
<div class="info-content">
<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">
<li><span>{label_latency_avg}: {latency_avg}</span></li>
</ul>

View File

@ -22,11 +22,17 @@
<!--%tpl_server_log_entries-->
<!-- {logtitle} -->
<table class="table table-bordered table-striped">
<colgroup>
<col />
<col />
<col style="width: 135px" />
<col />
</colgroup>
<thead>
<tr>
<th>{label_server}</th>
<th>{label_message}</th>
<th width="130">{label_date}</th>
<th>{label_date}</th>
<th>{label_users}</th>
</tr>
</thead>

View File

@ -2,6 +2,7 @@
<table class="table table-bordered">
<colgroup>
<col class="oce-first" />
<col />
</colgroup>
<thead>
<tr class="head">