8000 add comments · Priyankcoder/Mishlist@7b18389 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b18389

Browse files
committed
add comments
1 parent 2edb123 commit 7b18389

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/app/bookmark/bookmark.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<div class="container">
2+
<!-- Provide the stats -->
23
<div class="stats">
34
<div>Total Bookmarks {{ bookmarkService.bookmarks.length }}</div>
45
<div>Movies {{ bookmarkService.types["movie"].length }}</div>
56
<div>Series {{ bookmarkService.types["series"].length }}</div>
67
<div>Episodes {{ bookmarkService.types["episode"].length }}</div>
78
</div>
9+
<!-- Display the stats using progress bar -->
810
<div class="progress">
911
<div
1012
class="progress-bar movie"

src/app/bookmark/bookmark.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export class BookmarkComponent implements OnInit {
1414
public bookmarkService: BookmarksService,
1515
private movieService: FetchMoviesService
1616
) {}
17+
18+
//This function provide the length for each type in progress bar
1719
setStyle(cnt) {
1820
const total = this.bookmarkService.bookmarks.length;
1921
let val = 0;

src/app/home/home.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<div class="container">
2+
<!-- Search Feature -->
23
<div class="search-box">
34
<nb-form-field>
45
<nb-icon nbPrefix icon="search" pack="eva"></nb-icon>
@@ -22,5 +23,6 @@
2223
<h6>Search</h6>
2324
</button>
2425
</div>
26+
<!-- Render search movie -->
2527
<app-collection [movies]="movieService.info.movies"></app-collection>
2628
</div>

0 commit comments

Comments
 (0)
0