mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-25 05:22:53 -05:00
Html, Renderer: phpcs
This commit is contained in:
parent
dbeb05aac9
commit
d17b0efaa7
6 changed files with 8 additions and 8 deletions
|
|
@ -5,4 +5,4 @@ namespace Icinga\Module\Businessprocess\Html;
|
|||
class HtmlString extends Text
|
||||
{
|
||||
protected $escaped = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ namespace Icinga\Module\Businessprocess\Html;
|
|||
interface Renderable
|
||||
{
|
||||
public function render();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,4 +58,4 @@ class Text implements Renderable
|
|||
return Util::escapeForHtml($this->string);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,14 +50,14 @@ class TileRenderer extends Renderer
|
|||
|
||||
public function renderBreadCrumb()
|
||||
{
|
||||
$breadcrumb = Element::create( 'ul', array(
|
||||
$breadcrumb = Element::create('ul', array(
|
||||
'class' => 'breadcrumb',
|
||||
'data-base-target' => '_main'
|
||||
));
|
||||
|
||||
$breadcrumb->add(Element::create('li')->add(
|
||||
Link::create($this->bp->getTitle(), $this->getBaseUrl()))
|
||||
);
|
||||
Link::create($this->bp->getTitle(), $this->getBaseUrl())
|
||||
));
|
||||
$bp = $this->bp;
|
||||
$path = $this->getMyPath();
|
||||
$max = 20;
|
||||
|
|
|
|||
|
|
@ -44,4 +44,4 @@ class AddNewTile extends BaseElement
|
|||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,4 +50,4 @@ class NodeTile extends BaseElement
|
|||
$link->addContent($renderer->renderStateBadges($node->getStateSummary()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue