mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
FilterEditor: no title, add cancel button
This commit is contained in:
parent
dcc0c213b2
commit
ee16391720
@ -323,16 +323,17 @@ class FilterEditor extends AbstractWidget
|
|||||||
if (! $this->url()->getParam('modifyFilter')) {
|
if (! $this->url()->getParam('modifyFilter')) {
|
||||||
return $this->renderSearch() . $this->shorten($this->filter, 50);
|
return $this->renderSearch() . $this->shorten($this->filter, 50);
|
||||||
}
|
}
|
||||||
|
return $this->renderSearch()
|
||||||
return '<h3>'
|
|
||||||
. t('Modify this filter')
|
|
||||||
. '</h3>'
|
|
||||||
. '<form action="'
|
. '<form action="'
|
||||||
. Url::fromRequest()
|
. Url::fromRequest()
|
||||||
. '" class="filterEditor" method="POST">'
|
. '" class="filterEditor" method="POST">'
|
||||||
. '<ul class="tree"><li>'
|
. '<ul class="tree"><li>'
|
||||||
. $this->renderFilter($this->filter)
|
. $this->renderFilter($this->filter)
|
||||||
. '</li></ul><br /><input type="submit" name="submit" value="Apply" />'
|
. '</li></ul>'
|
||||||
|
. '<div style="float: right">'
|
||||||
|
. '<input type="submit" name="submit" value="Apply" />'
|
||||||
|
. '<input type="submit" name="cancel" value="Cancel" />'
|
||||||
|
. '</div>'
|
||||||
. '</form>';
|
. '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user