File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="container ">
2
+ <!-- Provide the stats -->
2
3
< div class ="stats ">
3
4
< div > Total Bookmarks {{ bookmarkService.bookmarks.length }}</ div >
4
5
< div > Movies {{ bookmarkService.types["movie"].length }}</ div >
5
6
< div > Series {{ bookmarkService.types["series"].length }}</ div >
6
7
< div > Episodes {{ bookmarkService.types["episode"].length }}</ div >
7
8
</ div >
9
+ <!-- Display the stats using progress bar -->
8
10
< div class ="progress ">
9
11
< div
10
12
class ="progress-bar movie "
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ export class BookmarkComponent implements OnInit {
14
14
public bookmarkService : BookmarksService ,
15
15
private movieService : FetchMoviesService
16
16
) { }
17
+
18
+ //This function provide the length for each type in progress bar
17
19
setStyle ( cnt ) {
18
20
const total = this . bookmarkService . bookmarks . length ;
19
21
let val = 0 ;
Original file line number Diff line number Diff line change 1
1
< div class ="container ">
2
+ <!-- Search Feature -->
2
3
< div class ="search-box ">
3
4
< nb-form-field >
4
5
< nb-icon nbPrefix icon ="search " pack ="eva "> </ nb-icon >
22
23
< h6 >Search</ h6 >
23
24
</ button >
24
25
</ div >
26
+ <!-- Render search movie -->
25
27
< app-collection [movies] ="movieService.info.movies "> </ app-collection >
26
28
</ div >
You can’t perform that action at this time.
0 commit comments