FOG web interface tuning
-
Hello!
/var/www/html/fog/management/index.php
Please include following code in the end of the file - to make the fog menu buttons provide better UX. So that if clicked on menu item, lets say hosts, then all hosts will be shown, instead of clicking on menu button and then list all hosts.
if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘host’ && empty($_REQUEST[‘sub’])) {
header(‘Location: index.php?node=host&sub=list’);
exit;
}if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘image’ && empty($_REQUEST[‘sub’])) {
header(‘Location: index.php?node=image&sub=list’);
exit;
}if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘user’ && empty($_REQUEST[‘sub’])) {
header(‘Location: index.php?node=user&sub=list’);
exit;
}if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘group’ && empty($_REQUEST[‘sub’])) {
header(‘Location: index.php?node=group&sub=list’);
exit;
} -
@heix75 No.
Not because it’s not a QOL improvement (it is) but because what you see in 1.5.x.x is NOT what is the end goal.
If you want to see what the UX is moving toward install the version of FOG on working-1.6.
You’ll understand (I hope), then, why I’m saying this.
-
T Tom Elliott moved this topic from Bug Reports