This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(upgrade): update <template> to <ng-template>
- Loading branch information
1 parent
99ae25d
commit 8374fcc
Showing
5 changed files
with
67 additions
and
67 deletions.
There are no files selected for viewing
34 changes: 17 additions & 17 deletions
34
src/app/kubernetes/components/build-status-icon/build-status-icon.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,24 +1,24 @@ | ||
<span [ngSwitch]="status" class="hide-ng-leave status-icon" title="build status {{status}}"> | ||
<template ngSwitchCase="Complete"><i class="fa fa-check-circle text-success"></i></template> | ||
<template ngSwitchCase="Failed"><i class="fa fa-times-circle text-danger"></i></template> | ||
<ng-template ngSwitchCase="Complete"><i class="fa fa-check-circle text-success"></i></ng-template> | ||
<ng-template ngSwitchCase="Failed"><i class="fa fa-times-circle text-danger"></i></ng-template> | ||
|
||
<!-- | ||
<template ngSwitchCase="Failed"><span class="fa fa-times text-danger" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Complete"><span class="fa fa-check text-success" aria-hidden="true"></span></template> | ||
<ng-template ngSwitchCase="Failed"><span class="fa fa-times text-danger" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Complete"><span class="fa fa-check text-success" aria-hidden="true"></span></ng-template> | ||
--> | ||
<template ngSwitchCase="Completed"><span class="fa fa-check text-success" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Cancelled"><span class="fa fa-ban text-muted" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Active"><span class="fa fa-refresh" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Error"><span class="fa fa-times text-danger" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="New"><span class="spinner spinner-xs spinner-inline" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Pending"><span class="spinner spinner-xs spinner-inline" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Running"><span class="fa fa-refresh" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Succeeded"><span class="fa fa-check text-success" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Bound"><span class="fa fa-check text-success" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Terminating"><span class="fa fa-times text-danger" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Terminated"><span class="fa fa-times text-danger" aria-hidden="true"></span></template> | ||
<template ngSwitchCase="Unknown"><span class="fa fa-question text-danger" aria-hidden="true"></span></template> | ||
<ng-template ngSwitchCase="Completed"><span class="fa fa-check text-success" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Cancelled"><span class="fa fa-ban text-muted" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Active"><span class="fa fa-refresh" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Error"><span class="fa fa-times text-danger" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="New"><span class="spinner spinner-xs spinner-inline" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Pending"><span class="spinner spinner-xs spinner-inline" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Running"><span class="fa fa-refresh" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Succeeded"><span class="fa fa-check text-success" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Bound"><span class="fa fa-check text-success" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Terminating"><span class="fa fa-times text-danger" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Terminated"><span class="fa fa-times text-danger" aria-hidden="true"></span></ng-template> | ||
<ng-template ngSwitchCase="Unknown"><span class="fa fa-question text-danger" aria-hidden="true"></span></ng-template> | ||
|
||
<!-- Container Runtime States --> | ||
<template ngSwitchDefault><span class="pficon-warning-triangle-o"></span></template> | ||
<ng-template ngSwitchDefault><span class="pficon-warning-triangle-o"></span></ng-template> | ||
</span> |
44 changes: 22 additions & 22 deletions
44
src/app/kubernetes/components/pod-phase-icon/pod-phase-icon.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,26 +1,26 @@ | ||
<span [ngSwitch]="phase" title="pod status: {{phase}}"> | ||
<template ngSwitchCase="Ready"><span class="pficon-running"></span></template> | ||
<template ngSwitchCase="Running"><span class="pficon-restart"></span></template> | ||
<template ngSwitchCase="Completed"><span class="pficon-ok"></span></template> | ||
<template ngSwitchCase="Succeeded"><span class="pficon-ok"></span></template> | ||
<template ngSwitchCase="Failed"><span class="pficon-error-circle-o"></span></template> | ||
<template ngSwitchCase="Pending"><i class="fa fa-download" aria-hidden="true"></i></template> | ||
<template ngSwitchCase="Terminating"><i class="fa fa-times text-danger" aria-hidden="true"></i></template> | ||
<ng-template ngSwitchCase="Ready"><span class="pficon-running"></span></ng-template> | ||
<ng-template ngSwitchCase="Running"><span class="pficon-restart"></span></ng-template> | ||
<ng-template ngSwitchCase="Completed"><span class="pficon-ok"></span></ng-template> | ||
<ng-template ngSwitchCase="Succeeded"><span class="pficon-ok"></span></ng-template> | ||
<ng-template ngSwitchCase="Failed"><span class="pficon-error-circle-o"></span></ng-template> | ||
<ng-template ngSwitchCase="Pending"><i class="fa fa-download" aria-hidden="true"></i></ng-template> | ||
<ng-template ngSwitchCase="Terminating"><i class="fa fa-times text-danger" aria-hidden="true"></i></ng-template> | ||
|
||
<template ngSwitchCase="ContainerCreating" class="spinner spinner-xs spinner-inline" aria-hidden="true"></template> | ||
<template ngSwitchCase="CrashLoopBackOff" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="ImagePullBackOff" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="ImageInspectError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="ErrImagePull" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="ErrImageNeverPull" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="no matching container" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="RegistryUnavailable" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="RunContainerError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="KillContainerError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="VerifyNonRootError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="SetupNetworkError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="TeardownNetworkError" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<template ngSwitchCase="DeadlineExceeded" class="fa fa-times text-danger" aria-hidden="true"></template> | ||
<ng-template ngSwitchCase="ContainerCreating" class="spinner spinner-xs spinner-inline" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="CrashLoopBackOff" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="ImagePullBackOff" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="ImageInspectError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="ErrImagePull" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="ErrImageNeverPull" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="no matching container" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="RegistryUnavailable" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="RunContainerError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="KillContainerError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="VerifyNonRootError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="SetupNetworkError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="TeardownNetworkError" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
<ng-template ngSwitchCase="DeadlineExceeded" class="fa fa-times text-danger" aria-hidden="true"></ng-template> | ||
|
||
<template ngSwitchDefault><span class="pficon-warning-triangle-o"></span></template> | ||
<ng-template ngSwitchDefault><span class="pficon-warning-triangle-o"></span></ng-template> | ||
</span> |
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