Add support for showing network interfaces on Dashboard https://github.com/authentic-theme/authentic-theme/issues/1453

This commit is contained in:
Ilia Rostovtsev
2020-05-20 23:41:08 +03:00
parent 562dd4bf26
commit 68f1f5750e
49 changed files with 141 additions and 7 deletions

View File

@ -70,6 +70,10 @@ print &ui_table_row($text{'acl_hosts'},
print &ui_table_row($text{'acl_apply'},
&ui_radio("apply", $_[0]->{'apply'},
[ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ]));
print &ui_table_row($text{'acl_sysinfo'},
&ui_radio("sysinfo", $_[0]->{'sysinfo'},
[ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ]));
}
# acl_security_save(&options)
@ -91,5 +95,6 @@ $_[0]->{'up'} = $in{'up'};
$_[0]->{'virt'} = $in{'virt'};
$_[0]->{'delete'} = $in{'delete'};
$_[0]->{'hide'} = $in{'hide'};
$_[0]->{'sysinfo'} = $in{'sysinfo'};
}