mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Basic styling for 'Add to dashboard'
This commit is contained in:
parent
9d8bd28148
commit
08c66afec2
@ -88,6 +88,10 @@ class DashboardController extends ActionController
|
|||||||
*/
|
*/
|
||||||
public function addurlAction()
|
public function addurlAction()
|
||||||
{
|
{
|
||||||
|
$this->getTabs()->add('addurl', array(
|
||||||
|
'title' => 'Add Dashboard URL',
|
||||||
|
'url' => Url::fromRequest()
|
||||||
|
))->activate('addurl');
|
||||||
$form = new AddUrlForm();
|
$form = new AddUrlForm();
|
||||||
$form->setRequest($this->_request);
|
$form->setRequest($this->_request);
|
||||||
$this->view->form = $form;
|
$this->view->form = $form;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<h1>Hosts Status</h1>
|
<div class="controls">
|
||||||
|
<?= $this->tabs ?>
|
||||||
<div style="max-width:600px" >
|
</div>
|
||||||
<?= $this->form->render($this); ?>
|
|
||||||
|
<div class="content" >
|
||||||
|
<?= $this->form ?>
|
||||||
</div>
|
</div>
|
Loading…
x
Reference in New Issue
Block a user