@@ -27,21 +27,6 @@ <h1 class="movie-title">{{omdbMovie.title}}</h1>
2727 < span *ngIf ="myRating !== 0 && myRatingBackup !== 0 " class ="clear-rating clickable glyphicon glyphicon-remove " (click) ="unrate() "> </ span >
2828 </ div >
2929 </ div >
30- <!--
31- <label for="my-rating">My Rating:</label>
32- <div class="my-rating" (mouseleave)="clearPreview()" (mouseenter)="storeRating()">
33- <span class="glyphicon clickable {{ myRating < 1 ? 'glyphicon-star-empty': 'glyphicon-star' }}"
34- (mouseenter)="ratePreview(1)" (click)="rate(1)"></span>
35- <span class="glyphicon clickable {{ myRating < 2 ? 'glyphicon-star-empty': 'glyphicon-star' }}"
36- (mouseenter)="ratePreview(2)" (click)="rate(2)"></span>
37- <span class="glyphicon clickable {{ myRating < 3 ? 'glyphicon-star-empty': 'glyphicon-star' }}"
38- (mouseenter)="ratePreview(3)" (click)="rate(3)"></span>
39- <span class="glyphicon clickable {{ myRating < 4 ? 'glyphicon-star-empty': 'glyphicon-star' }}"
40- (mouseenter)="ratePreview(4)" (click)="rate(4)"></span>
41- <span class="glyphicon clickable {{ myRating < 5 ? 'glyphicon-star-empty': 'glyphicon-star' }}"
42- (mouseenter)="ratePreview(5)" (click)="rate(5)"></span>
43- <button class="btn btn-default" (click)="unrate()">Clear</button>
44- </div>-->
4530 </ div >
4631 </ div >
4732 < div class ="col-xs-6 col-sm-6 col-md-8 col-lg-8 xxs ">
@@ -101,10 +86,10 @@ <h3 class="h4-margins">Comments</h3>
10186 </ td >
10287 </ tr >
10388 </ table >
104- < div *ngIf =" userService.getActiveUser() " >
105- < input type =" text " class =" comment-input " [(ngModel)] =" newComment " (keyup.enter) =" addComment() ">
106- < button class ="btn " (click) =" addComment() "> Comment! </ button >
107- </ div >
89+ </ div >
90+ < div *ngIf =" userService.getActiveUser() " class =" new-comment ">
91+ < input type =" text " class ="comment-input " [(ngModel)] =" newComment " (keyup.enter) =" addComment() ">
92+ < button class =" btn " (click) =" addComment() " > Comment! </ button >
10893 </ div >
10994 </ div >
11095 < div class ="col-xs-12 col-sm-12 col-md-12 col-lg-12 " *ngIf ="!fetchingLibraries ">
0 commit comments