-<h1><%= message('my_profile.page') -%></h1>
+<h1 class="marginbottom10"><%= message('my_profile.page') -%></h1>
<div class="admin marginbottom10">
<table class="form">
<tr>
</div>
<% if User.editable_password? %>
-<h1><%= message('my_profile.password.title') -%></h1>
+<h2><%= message('my_profile.password.title') -%></h2>
<div class="admin marginbottom10">
<% form_tag( {:action => 'change_password' }, :id => 'pass_form_tag', :name => 'pass_form_tag') do -%>
<table class="form">
</div>
<% end -%>
-<h1><%= message('my_profile.notifications.title') -%></h1>
+<h2><%= message('my_profile.notifications.title') -%></h2>
<div class="admin marginbottom10">
<% form_tag({:action => 'update_notifications'}, {:method => 'post'}) do %>
<table class="form">
+<h1 class="marginbottom10">Configuration Backup & Restore</h1>
+
<h2>Backup configuration</h2>
<div class="box">
<p>This will backup configuration in a portable XML format. Click on "backup" to download this file.</p>
+<div class="line-block">
<% if logged_in? %>
- <div id="page-operations">
- <ul class="operations">
- <li>
- <a href="<%= url_for :action => 'new' -%>"><%= message('filters.add_filter') -%></a>
- </li>
- </ul>
- </div>
+ <ul style="float: right" class="operations">
+ <li>
+ <a href="<%= url_for :action => 'new' -%>"><%= message('filters.add_filter') -%></a>
+ </li>
+ </ul>
<% end %>
+ <h1 class="marginbottom10"><%= message('default_filters.page') -%></h1>
+</div>
<div class="admin_page">
<table class="data" id="actives">
{ :method => :get, :id => "edit-#{u group.name}", :class => 'link-action'} %>
|
<%= link_to "Delete", { :action => 'destroy', :id => group.id},
- {:confirm => "Are you sure to delete this group ? Members will not be deleted.", :class => 'link-action', :method => 'get', :id => "delete-#{u group.name}"} %>
+ {:confirm => "Are you sure that you want to delete this group? Members will not be deleted.", :class => 'link-action', :method => 'get', :id => "delete-#{u group.name}"} %>
</td>
</tr>
<% end %>
<table width="100%">
<tr>
<td valign="top">
+ <h1 class="marginbottom10"><%= message('manual_rules.page') -%></h1>
<table class="data width100" id="manual-rules">
<thead>
<tr>
<table width="100%">
<tr>
<td valign="top">
+ <h1 class="marginbottom10"><%= message('manual_metrics.page') -%></h1>
<table class="sortable data width100" id="metrics">
<thead>
<tr>
-<% if administrator? %>
<div class="line-block marginbottom10">
- <ul class="operations">
+<% if administrator? %>
+ <ul style="float: right" class="operations">
<li>
<%= image_tag 'compare.png' -%>
<a href="<%= ApplicationController.root_context-%>/profiles/compare" id="compare-link"><%= message('quality_profiles.compare_profiles') -%></a>
<a href="#" onclick="$('restore-form').show();return false;" id="restore-link"><%= message('quality_profiles.restore_profile') -%></a>
</li>
</ul>
+<% end %>
+ <h1 class="marginbottom10"><%= message('quality_profiles.quality_profiles') -%></h1>
</div>
+
+<% if administrator? %>
<form class="admin marginbottom10" id="restore-form" action="<%= url_for :action => 'restore' -%>" enctype="multipart/form-data" style="display: none" method="post">
<table class="spaced width100">
<tr>
-<h1 class="marginbottom10">Global roles</h1>
+<h1 class="marginbottom10">Global Roles</h1>
<table class="data width100" id="global-roles">
<thead>
}
</script>
<div id="plugins">
+ <h1 class="marginbottom10"><%= message('settings.page') -%></h1>
<table width="100%">
<tr>
<td width="1%" nowrap class="column first">
-<ul style="float: right" class="horizontal">
- <li class="csv marginleft10">
- <a href="<%= ApplicationController.root_context -%>/system/index?format=csv" id="download-link" class="action">Download</a>
- </li>
-</ul>
+<div class="line-block">
+ <ul style="float: right" class="horizontal">
+ <li class="csv marginleft10">
+ <a href="<%= ApplicationController.root_context -%>/system/index?format=csv" id="download-link" class="action">Download</a>
+ </li>
+ </ul>
+ <h1 class="marginbottom10"><%= message('system_info.page') -%></h1>
+</div>
<table class="data width100" id="sonar">
<thead>
+ <h1 class="marginbottom10"><%= message('update_center.page') -%></h1>
+
<%= render :partial => 'updatecenter/tabs', :locals => {:tab => 'index'} -%>
<div class="tabs-panel">