mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-14 08:23:20 -05:00
Adjust tile navigation
* Left to right tile drill down * Actions redirect to main
This commit is contained in:
parent
ac4e217d78
commit
50e18766f6
3 changed files with 5 additions and 3 deletions
|
|
@ -259,6 +259,7 @@ class ProcessController extends Controller
|
|||
}
|
||||
|
||||
if ($form) {
|
||||
$form->getElement($form->getSubmitLabel())->setAttrib('data-base-target', '_main');
|
||||
$this->content()->prependContent(HtmlString::create((string) $form));
|
||||
}
|
||||
}
|
||||
|
|
@ -322,7 +323,8 @@ class ProcessController extends Controller
|
|||
Link::create(
|
||||
$this->translate('Store'),
|
||||
'businessprocess/process/config',
|
||||
array('config' => $bp->getName())
|
||||
array('config' => $bp->getName()),
|
||||
['data-base-target' => '_next']
|
||||
)
|
||||
)->addContent(
|
||||
Link::create(
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ class TileRenderer extends Renderer
|
|||
protected function addNewNode()
|
||||
{
|
||||
$div = Container::create(
|
||||
array('class' => 'addnew', 'data-base-target' => '_self')
|
||||
array('class' => 'addnew', 'data-base-target' => '_next')
|
||||
);
|
||||
|
||||
$actions = Container::create(
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class NodeTile extends BaseElement
|
|||
$this->actions = Container::create(
|
||||
array(
|
||||
'class' => 'actions',
|
||||
'data-base-target' => '_self'
|
||||
'data-base-target' => '_next'
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue