-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cd8baf
commit 778e691
Showing
15 changed files
with
425 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 51 additions & 29 deletions
80
core/examples/luigi-sample-angular/src/app/overview/overview.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,58 @@ | ||
<header class="fd-page__header"> | ||
<div class="fd-action-bar"> | ||
<div class="fd-action-bar__header"> | ||
<h1 class="fd-action-bar__title"> | ||
Luigi Angular Example | ||
</h1> | ||
<p class="fd-action-bar__description">Follow the links below to the Luigi feature demos.</p> | ||
</div> | ||
</div> | ||
<div class="fd-action-bar"> | ||
<div class="fd-action-bar__header"> | ||
<h1 class="fd-action-bar__title"> | ||
Luigi Angular Example | ||
</h1> | ||
<p class="fd-action-bar__description">Follow the links below to the Luigi feature demos.</p> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<section class="fd-section"> | ||
<div class="fd-section__header"> | ||
<h1 class="fd-section__title">LuigiClient Features</h1> | ||
</div> | ||
<div class="fd-panel"> | ||
<ul class="fd-list-group"> | ||
<li class="fd-list-group__item clickable" *ngFor="let item of luigiClientLinks" (click)="luigiClient.linkManager().navigate(item.link)"> | ||
<strong>{{item.text}}</strong> – {{item.description}} | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="fd-section__header"> | ||
<h1 class="fd-section__title">LuigiClient Features</h1> | ||
</div> | ||
<div class="fd-panel"> | ||
<ul class="fd-list-group"> | ||
<li class="fd-list-group__item clickable" *ngFor="let item of luigiClientLinks" (click)="luigiClient.linkManager().navigate(item.link)"> | ||
<strong>{{item.text}}</strong> – {{item.description}} | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
|
||
<section class="fd-section"> | ||
<div class="fd-section__header"> | ||
<h1 class="fd-section__title">Luigi Core Features</h1> | ||
</div> | ||
<div class="fd-panel"> | ||
<ul class="fd-list-group"> | ||
<li class="fd-list-group__item clickable" *ngFor="let item of luigiCoreLinks" (click)="luigiClient.linkManager().navigate(item.link)"> | ||
<strong>{{item.text}}</strong> – {{item.description}} | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
<div class="fd-section__header"> | ||
<h1 class="fd-section__title">Luigi Core Features</h1> | ||
</div> | ||
<div class="fd-panel"> | ||
<ul class="fd-list-group"> | ||
<li class="fd-list-group__item clickable" *ngFor="let item of luigiCoreLinks" (click)="luigiClient.linkManager().navigate(item.link)"> | ||
<strong>{{item.text}}</strong> – {{item.description}} | ||
</li> | ||
<li class="fd-list-group__item "> | ||
<div class="fd-form__item fd-form__item--check"> | ||
<label class="fd-form__label" for="ImBw4551"> | ||
<span class="fd-toggle fd-toggle--xs fd-form__control"> | ||
<input type="checkbox" [(ngModel)]="isDirty" (change)="sendDirtyEvent()" id="ImBw4551" data-cy="toggle-dirty-state" > | ||
<span class="fd-toggle__switch" role="presentation"></span> | ||
</span> | ||
|
||
</label> | ||
</div> | ||
<span *ngIf="!isDirty"> | ||
<strong>There are no unsaved changes</strong> | ||
– toggle this to be asked for confirmation when you leave this page | ||
</span> | ||
<span *ngIf="isDirty"> | ||
<strong>There are unsaved changes</strong> | ||
– a confirmation modal will appear when you navigate | ||
<a title="Navigate to /projects/pr2 as an example" (click)="luigiClient.linkManager().navigate('/projects/pr2')"> | ||
somewhere else | ||
</a> | ||
</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.