mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Move css styles from SelfService
to module.less
This commit is contained in:
parent
e657806ee4
commit
ef4068ebde
@ -240,8 +240,7 @@ class SelfService
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: move to CSS
|
$class = ['class' => 'agent-deployment-instructions'];
|
||||||
$codeStyle = ['style' => 'background: black; color: white; height: 14em; overflow: scroll;'];
|
|
||||||
$c->add([
|
$c->add([
|
||||||
Html::tag('h2', null, $this->translate('For manual configuration')),
|
Html::tag('h2', null, $this->translate('For manual configuration')),
|
||||||
Html::tag('p', null, [$this->translate('Ticket'), ': ', Html::tag('code', null, $ticket)]),
|
Html::tag('p', null, [$this->translate('Ticket'), ': ', Html::tag('code', null, $ticket)]),
|
||||||
@ -252,7 +251,7 @@ class SelfService
|
|||||||
null,
|
null,
|
||||||
['class' => 'icon-download', 'target' => '_blank']
|
['class' => 'icon-download', 'target' => '_blank']
|
||||||
),
|
),
|
||||||
Html::tag('pre', $codeStyle, $wizard->renderWindowsInstaller()),
|
Html::tag('pre', $class, $wizard->renderWindowsInstaller()),
|
||||||
Html::tag('p', null, $this->translate(
|
Html::tag('p', null, $this->translate(
|
||||||
'This requires the Icinga Agent to be installed. It generates and signs'
|
'This requires the Icinga Agent to be installed. It generates and signs'
|
||||||
. ' it\'s certificate and it also generates a minimal icinga2.conf to get'
|
. ' it\'s certificate and it also generates a minimal icinga2.conf to get'
|
||||||
@ -266,7 +265,7 @@ class SelfService
|
|||||||
['class' => 'icon-download', 'target' => '_blank']
|
['class' => 'icon-download', 'target' => '_blank']
|
||||||
),
|
),
|
||||||
Html::tag('p', null, $this->translate('Just download and run this script on your Linux Client Machine:')),
|
Html::tag('p', null, $this->translate('Just download and run this script on your Linux Client Machine:')),
|
||||||
Html::tag('pre', $codeStyle, $wizard->renderLinuxInstaller())
|
Html::tag('pre', $class, $wizard->renderLinuxInstaller())
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -303,6 +303,12 @@ pre.generated-config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre.agent-deployment-instructions {
|
||||||
|
color: @text-color;
|
||||||
|
height: 14em;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
table.avp th {
|
table.avp th {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user