File

widgets/implementations/cockpit-legacy-welcome/legacy-welcome.component.ts

Metadata

Index

Methods

Constructor

constructor(dashboard: ContextDashboardComponent)
Parameters :
Name Type Optional
dashboard ContextDashboardComponent No

Methods

restore
restore()
Returns : void
<div class="card-block">
  <p
    class="lead"
    c8y-guide-docs
  >
    <span>{{ 'Welcome to Cockpit' | translate }}.</span>
    <span
      class="cockpit-welcome-manual"
      title="{{ 'Browse the documentation' | translate }}"
      translate
      ngNonBindable
    >
      Find out more in the
      <a c8y-guide-href="/docs/cockpit/cockpit-introduction">user documentation</a>
      .
    </span>
  </p>
  <p class="m-t-16">
    <em>{{ 'New default dashboard available.' | translate }}</em>
  </p>
  <button
    class="btn btn-primary btn-sm m-t-16"
    (click)="restore(); (false)"
    translate
  >
    Get new dashboard
  </button>
</div>

results matching ""

    No results matching ""