diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-06 16:58:55 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-06 16:58:55 +0100 |
commit | 54e7884775197877dd941b44bef03b3c6387b22a (patch) | |
tree | 6a37e8e5476c382b84b77327597e209a9afb64e3 /client/src/app/videos/+video-watch/comment | |
parent | de702865f47f647fafb34ca05dde3ea780a4ecb1 (diff) | |
download | PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.gz PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.zst PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.zip |
Normalize modal close buttons, and cancel/submit button styles
Diffstat (limited to 'client/src/app/videos/+video-watch/comment')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html index 3a9977df6..29c7a8bfa 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html | |||
@@ -29,15 +29,11 @@ | |||
29 | <ng-template #visitorModal let-modal> | 29 | <ng-template #visitorModal let-modal> |
30 | <div class="modal-header"> | 30 | <div class="modal-header"> |
31 | <h4 class="modal-title" id="modal-basic-title" i18n>You are one step away from commenting</h4> | 31 | <h4 class="modal-title" id="modal-basic-title" i18n>You are one step away from commenting</h4> |
32 | <button type="button" class="close" aria-label="Close" (click)="hideVisitorModal()"></button> | 32 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hideVisitorModal()"></my-global-icon> |
33 | </div> | 33 | </div> |
34 | <div class="modal-body"> | 34 | <div class="modal-body"> |
35 | <span i18n> | 35 | <span i18n> |
36 | If you have an account on this instance, you can login: | 36 | You can comment using an account on any ActivityPub-compatible instance. |
37 | </span> | ||
38 | <span class="btn btn-sm mx-3" role="button" (click)="gotoLogin()" i18n>login to comment</span> | ||
39 | <span i18n> | ||
40 | Otherwise, you can comment using an account on any ActivityPub-compatible instance. | ||
41 | On most platforms, you can find the video by typing its URL in the search bar and then comment it | 37 | On most platforms, you can find the video by typing its URL in the search bar and then comment it |
42 | from within the software's interface. | 38 | from within the software's interface. |
43 | </span> | 39 | </span> |
@@ -50,5 +46,10 @@ | |||
50 | <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()"> | 46 | <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()"> |
51 | Cancel | 47 | Cancel |
52 | </span> | 48 | </span> |
49 | |||
50 | <input | ||
51 | type="submit" i18n-value value="Login to comment" class="action-button-submit" | ||
52 | (click)="gotoLogin()" | ||
53 | > | ||
53 | </div> | 54 | </div> |
54 | </ng-template> | 55 | </ng-template> |