Skip to content

Commit

Permalink
Use ipl-web base classes, widgets and traits
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Sep 5, 2023
1 parent 98b9e12 commit 7369c9c
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion library/Notifications/Common/LoadMore.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use Generator;
use Icinga\Module\Notifications\Widget\ItemList\PageSeparatorItem;
use Icinga\Module\Notifications\Widget\ShowMore;
use ipl\Orm\ResultSet;
use ipl\Web\Url;
use ipl\Web\Widget\ShowMore;

trait LoadMore
{
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/ChannelList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Web\Common\BaseItemList;

/**
* A channel list
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/ChannelListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Model\Channel;
use ipl\Html\BaseHtmlElement;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Url;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/ContactList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Web\Common\BaseItemList;

class ContactList extends BaseItemList
{
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/ContactListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Model\Contact;
use ipl\Html\Attributes;
use ipl\Html\BaseHtmlElement;
use ipl\Html\HtmlElement;
use ipl\Html\Text;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Url;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
Expand Down
4 changes: 2 additions & 2 deletions library/Notifications/Widget/ItemList/EventList.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\LoadMore;
use Icinga\Module\Notifications\Common\BaseItemList;
use Icinga\Module\Notifications\Common\NoSubjectLink;
use ipl\Orm\ResultSet;
use ipl\Web\Common\BaseItemList;
use ipl\Web\Common\NoSubjectLink;

class EventList extends BaseItemList
{
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/EventListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Common\Links;
use Icinga\Module\Notifications\Model\Event;
use Icinga\Module\Notifications\Widget\SourceIcon;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
use ipl\Web\Widget\TimeAgo;
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/EventRuleList.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\LoadMore;
use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Orm\ResultSet;
use ipl\Web\Common\BaseItemList;

class EventRuleList extends BaseItemList
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Common\Links;
use Icinga\Module\Notifications\Model\Rule;
use Icinga\Module\Notifications\Widget\CheckboxIcon;
use Icinga\Module\Notifications\Widget\RuleEscalationRecipientBadge;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Web\Common\BaseItemList;

class IncidentContactList extends BaseItemList
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Common\Icons;
use Icinga\Module\Notifications\Model\Contact;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Url;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Web\Common\BaseItemList;

class IncidentHistoryList extends BaseItemList
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\Icons;
use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Common\Links;
use Icinga\Module\Notifications\Model\Event;
use Icinga\Module\Notifications\Model\IncidentHistory;
use Icinga\Module\Notifications\Widget\SourceIcon;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
use ipl\Web\Widget\TimeAgo;
Expand Down
4 changes: 2 additions & 2 deletions library/Notifications/Widget/ItemList/IncidentList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use Icinga\Module\Notifications\Common\NoSubjectLink;
use ipl\Web\Common\BaseItemList;
use ipl\Web\Common\NoSubjectLink;

class IncidentList extends BaseItemList
{
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/IncidentListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\Icons;
use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Common\Links;
use Icinga\Module\Notifications\Model\Incident;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;
use ipl\Web\Widget\Icon;
use ipl\Web\Widget\Link;
use ipl\Web\Widget\TimeAgo;
Expand Down
2 changes: 1 addition & 1 deletion library/Notifications/Widget/ItemList/ObjectLabelList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseItemList;
use ipl\Web\Common\BaseItemList;

class ObjectLabelList extends BaseItemList
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Icinga\Module\Notifications\Widget\ItemList;

use Icinga\Module\Notifications\Common\BaseListItem;
use Icinga\Module\Notifications\Model\SourceObject;
use Icinga\Module\Notifications\Widget\EventSourceBadge;
use Icinga\Module\Notifications\Widget\SourceIcon;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Web\Common\BaseListItem;

/**
* Object label item of a object label list. Represents one database row.
Expand Down

0 comments on commit 7369c9c

Please sign in to comment.