added tabs, moderation box view and comment display

This commit is contained in:
pixeldesu 2014-12-25 23:47:11 +01:00
parent 32623ec2f2
commit f403a0a2f8
3 changed files with 34 additions and 1 deletions

View File

@ -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

View File

@ -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'

View File

@ -2,3 +2,4 @@
.row
= render 'moderation/moderation_tabs'
.col-md-9.col-sm-9.col-xs-12
= render 'moderation/moderationbox'