add moderation navbar navbar

This commit is contained in:
Andreas N 2015-01-31 00:49:31 +01:00
parent 030e6ac6a6
commit 9cb21d2458
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,16 @@
%nav.navbar.navbar-default.navbar-static-top.j2-navbar.visible-xs{role: "navigation"}
.container
.navbar-header
%button.navbar-toggle{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.navbar-brand{href: "/"} Moderation
#j2-tl-navbar-collapse.collapse.navbar-collapse
%ul.nav.navbar-nav
= nav_entry "All reports", moderation_path
= nav_entry "Answers", moderation_path('answer')
= nav_entry "Comments", moderation_path('comment')
= nav_entry "Users", moderation_path('user')
= nav_entry "Questions", moderation_path('question')

View file

@ -1,5 +1,5 @@
.col-md-3.col-sm-3.col-xs-12
.panel.panel-default
.panel.panel-default.hidden-xs
.panel-body
%ul.nav.nav-pills.nav-stacked
= nav_entry "All reports", moderation_path

View file

@ -1,3 +1,4 @@
= render 'moderation/moderation_nav'
.container.j2-page
.row
= render 'moderation/moderation_tabs'