2007-03-07 Raul Mateos <raulofpandora@gmail.com>

* godmode/agentes/alert_manager.php, modificar_agente.php,
	operation/agentes/estado_generalagente.php: Small changes
	with table lines.

	* include/styles/pandora.css: Reduce data_box class one pix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2007-03-07 12:37:23 +00:00
parent b0139f4657
commit e8ca7deeb5
5 changed files with 60 additions and 40 deletions

View File

@ -1,3 +1,11 @@
2007-03-07 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/alert_manager.php, modificar_agente.php,
operation/agentes/estado_generalagente.php: Small changes
with table lines.
* include/styles/pandora.css: Reduce data_box class one pix.
2007-03-06 Raul Mateos <raulofpandora@gmail.com> 2007-03-06 Raul Mateos <raulofpandora@gmail.com>
* images/info.png: New image, replace old info.gif. * images/info.png: New image, replace old info.gif.

View File

@ -1,5 +1,22 @@
<?php <?php
// Pandora - the Free monitoring system
// ====================================
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas S.L, info@artica.es
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// ==================================================================================== // ====================================================================================
// VIEW ALERTS // VIEW ALERTS
// ====================================================================================<br> // ====================================================================================<br>
@ -126,23 +143,24 @@ while ($row=mysql_fetch_array($result)){
<tr><td class="datos2"><?php echo $lang_label["field3"] ?> <tr><td class="datos2"><?php echo $lang_label["field3"] ?>
<td class="datos2"><textarea name="campo_3" cols="36" rows="3"><?php echo $alerta_campo3 ?></textarea> <td class="datos2"><textarea name="campo_3" cols="36" rows="3"><?php echo $alerta_campo3 ?></textarea>
<tr><td class="datos"><?php echo $lang_label["time_threshold"] ?> <tr><td class="datos"><?php echo $lang_label["time_threshold"] ?>
<td class="datos"><select name="time_threshold" style="margin-right: 60px;"> <td class="datos">
<?PHP <select name="time_threshold" style="margin-right: 60px;">
<?php
if ($alerta_time_threshold != ""){ if ($alerta_time_threshold != ""){
echo "<option value='".$alerta_time_threshold."'>".give_human_time($alerta_time_threshold)."</option>"; echo "<option value='".$alerta_time_threshold."'>".give_human_time($alerta_time_threshold)."</option>";
} }
?> ?>
<option value=300>5 Min. <option value=300>5 Min.</option>
<option value=600>10 Min <option value=600>10 Min.</option>
<option value=900>15 min <option value=900>15 Min.</option>
<option value=1800>30 Min <option value=1800>30 Min.</option>
<option value=3600>1 Hour <option value=3600>1 Hour</option>
<option value=7200>2 Hour <option value=7200>2 Hour</option>
<option value=18000>5 Hour <option value=18000>5 Hour</option>
<option value=43200>12 Hour <option value=43200>12 Hour</option>
<option value=86400>1 Day <option value=86400>1 Day</option>
<option value=604800>1 Week <option value=604800>1 Week</option>
<option value=-1>Other value <option value=-1>Other value</option>
</select> </select>
<?php echo $lang_label["other"] ?> <?php echo $lang_label["other"] ?>
@ -191,10 +209,4 @@ echo '<tr><td colspan="3" align="right">';
echo "<form method='post' action='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."'><input type='submit' class='sub' name='crt' value='".$lang_label["cancel"]."'></form>"; echo "<form method='post' action='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."'><input type='submit' class='sub' name='crt' value='".$lang_label["cancel"]."'></form>";
echo '</td></tr></table>'; echo '</td></tr></table>';
}
}
} // end page
else {
audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access Agent Management");
require ("general/noaccess.php");
}

View File

@ -143,8 +143,8 @@
<img border='0' src='images/cancel.gif'></a></td>"; <img border='0' src='images/cancel.gif'></a></td>";
} }
} }
echo "<tr><td colspan='4'><div class='raya'></div></td></tr>"; echo "<tr><td colspan='5'><div class='raya'></div></td></tr>";
echo "<tr><td align='right' colspan='4'>"; echo "<tr><td align='right' colspan='5'>";
echo "<form method='post' action='index.php?sec=gagente& echo "<form method='post' action='index.php?sec=gagente&
sec2=godmode/agentes/configurar_agente&creacion=1'>"; sec2=godmode/agentes/configurar_agente&creacion=1'>";
echo "<input type='submit' class='sub' name='crt' echo "<input type='submit' class='sub' name='crt'

View File

@ -460,7 +460,7 @@ div.data_box {
margin-bottom: 25px; margin-bottom: 25px;
background-color: #fefefe; background-color: #fefefe;
/* border: 1px solid #dAdBdC; */ /* border: 1px solid #dAdBdC; */
width: 800px; width: 799px;
float: left; float: left;
margin-top: 0px; margin-top: 0px;
margin-left: 0px; margin-left: 0px;

View File

@ -166,31 +166,31 @@ if (comprueba_login() == 0) {
} else { } else {
$percentil = -1; $percentil = -1;
} }
echo '<tr> echo "<tr>
<td class="datos"><b>'.$lang_label["next_contact"].'</b> <td class='datos'><b>".$lang_label['next_contact']."</b>
<td class="datos" colspan=2"> <td class='datos' colspan=2>
<img src="reporting/fgraph.php?tipo=progress&percent='.$percentil.'&height=20&width=200"> <img src='reporting/fgraph.php?tipo=progress&percent=".$percentil."&height=20&width=200'>
</td> </td>
</tr>'; </tr>
echo "</table>"; <tr><td colspan='4'><div class='raya'></div></td></tr>
</table>
echo "<td valign='top'>"; <td valign='top'>
echo "<table border=0>"; <table border=0>
echo "<tr>"; <tr>
echo "<td > <td>
<b>".$lang_label["agent_access_rate"]."</b><br><br> <b>".$lang_label["agent_access_rate"]."</b><br><br>
<img border=1 src='reporting/fgraph.php?id=".$id_agente."&tipo=agentaccess&periodo=1440&height=70&width=280'> <img border=1 src='reporting/fgraph.php?id=".$id_agente."&tipo=agentaccess&periodo=1440&height=70&width=280'>
</td>"; </td>
echo "</tr><tr> </tr><tr>
<td><div style='height:25px'> </div> <td><div style='height:25px'> </div>
<b>".$lang_label["agent_module_shareout"]."</b><br><br> <b>".$lang_label["agent_module_shareout"]."</b><br><br>
<img src='reporting/fgraph.php?id=".$id_agente."&tipo=agentmodules&height=150&width=280' > <img src='reporting/fgraph.php?id=".$id_agente."&tipo=agentmodules&height=150&width=280' >
</td></tr>"; </td></tr>
echo "</table></td></tr>"; </table></td></tr>
echo '</table>'; </table>
<div style='height:40px'> </div>";
echo "<div style='height:40px'> </div>";
} }