-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/dashboard: Introduce 'cd-loading-panel' component
Signed-off-by: Volker Theile <vtheile@suse.com>
- Loading branch information
Showing
5 changed files
with
44 additions
and
1 deletion.
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
7 changes: 7 additions & 0 deletions
7
...r/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<alert type="info"> | ||
<strong> | ||
<i class="fa fa-spinner fa-spin fa-fw" | ||
aria-hidden="true"></i> | ||
</strong> | ||
<ng-content></ng-content> | ||
</alert> |
Empty file.
25 changes: 25 additions & 0 deletions
25
...ashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.spec.ts
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { LoadingPanelComponent } from './loading-panel.component'; | ||
|
||
describe('LoadingPanelComponent', () => { | ||
let component: LoadingPanelComponent; | ||
let fixture: ComponentFixture<LoadingPanelComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ LoadingPanelComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(LoadingPanelComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
9 changes: 9 additions & 0 deletions
9
...mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.ts
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'cd-loading-panel', | ||
templateUrl: './loading-panel.component.html', | ||
styleUrls: ['./loading-panel.component.scss'] | ||
}) | ||
export class LoadingPanelComponent { | ||
} |