-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2411 from ORCID/standardize-alert-panels
Standardize alert panels
- Loading branch information
Showing
45 changed files
with
445 additions
and
599 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
13 changes: 0 additions & 13 deletions
13
...nt-settings/components/dialog-actions-duplicated/dialog-actions-duplicated.component.scss
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
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
13 changes: 0 additions & 13 deletions
13
...ents/dialog-revoke-trusted-organization/dialog-revoke-trusted-organization.component.scss
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
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,9 +1,45 @@ | ||
<div> | ||
<mat-icon class="large-material-icon" role="presentation" | ||
>error_outline</mat-icon | ||
> | ||
</div> | ||
<div | ||
class="alert-container" | ||
[ngClass]="{ | ||
'alert-notice': type == 'notice', | ||
'alert-info': type == 'info', | ||
'alert-warning': type == 'warning', | ||
'alert-success': type == 'success' | ||
}" | ||
> | ||
<div> | ||
<mat-icon | ||
*ngIf="type == 'notice'" | ||
class="large-material-icon" | ||
role="presentation" | ||
>info_outline</mat-icon | ||
> | ||
<mat-icon | ||
*ngIf="type == 'info'" | ||
class="large-material-icon" | ||
role="presentation" | ||
>help_outline</mat-icon | ||
> | ||
<mat-icon | ||
*ngIf="type == 'warning'" | ||
class="large-material-icon" | ||
role="presentation" | ||
>warning_amber</mat-icon | ||
> | ||
<mat-icon | ||
*ngIf="type == 'success'" | ||
class="large-material-icon" | ||
role="presentation" | ||
>thumb_up_off_alt</mat-icon | ||
> | ||
</div> | ||
|
||
<div class="alert-container"> | ||
<ng-content></ng-content> | ||
<div> | ||
<strong class="title orc-font-body"> | ||
<ng-content select="[title]"></ng-content> | ||
</strong> | ||
<div class="content orc-font-body-small"> | ||
<ng-content select="[content]"></ng-content> | ||
</div> | ||
</div> | ||
</div> |
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
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.