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()
|
||||
{
|
||||
$this->getTabs()->add('addurl', array(
|
||||
'title' => 'Add Dashboard URL',
|
||||
'url' => Url::fromRequest()
|
||||
))->activate('addurl');
|
||||
$form = new AddUrlForm();
|
||||
$form->setRequest($this->_request);
|
||||
$this->view->form = $form;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<h1>Hosts Status</h1>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
</div>
|
||||
|
||||
<div style="max-width:600px" >
|
||||
<?= $this->form->render($this); ?>
|
||||
</div>
|
||||
<div class="content" >
|
||||
<?= $this->form ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue