-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ary imports from app.component.ts
- Loading branch information
1 parent
433ef96
commit 14c34b4
Showing
7 changed files
with
87 additions
and
14 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.widget-icon { | ||
margin-bottom: 5px; | ||
} |
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,47 @@ | ||
<div class="widget"> | ||
<widget-header title="Job Summary" icon="fa-list-alt"> | ||
</widget-header> | ||
<widget-body> | ||
<div *ngIf="status=='IN_PROGRESS'"> | ||
<progress-bubble></progress-bubble> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12"> | ||
<div class="widget-content"> | ||
<div class="widget-icon green pull-left"> | ||
<i class="fa fa-check" aria-hidden="true"></i> | ||
</div> | ||
<div class="title">16</div> | ||
<div class="comment">Completed</div> | ||
</div> | ||
</div> | ||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12"> | ||
<div class="widget-content"> | ||
<div class="widget-icon blue pull-left"> | ||
<i class="fa fa-play" aria-hidden="true"></i> | ||
</div> | ||
<div class="title">16</div> | ||
<div class="comment">In Progress</div> | ||
</div> | ||
</div> | ||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12"> | ||
<div class="widget-content"> | ||
<div class="widget-icon orange pull-left"> | ||
<i class="fa fa-ellipsis-h" aria-hidden="true"></i> | ||
</div> | ||
<div class="title">16</div> | ||
<div class="comment">Pending</div> | ||
</div> | ||
</div> | ||
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12"> | ||
<div class="widget-content"> | ||
<div class="widget-icon red pull-left"> | ||
<i class="fa fa-times" aria-hidden="true"></i> | ||
</div> | ||
<div class="title">16</div> | ||
<div class="comment">Cancelled</div> | ||
</div> | ||
</div> | ||
</div> | ||
</widget-body> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
import {ProgressBubbleComponent} from '../../common/progress-bubble/progress-bubble.component'; | ||
import {WidgetHeaderComponent} from '../../common/widget-header/widget-header.component'; | ||
import {WidgetBodyComponent} from '../../common/widget-body/widget-body.component'; | ||
|
||
import {JobService} from '../shared/job.service'; | ||
import {Job} from '../shared/job'; | ||
|
||
@Component({ | ||
selector: 'job-summary', | ||
templateUrl: 'app/job/job-summary/job-summary.component.html', | ||
directives: [ProgressBubbleComponent, WidgetBodyComponent, WidgetHeaderComponent], | ||
styleUrls: ['app/job/job-summary/job-summary.component.css'] | ||
}) | ||
export class JobSummaryComponent implements OnInit { | ||
completedJobCount: number; | ||
inprogressJobCount: number; | ||
pendingJobCount: number; | ||
cancelledJobCount: number; | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { } | ||
} |