Moderation view added
This commit is contained in:
parent
f12f61b23c
commit
b32f26a1b8
3 changed files with 23 additions and 0 deletions
19
app/views/packages/moderate.slim
Normal file
19
app/views/packages/moderate.slim
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// TODO: Show progressbar of how far the admin went through the moderation queue
|
||||
|
||||
.row
|
||||
h1 Moderation queue
|
||||
|
||||
// Progress bar
|
||||
.progress.warning role="progressbar" tabindex="0" aria-valuenow="20" aria-valuemin="0" aria-valuetext="25 percent" aria-valuemax="100"
|
||||
span.progress-meter style="width: #{@percent_moderated}%"
|
||||
p.progress-meter-text #{@percent_moderated}%
|
||||
|
||||
// Package list
|
||||
.row.packagepage
|
||||
.small-9.medium-10.columns
|
||||
- if @pending_screenshots.length>0
|
||||
- @pending_screenshots.each do |screenshot|
|
||||
= screenshot.id
|
||||
|
||||
- else
|
||||
p No screenshots left in the moderation queue. Great.
|
||||
Loading…
Add table
Add a link
Reference in a new issue