2007-04-29 Raul Mateos <raulofpandora@gmail.com>

* images/recon.png: Renamed file from chart_organization.png

	* include/pandora.css: Added styles for table in servers.

	* operation/servers/view_server.php: Used style added. Change order
	for table (now the legend is shown only if there are servers)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2007-04-29 13:19:45 +00:00
parent 7285014751
commit d794b130ea
4 changed files with 53 additions and 18 deletions

View File

@ -1,3 +1,12 @@
2007-04-29 Raul Mateos <raulofpandora@gmail.com>
* images/recon.png: Renamed file from chart_organization.png
* include/pandora.css: Added styles for table in servers.
* operation/servers/view_server.php: Used style added. Change order
for table (now the legend is shown only if there are servers).
2007-04-24 Raul Mateos <raulofpandora@gmail.com>
* install.php: Changed typo in installation text. Homogenize boxes.

View File

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View File

@ -542,7 +542,6 @@ div.data_box {
text-decoration: none;
}
span.users {
background: url(../../images/group.png) no-repeat;
}
@ -558,7 +557,23 @@ span.alerts {
span.time {
background: url(../../images/hourglass.png) no-repeat;
}
span.users, span.agents, span.data, span.alerts, span.time {
span.net {
background: url(../../images/network.gif) no-repeat;
}
span.master {
background: url(../../images/master.gif) no-repeat;
}
span.snmp {
background: url(../../images/snmp.gif) no-repeat;
}
span.binary {
background: url(../../images/binary.gif) no-repeat;
}
span.recon {
background: url(../../images/recon.png) no-repeat;
}
span.users, span.agents, span.data, span.alerts, span.time, span.net,
span.master, span.snmp, span.binary, span.recon {
margin-left: 4px;
margin-top: 10px;
padding: 4px 8px 12px 30px;

View File

@ -221,7 +221,7 @@ if (comprueba_login() == 0) {
echo "&nbsp; <img src='images/snmp.gif'>";
}
if ($recon_server == 1){
echo "&nbsp; <img src='images/chart_organisation.png'>";
echo "&nbsp; <img src='images/recon.png'>";
}
if ($master == 1){
echo "&nbsp; <img src='images/master.gif'>";
@ -238,7 +238,31 @@ if (comprueba_login() == 0) {
// if ($status ==0)
echo substr($keepalive,0,25)."</td>";
}
echo '<tr><td colspan="11"><div class="raya"></div></td></tr></table>';
echo '<tr><td colspan="11"><div class="raya"></div>
</td></tr></table>';
echo "<table cellpadding=2 cellspacing=0>";
echo "
<tr>
<td>
<span class='net'>".$lang_label["network_server"]."</span>
</td>
<td>
<span class='master'>".$lang_label["master"]."</span>
</td>
<td>
<span class='data'>".$lang_label["data_server"]."</span>
</td>
<td>
<span class='binary'>".$lang_label["md5_checksum"]."</span>
</td>
<td>
<span class='snmp'>".$lang_label["snmp_console"]."</span>
</td>
<td>
<span class='recon'>".$lang_label["recon_server"]."</span>
</td>
</tr>";
echo "</table>";
} else {
echo "<div class='nf'>".$lang_label["no_server"]."</div>";
}
@ -247,19 +271,6 @@ if (comprueba_login() == 0) {
audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access Agent view");
require ("general/noaccess.php");
}
echo "<table cellpadding=4 cellspacing=4>";
echo "<tr><td>";
echo "<img src='images/network.gif'><td>".$lang_label["network_server"];
echo "<td>";
echo "<img src='images/master.gif'><td>".$lang_label["master"];
echo "<td>";
echo "<img src='images/data.gif'><td>".$lang_label["data_server"];
echo "<td>";
echo "<img src='images/binary.gif'><td>".$lang_label["md5_checksum"];
echo "<td>";
echo "<img src='images/snmp.gif'><td>".$lang_label["snmp_console"];
echo "<td>";
echo "<img src='images/chart_organisation.png'><td>".$lang_label["recon_server"];
echo "</table>";
}
?>