mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Cosmetics on setup (Licenses prompt)
Limit the height of the list of licences (displaying a scrollbar if needed) so that the page fits on screen.
This commit is contained in:
@@ -697,6 +697,14 @@ class WizStepLicense extends WizardStep
|
||||
public function Display(WebPage $oPage)
|
||||
{
|
||||
$aLicenses = SetupUtils::GetLicenses();
|
||||
$oPage->add_style(
|
||||
<<<EOF
|
||||
fieldset {
|
||||
max-height: 18em;
|
||||
overflow: auto;
|
||||
}
|
||||
EOF
|
||||
);
|
||||
|
||||
$oPage->add('<h2>Licenses agreements for the components of '.ITOP_APPLICATION.'</h2>');
|
||||
$oPage->add_style('div a.no-arrow { background:transparent; padding-left:0;}');
|
||||
|
||||
Reference in New Issue
Block a user