diff --git a/app/views/moderation/_moderation_tabs.html.haml b/app/views/moderation/_moderation_tabs.html.haml new file mode 100644 index 00000000..e85ddb21 --- /dev/null +++ b/app/views/moderation/_moderation_tabs.html.haml @@ -0,0 +1,8 @@ +.col-md-3.col-sm-3.col-xs-12 + .panel.panel-default + .panel-body + %ul.nav.nav-pills.nav-stacked + = nav_entry "All reports", "#" + = nav_entry "Users", "#" + = nav_entry "Answers", "#" + = nav_entry "Comments", "#" \ No newline at end of file diff --git a/app/views/moderation/index.html.erb b/app/views/moderation/index.html.erb deleted file mode 100644 index 39e8127f..00000000 --- a/app/views/moderation/index.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -

Moderation#index

-

Find me in app/views/moderation/index.html.erb

diff --git a/app/views/moderation/index.html.haml b/app/views/moderation/index.html.haml new file mode 100644 index 00000000..81677fa5 --- /dev/null +++ b/app/views/moderation/index.html.haml @@ -0,0 +1,4 @@ +.container.j2-page + .row + = render 'moderation/moderation_tabs' + .col-md-9.col-sm-9.col-xs-12 \ No newline at end of file