widgets/implementations/cockpit-legacy-welcome/legacy-welcome.component.ts
selector | c8y-cockpit-legacy-welcome-widget |
standalone | true |
imports |
CoreModule
DocsModule
|
templateUrl | ./legacy-welcome.component.html |
Methods |
constructor(dashboard: ContextDashboardComponent)
|
||||||
Parameters :
|
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>