Positive action buttons on the right.

This commit is contained in:
Paulo Reis 2016-11-16 11:03:29 +00:00
parent 69692934a9
commit db5dc6ef15

View file

@ -92,12 +92,12 @@ div.full-size(
span(ng-switch-when="delete") Delete  span(ng-switch-when="delete") Delete 
del.rp-content-highlight {{ entry.content }} del.rp-content-highlight {{ entry.content }}
.rp-entry-actions .rp-entry-actions
a.rp-entry-button(href, ng-click="acceptChange(entry_id)")
i.fa.fa-check
|  Accept
a.rp-entry-button(href, ng-click="rejectChange(entry_id)") a.rp-entry-button(href, ng-click="rejectChange(entry_id)")
i.fa.fa-times i.fa.fa-times
|  Reject |  Reject
a.rp-entry-button(href, ng-click="acceptChange(entry_id)")
i.fa.fa-check
|  Accept
div(ng-if="entry.type == 'comment'") div(ng-if="entry.type == 'comment'")
.rp-comment( .rp-comment(
ng-repeat="comment in entry.thread" ng-repeat="comment in entry.thread"
@ -139,12 +139,12 @@ div.full-size(
placeholder="Add your comment here" placeholder="Add your comment here"
) )
.rp-entry-actions .rp-entry-actions
a.rp-entry-button(href, ng-click="submitNewComment()")
i.fa.fa-comment
|  Comment
a.rp-entry-button(href, ng-click="cancelNewComment()") a.rp-entry-button(href, ng-click="cancelNewComment()")
i.fa.fa-times i.fa.fa-times
|  Cancel |  Cancel
a.rp-entry-button(href, ng-click="submitNewComment()")
i.fa.fa-comment
|  Comment
.ui-layout-east .ui-layout-east
div(ng-if="ui.pdfLayout == 'sideBySide'") div(ng-if="ui.pdfLayout == 'sideBySide'")