Introduction
Introduction Statistics Contact Development Disclaimer Help
_nav.html.erb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
git clone git://jay.scot/warvox
Log
Files
Refs
README
---
_nav.html.erb (3152B)
---
1
2 <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
3 <div class="container-fluid">
4 <!-- Brand and toggle get grouped for better mobile display -->
5 <div class="navbar-header">
6 <button type="button" class="navbar-toggle collapsed" data-toggle=…
7 <span class="sr-only">Toggle navigation</span>
8 <span class="fa fa-bar"></span>
9 <span class="fa fa-bar"></span>
10 <span class="fa fa-bar"></span>
11 </button>
12 <a class="navbar-brand" href="/">
13 <%= image_tag "logo_light.png", border: 0, alt: "WarVOX" %>
14 </a>
15 </div>
16
17 <div class="collapse navbar-collapse navbar-ex1-collapse">
18 <ul class="nav navbar-nav navbar-right">
19
20 <% if @project and @project.id %>
21 <li>
22 <%= link_to(
23 raw(
24 '<i class="fa fa-chevron-left icon-white"></i> ' +
25 h(truncate(@project.name, :length => 20)) +
26 ' <i class="fa fa-chevron-right icon-white"></i>'), projec…
27 </li>
28 <li><a href="<%= results_path(@project) %>">Scans</a></li>
29 <li><a href="<%= analyze_path(@project) %>">Analysis</a></li>
30 <% end %>
31
32 <li><a href="<%= jobs_path %>">Jobs</a></li>
33
34 <li class="dropdown">
35 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Pro…
36 <ul class="dropdown-menu" role="menu">
37
38 <% if Project.count > 0 %>
39 <li><a href="<%= projects_path %>"><i class="fa fa-list"></i…
40 <% end %>
41
42 <li><a href="<%= new_project_path %>"><i class="fa fa-plus"></…
43
44 <% if Project.count > 0 %>
45 <li class="divider"></li>
46 <li>&nbsp;&nbsp;Recent Projects</li>
47 <% Project.order('ID DESC').limit(5).each do |project| %>
48 <li><a href="<%= project_path(project)%>"><i class="fa fa-…
49 <% end %>
50 <% end %>
51 </ul>
52 </li>
53
54 <li class="dropdown">
55 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Adm…
56 <ul class="dropdown-menu" role="menu">
57 <li><a href="<%= user_path(current_user) %>"><i class="fa fa-u…
58 <li><a href="<%= providers_path%>"><i class="fa fa-globe"></i>…
59 <!-- <li><a href="<%= settings_path%>"><i class="fa fa-wrench"…
60 <li><a href="<%= about_path%>"><i class="fa fa-info-circle"></…
61 </ul>
62 </li>
63
64 <li><a href="<%= logout_path %>"><div class="help-icon"><i class…
65 <li><a href="<%= check_path %>"<div class="help-icon"><i class="…
66 </ul>
67 </div><!-- /.navbar-collapse -->
68 </div><!-- /.container-fluid -->
69 </nav>
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.