mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Changed javascript code to jquery code and fixed style
This commit is contained in:
parent
b78f39f420
commit
012393d164
@ -101,12 +101,12 @@ function main_net_tools () {
|
|||||||
function mostrarColumns(ValueSelect){
|
function mostrarColumns(ValueSelect){
|
||||||
value = ValueSelect.value;
|
value = ValueSelect.value;
|
||||||
if ( value==3 ) {
|
if ( value==3 ) {
|
||||||
document.getElementById('netToolTable').width='100%';
|
$('netToolTable').css('width','100%');
|
||||||
document.getElementById('snmpcolumn').style.display='block';
|
$('#snmpcolumn').show();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
document.getElementById('netToolTable').width='100%';
|
$('netToolTable').css('width','100%');
|
||||||
document.getElementById('snmpcolumn').style.display='none';
|
$('#snmpcolumn').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>";
|
</script>";
|
||||||
@ -143,7 +143,7 @@ function main_net_tools () {
|
|||||||
echo __("SNMP Community") . " ";
|
echo __("SNMP Community") . " ";
|
||||||
echo "<input name=community type=text value='public'>";
|
echo "<input name=community type=text value='public'>";
|
||||||
echo "</td><td>";
|
echo "</td><td>";
|
||||||
echo "<input name=submit type=submit class='sub next' value='".__('Execute')."'>";
|
echo "<input style='margin:0px;' name=submit type=submit class='sub next' value='".__('Execute')."'>";
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "</tr></table>";
|
echo "</tr></table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user