From 32623ec2f240c7183184a83f10a37befa87d69a7 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Thu, 25 Dec 2014 23:14:45 +0100 Subject: [PATCH] added basic mod page --- app/views/moderation/_moderation_tabs.html.haml | 8 ++++++++ app/views/moderation/index.html.erb | 2 -- app/views/moderation/index.html.haml | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 app/views/moderation/_moderation_tabs.html.haml delete mode 100644 app/views/moderation/index.html.erb create mode 100644 app/views/moderation/index.html.haml 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