mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Announcements: Increase font-size and align control layout
refs #3676 refs #3560 refs #3839
This commit is contained in:
parent
c492c6bb23
commit
f70f996085
@ -17,7 +17,7 @@ class AcknowledgeAnnouncementForm extends Form
|
|||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->setAction(Url::fromPath('announcements/acknowledge'));
|
$this->setAction(Url::fromPath('announcements/acknowledge'));
|
||||||
$this->setAttrib('class', 'form-inline acknowledge-announcement-control');
|
$this->setAttrib('class', 'inline acknowledge-announcement-control');
|
||||||
$this->setRedirectUrl('layout/announcements');
|
$this->setRedirectUrl('layout/announcements');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class Announcements extends AbstractWidget
|
|||||||
foreach ($announcements as $announcement) {
|
foreach ($announcements as $announcement) {
|
||||||
$ackForm = new AcknowledgeAnnouncementForm();
|
$ackForm = new AcknowledgeAnnouncementForm();
|
||||||
$ackForm->populate(array('hash' => $announcement->hash));
|
$ackForm->populate(array('hash' => $announcement->hash));
|
||||||
$html .= '<li><div>'
|
$html .= '<li><div class="message">'
|
||||||
. Markdown::text($announcement->message)
|
. Markdown::text($announcement->message)
|
||||||
. '</div>'
|
. '</div>'
|
||||||
. $ackForm
|
. $ackForm
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
.message {
|
.message {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
padding-right: 1.5em;
|
||||||
|
font-size: 7/6em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -45,7 +47,7 @@
|
|||||||
margin-top: -0.75em;
|
margin-top: -0.75em;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
right: .75em;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user