<li>
<a href="<%= ApplicationController.root_context -%>/"><%= message('layout.dashboards') -%></a>
</li>
+ <%= render 'layouts/tools' -%>
</ul>
</div>
<div id="nav">
<li><a href="<%= ApplicationController.root_context -%>/sessions/new?return_to=<%= u (request.request_uri) -%>"><%= message('layout.login') -%></a></li>
<% end %>
<%= render 'layouts/user_panel' -%>
- <li><a href="<%= ApplicationController.root_context -%>/profiles"><%= message('layout.configuration') -%></a></li>
</ul>
</div>
<div id="searchResourcesResults" class="autocomplete" style="display:none"></div>
<a href="<%= ApplicationController.root_context -%>/reviews/index"><%= message('reviews.page') -%></a>
</li>
- <li class="<%= 'selected' if controller.controller_path=='dependencies' -%>">
- <a href="<%= ApplicationController.root_context -%>/dependencies/index"><%= message('dependencies.page') -%></a>
- </li>
-
<% controller.java_facade.getPages(Navigation::SECTION_HOME, nil, nil, nil, nil).each do |page|
page_url = (page.isController() ? page.getId() : "/plugins/home/#{page.getId()}")
selected=request.request_uri.include?("/plugins/home/#{page_url}")
<% end %>
<% end %>
- <% elsif selected_section==Navigation::SECTION_CONFIGURATION %>
-
- <li class="<%= 'selected' if request.request_uri.include?('/profiles') || request.request_uri.include?('/rules_configuration') -%>">
- <a href="<%= ApplicationController.root_context -%>/profiles"><%= message('quality_profiles.page') -%></a></li>
- <% if current_user %>
- <li class="<%= 'selected' if controller.controller_path=='account' -%>">
- <a href="<%= ApplicationController.root_context -%>/account/index"><%= message('my_profile.page') -%></a></li>
- <li class="<%= 'selected' if controller.controller_path=='filters' -%>">
- <a href="<%= ApplicationController.root_context -%>/filters/manage"><%= message('default_filters.page') -%></a></li>
- <% end %>
- <% if is_admin? %>
+ <% elsif selected_section==Navigation::SECTION_CONFIGURATION && is_admin? %>
+
+ <li class="h2" style="padding-top: 0px;"><%= message('sidebar.project_settings') -%></li>
+ <li class="<%= 'selected' if request.request_uri.include?('/settings') -%>">
+ <a href="<%= ApplicationController.root_context -%>/settings/index"><%= message('settings.page') -%></a></li>
<li class="<%= 'selected' if controller.controller_path=='metrics' -%>">
<a href="<%= ApplicationController.root_context -%>/metrics/index"><%= message('manual_metrics.page') -%></a></li>
<li class="<%= 'selected' if controller.controller_path=='manual_rules' -%>">
<a href="<%= ApplicationController.root_context -%>/roles/projects"><%= message('roles.page') -%></a></li>
<li class="h2"><%= message('sidebar.system') -%></li>
- <li class="<%= 'selected' if request.request_uri.include?('/settings') -%>">
- <a href="<%= ApplicationController.root_context -%>/settings/index"><%= message('settings.page') -%></a></li>
<li class="<%= 'selected' if controller.controller_path=='backup' -%>"><a href="<%= ApplicationController.root_context -%>/backup"><%= message('backup.page') -%></a>
</li>
<li class="<%= 'selected' if controller.controller_path=='bulk_deletion' -%>">
<a href="<%= ApplicationController.root_context -%>/bulk_deletion"><%= message('bulk_deletion.page') -%></a>
</li>
- <li class="<%= 'selected' if controller.controller_path=='system' -%>">
- <a href="<%= ApplicationController.root_context -%>/system"><%= message('system_info.page') -%></a></li>
<% update_center_activated = controller.java_facade.getSettings().getBoolean('sonar.updatecenter.activate')
if update_center_activated %>
<li class="<%= 'selected' if controller.controller_path=='updatecenter' -%>">
<a href="<%= ApplicationController.root_context -%>/updatecenter"><%= message('update_center.page') -%></a></li>
+ <li class="<%= 'selected' if controller.controller_path=='system' -%>">
+ <a href="<%= ApplicationController.root_context -%>/system"><%= message('system_info.page') -%></a></li>
<% end %>
- <% end %>
<% end %>
</ul>
border-color: #DDD;
border-style: solid;
border-width: 1px;
- -moz-box-shadow: 0 5px 10px rgab(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 5px 10px rgab(0, 0, 0, 0.2);
- -o-box-shadow: 0 5px 10px rgab(0, 0, 0, 0.2);
- box-shadow: 0 5px 10px rgab(0, 0, 0, 0.2);
+ box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
float: left;
margin: 0;
max-width: 220px;