mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 04:16:03 +01:00
add moderation navbar navbar
This commit is contained in:
parent
030e6ac6a6
commit
9cb21d2458
3 changed files with 18 additions and 1 deletions
16
app/views/moderation/_moderation_nav.html.haml
Normal file
16
app/views/moderation/_moderation_nav.html.haml
Normal 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')
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
= render 'moderation/moderation_nav'
|
||||
.container.j2-page
|
||||
.row
|
||||
= render 'moderation/moderation_tabs'
|
||||
|
|
Loading…
Reference in a new issue