1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/_nav.slim

18 lines
573 B
Text
Raw Normal View History

2012-09-30 08:57:51 -04:00
.navbar-inner
.container
a.btn.btn-navbar data-toggle="collapse" data-target=".nav-collapse"
span.icon-bar
span.icon-bar
span.icon-bar
a.brand href='#{{root_path}}'
= Sidekiq::NAME
div.nav-collapse
ul.nav
- tabs.each do |title, url|
- if url == ''
2012-11-26 23:19:23 -05:00
li class="#{(current_path == url) ? 'active':''}"
a href='#{{root_path}}#{{url}}' #{title}
- else
li class="#{(current_path =~ Regexp.new(url)) ? 'active':''}"
a href='#{{root_path}}#{{url}}' #{title}