File

cockpit-config/home-dashboard-config.component.ts

Metadata

Index

Properties
Inputs

Inputs

config
Type : CockpitConfig

Properties

Readonly homeDashboardTypes
Default value : HomeDashboardType

The types of dashboard that can be configured.

<c8y-list-group class="separator-top">
  <c8y-li>
    <c8y-li-radio
      (onSelect)="dashboardChange($event, homeDashboardTypes.DEFAULT)"
      [selected]="verifySelected(homeDashboardTypes.DEFAULT)"
    >
    </c8y-li-radio>
    <p translate>Default home dashboard</p>
    <small translate>Changes done in the home dashboard are reflected across the platform.</small>
  </c8y-li>
  <c8y-li>
    <c8y-li-radio
      (onSelect)="dashboardChange($event, homeDashboardTypes.APP)"
      [selected]="verifySelected(homeDashboardTypes.APP)"
    >
    </c8y-li-radio>
    <p translate>Custom home dashboard</p>
    <small translate
      >Changes done to the home dashboard are reflected only in the current application.</small
    >
  </c8y-li>
  <c8y-li>
    <c8y-li-radio
      (onSelect)="dashboardChange($event, homeDashboardTypes.USER)"
      [selected]="verifySelected(homeDashboardTypes.USER)"
    >
    </c8y-li-radio>
    <p translate>User home dashboard</p>
    <small translate
      >Changes done to the home dashboard are reflected only for the current user. NOTE: This user
      needs to have inventory write permission.</small
    >
  </c8y-li>
</c8y-list-group>

results matching ""

    No results matching ""