2011-02-21 Miguel de Dios <miguel.dedios@artica.es>

* include/styles/pandora.css, godmode/servers/modificar_server.php: added
	lost icons in the legend of servers.
	
	Fixes: #3174880



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-02-21 18:01:14 +00:00
parent 7a750958c5
commit d717ea19a2
3 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/servers/modificar_server.php: added
lost icons in the legend of servers.
Fixes: #3174880
2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: fixed the return of call ajax, now it haven't

View File

@ -126,12 +126,19 @@ if (isset($_GET["server"])) {
//Legend
echo "<table>";
echo "<tr><td colspan='5'>" . __('Legend') . "</td></tr>";
echo "<tr>";
echo '<td><span class="net">'.__('Network server').'</span></td>';
echo '<td><span class="master">'.__('Master').'</span></td>';
echo '<td><span class="data">'.__('Data server').'</span></td>';
echo '<td><span class="binary">'.__('MD5 check').'</span></td>';
echo '<td><span class="snmp">'.__('SNMP console').'</span></td>';
echo "</tr><tr>";
echo '<td><span class="recon_server">'.__('Recon server').'</span></td>';
echo '<td><span class="wmi_server">'.__('WMI server').'</span></td>';
echo '<td><span class="export_server">'.__('Export server').'</span></td>';
echo '<td><span class="inventory_server">'.__('Inventory server').'</span></td>';
echo '<td><span class="web_server">'.__('Web server').'</span></td>';
echo "</tr></table>";
} else {
echo "<div class='nf'>".__('There are no servers configured into the database')."</div>";

View File

@ -696,12 +696,28 @@ span.rmess {
span.nrmess {
background: url(../../images/email.png) no-repeat;
}
span.recon_server {
background: url(../../images/recon.png) no-repeat;
}
span.wmi_server {
background: url(../../images/wmi.png) no-repeat;
}
span.export_server {
background: url(../../images/server_export.png) no-repeat;
}
span.inventory_server {
background: url(../../images/page_white_text.png) no-repeat;
}
span.web_server {
background: url(../../images/world.png) no-repeat;
}
/* This kind of span do not have any sense, should be replaced on PHP code
by a real img in code. They are not useful because insert too much margin around
(for example, not valid to use in the table of server view */
span.users, span.agents, span.data, span.alerts, span.time, span.net,
span.master, span.snmp, span.binary, span.recon, span.wmi, span.prediction,
span.plugin, span.plugin, span.export {
span.plugin, span.plugin, span.export, span.recon_server, span.wmi_server,
span.export_server, span.inventory_server, span.web_server {
margin-left: 4px;
margin-top: 10px;
padding: 4px 8px 12px 30px;