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
2012-12-06 11:59:54 -05:00

12 lines
404 B
Text
Executable file

.navbar-inner
.container
a.brand href='#{{root_path}}'
= Sidekiq::NAME
ul.nav
- tabs.each do |title, url|
- if url == ''
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}