1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00
endofunky--sidetiq/lib/sidetiq/views/_worker_nav.erb
2013-10-10 10:37:45 +01:00

16 lines
711 B
Text

<div class="col-md-3">
<div class="list-group">
<a href="<%= root_path %>sidetiq" class="list-group-item<%= current_path == 'sidetiq' ? ' active' : nil %>">
<i class="icon-chevron-right"></i>
Home
</a>
<a href="<%= "#{root_path}sidetiq/#{@worker.name}/schedule" %>" class="list-group-item<%= current_path == "sidetiq/#{@worker.name}/schedule" ? ' active' : nil %>">
<i class="icon-chevron-right"></i>
Job Schedule
</a>
<a href="<%= "#{root_path}sidetiq/#{@worker.name}/history" %>" class="list-group-item<%= current_path == "sidetiq/#{@worker.name}/history" ? ' active' : nil %>">
<i class="icon-chevron-right"></i>
Job History
</a>
</div>
</div>