added tabs, moderation box view and comment display
This commit is contained in:
parent
32623ec2f2
commit
f403a0a2f8
|
@ -0,0 +1,9 @@
|
||||||
|
There are no comments yet
|
||||||
|
%ul.comments
|
||||||
|
%li
|
||||||
|
%img.img-rounded.answerbox--img-small
|
||||||
|
%b username
|
||||||
|
comment
|
||||||
|
.form-group.has-feedback
|
||||||
|
%input.form-control.comments--box{type: :text, placeholder: 'Comment...'}
|
||||||
|
%span.text-muted.form-control-feedback.comments--count 160
|
|
@ -0,0 +1,23 @@
|
||||||
|
.panel.panel-default.moderationbox
|
||||||
|
.panel-heading
|
||||||
|
%img.img-rounded.answerbox--img-small
|
||||||
|
username reported some minutes ago
|
||||||
|
.panel-body
|
||||||
|
%p really, really bad content
|
||||||
|
.row
|
||||||
|
.col-md-6.col-sm-4.col-xs-6.text-left
|
||||||
|
%button.btn.btn-primary
|
||||||
|
View reported
|
||||||
|
contenttype
|
||||||
|
.col-md-6.col-sm-8.col-xs-6.text-right
|
||||||
|
%button.btn.btn-success.btn-sm
|
||||||
|
%i.fa.fa-thumbs-up
|
||||||
|
%span 0
|
||||||
|
%button.btn.btn-danger.btn-sm
|
||||||
|
%i.fa.fa-thumbs-down
|
||||||
|
%span 0
|
||||||
|
%button.btn.btn-primary.btn-sm
|
||||||
|
%i.fa.fa-comments
|
||||||
|
%span 0
|
||||||
|
.panel-footer
|
||||||
|
= render 'moderation/discussion'
|
|
@ -2,3 +2,4 @@
|
||||||
.row
|
.row
|
||||||
= render 'moderation/moderation_tabs'
|
= render 'moderation/moderation_tabs'
|
||||||
.col-md-9.col-sm-9.col-xs-12
|
.col-md-9.col-sm-9.col-xs-12
|
||||||
|
= render 'moderation/moderationbox'
|
Loading…
Reference in New Issue