2012-12-10 Sancho Lerena <slerena@artica.es>

* datos_agente.php, snapshot.php: Seems some browsers
        doesnt like mono, added monospace to style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2012-12-13 19:09:59 +00:00
parent 1bc4868132
commit 40a209bfee
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-12-10 Sancho Lerena <slerena@artica.es>
* datos_agente.php, snapshot.php: Seems some browsers
doesnt like mono, added monospace to style.
2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed lost var id_server.

View File

@ -246,7 +246,7 @@ foreach ($result as $row) {
// Because this *SHIT* of print_table monster, I cannot format properly this cells
// so, eat this, motherfucker :))
$datos = "<span style='font-family: mono;'>".$datos."</span>";
$datos = "<span style='font-family: mono,monospace;'>".$datos."</span>";
// I dont why, but using index (value) method, data is automatically converted to html entities ¿?
$data[$attr[1]]=$datos;

View File

@ -65,7 +65,7 @@ echo "</h2>";
$datos = io_safe_output($row["datos"]);
$datos = preg_replace ('/\n/i','<br>',$datos);
$datos = preg_replace ('/\s/i','&nbsp;',$datos);
echo "<div style='padding: 10px; font-size: 14px; line-height: 16px; font-family: mono; text-align: left'>";
echo "<div style='padding: 10px; font-size: 14px; line-height: 16px; font-family: mono,monospace; text-align: left'>";
echo $datos;
echo "</div>";