breadcrumbsEnter.append('i').attr 'class', (d) ->
if d.qualifier? then "icon-qualifier-#{d.qualifier.toLowerCase()}" else ''
breadcrumbsEnterLinks = breadcrumbsEnter.append 'a'
- breadcrumbsEnterLinks.classed 'underlined-link', (d, i) -> i > 0
breadcrumbsEnterLinks.html (d) -> d.name
breadcrumbsEnterLinks.on 'click', (d) =>
@updateTreemap d.components, d.maxResultsReached
<div class="markdown-tips">
- <a href="#" class="underlined-link" onclick="window.open(baseUrl + '/markdown/help','markdown','height=300,width=600,scrollbars=1,resizable=1');return false;">{{t 'markdown.helplink'}}</a> :
+ <a href="#" onclick="window.open(baseUrl + '/markdown/help','markdown','height=300,width=600,scrollbars=1,resizable=1');return false;">{{t 'markdown.helplink'}}</a> :
*{{t 'bold'}}* ``{{t 'code'}}`` * {{t 'bulleted_point'}}
</div>
-<a class="js-new-window underlined-link">{{t 'component_viewer.new_window'}}</a>
+<a class="js-new-window">{{t 'component_viewer.new_window'}}</a>
<br>
-<a class="js-full-source underlined-link">{{t 'component_viewer.show_full_source'}}</a>
+<a class="js-full-source">{{t 'component_viewer.show_full_source'}}</a>
<br>
-<a class="js-raw-source underlined-link">{{t 'component_viewer.show_raw_source'}}</a>
+<a class="js-raw-source">{{t 'component_viewer.show_raw_source'}}</a>
{{#each state.extensions}}
<br>
- <a class="js-extension underlined-link" data-key="{{this.[0]}}">{{this.[1]}}</a>
-{{/each}}
\ No newline at end of file
+ <a class="js-extension" data-key="{{this.[0]}}">{{this.[1]}}</a>
+{{/each}}
{{#if state.hasSource}}
<div class="component-viewer-header-time-changes">
- <a class="highlighted-link js-coverage-time-changes">
+ <a class="js-coverage-time-changes">
{{#if period}}Δ {{period.label}}{{else}}<i class="icon-period"></i> {{t 'component_viewer.time_changes'}}{{/if}}
</a>
</div>
<div class="component-viewer-header-time-changes">
- <a class="highlighted-link js-scm-time-changes">
+ <a class="js-scm-time-changes">
{{#if period}}Δ {{period.label}}{{else}}<i class="icon-period"></i> {{t 'component_viewer.time_changes'}}{{/if}}
</a>
</div>
<span class="ib">
{{t 'component_viewer.measure_section.test_cases'}}
{{t 'component_viewer.tests.ordered_by'}}
- <a class="js-sort-tests-name underlined-link">{{t 'component_viewer.tests.test_name'}}</a>
+ <a class="js-sort-tests-name">{{t 'component_viewer.tests.test_name'}}</a>
/
- <a class="js-sort-tests-duration underlined-link">{{t 'component_viewer.tests.duration'}}</a>
+ <a class="js-sort-tests-duration">{{t 'component_viewer.tests.duration'}}</a>
</span>
{{#if hasCoveragePerTestData}}
<span class="ib">{{t 'component_viewer.covered_lines'}}</span>
<div class="code-issue-details">
<ul class="code-issue-tabs">
<li>
- <a class="js-tab-link underlined-link" href="#tab-issue-rule">{{t 'rule'}}</a>
+ <a class="js-tab-link" href="#tab-issue-rule">{{t 'rule'}}</a>
</li>
<li>
- <a class="js-tab-link underlined-link" href="#tab-issue-changelog">{{t 'changelog'}}</a>
+ <a class="js-tab-link" href="#tab-issue-changelog">{{t 'changelog'}}</a>
</li>
</ul>
-@import "variables";
-@import "mixins";
-@import "navigator/config";
+@import (reference) "variables";
+@import (reference) "mixins";
+@import (reference) "navigator/config";
@apiDocumentationSidebarWidth: 230px;
-@import 'mixins';
-@import 'variables';
-@import 'navigator/config';
+@import (reference) 'mixins';
+@import (reference) 'variables';
+@import (reference) 'navigator/config';
@facetsHeight: 40px;
-@import 'variables';
+@import (reference) 'variables';
.component-viewer-source {
-@import "variables";
-@import "mixins";
+@import (reference) "variables";
+@import (reference) "mixins";
+@import (reference) "ui";
@headerHeight: 60px;
@workspaceWidth: 250px;
position: relative;
top: -2px;
margin-left: 4px;
+ .link-no-underline;
}
.component-viewer-header-measures {
border-left: 1px solid @barBackgroundColor;
.box-sizing(border-box);
background-color: lighten(@blue, 30%);
+ .link-no-underline;
.transform-origin(0 0);
.trans;
display: block;
padding: 11px 20px;
white-space: nowrap;
+ .link-no-underline;
a& {
.trans(background);
display: block;
padding: 20px 10px;
font-size: @iconFontSize;
+ .link-no-underline;
}
.component-viewer-header-more-actions {
-@import "mixins";
-@import "variables";
-@import "ui";
+@import (reference) "mixins";
+@import (reference) "variables";
+@import (reference) "ui";
.dashboard-page {
background-color: @barBackgroundColor;
}
#dashboard .widget-title a {
- .highlighted-link;
+ .link-no-underline;
}
/*CONFIGURATION*/
-@import "variables";
-@import "mixins";
+@import (reference) "variables";
+@import (reference) "mixins";
+@import (reference) "ui";
@font-face {
font-family: 'sonar';
}
a[class^="icon-"], a[class*=" icon-"] {
- text-decoration: none !important;
+ .link-no-underline;
}
-@import "mixins";
-@import "variables";
-@import "ui";
+@import (reference) "mixins";
+@import (reference) "variables";
+@import (reference) "ui";
@media print {
/* ------------------- PRINT ------------------- */
}
#hd a {
- .base-link;
- color: #e5e5e5;
+ color: #fff;
+ .link-no-underline;
&.selected { color: @blue; }
}
}
#bc li a {
- text-decoration: none;
-}
-
-#bc li a:hover, #bc li a:focus {
- text-decoration: underline;
+ .link-no-underline;
}
#crumbs-ops {
}
#crumbs-ops li a {
- text-decoration: none;
-}
-
-#crumbs-ops li a:hover, #crumbs-ops li a:focus {
- text-decoration: underline;
+ .link-no-underline;
}
#hd .dropdown-menu a {
}
ul.sidebar li > a {
- .highlighted-link;
+ .link-no-underline;
}
ul.sidebar li.active {
-@import "variables";
+@import (reference) "variables";
.clearfix() {
&:before, &:after { display: table; content: ""; line-height: 0; }
-@import "mixins";
-@import "variables";
+@import (reference) "mixins";
+@import (reference) "variables";
@import "navigator/config";
@import "navigator/base";
-@import "variables";
-@import "mixins";
-@import "navigator/config";
+@import (reference) "variables";
+@import (reference) "mixins";
+@import (reference) "navigator/config";
@qualityGateSidebarWidth: 230px;
border-left: none !important;
border-right: none !important;
}
-}
\ No newline at end of file
+}
-@import "mixins";
-@import "variables";
+@import (reference) "mixins";
+@import (reference) "variables";
@imagesPath: '../images/select2.png';
@imagesPath2x: '../images/select2x2.png';
-@import "mixins";
-@import "variables";
-@import "ui";
+@import (reference) "mixins";
+@import (reference) "variables";
+@import (reference) "ui";
/*
* SonarQube, open source software quality management tool.
border-top: 1px solid #fff;
font-size: 85%;
padding: 10px 0;
+ line-height: 1.4;
}
.ie-warn {
text-decoration: underline;
}
-#ftlinks a {
- color: #444;
-}
-
/*
GENERAL
*/
cursor: pointer;
}
+a.icon-favorite,
+a.icon-not-favorite {
+ .link-no-underline;
+}
+
.loading {
background: url("../images/loading.gif") no-repeat 4px 2px;
color: #444;
vertical-align: top;
font-size: 93%;
padding: 4px 7px 4px 3px;
+ line-height: 1.4;
text-transform: uppercase;
& > .small {
padding-left: 15px;
background-repeat: no-repeat;
background-position: right center;
- text-decoration: underline;
}
table.sortable .sortasc {
padding: 0;
}
-.tabs li a {
- outline: none;
-}
-
.tabs2 li a, .tabs li a {
float: left;
color: #777;
height: 17px;
margin: 0 1px 0 0;
padding: 1px 5px;
+ .link-no-underline;
}
.tabs2 li a.selected, .tabs li a.selected, .tabs .ui-tabs-active a {
color: #fff;
margin: 0;
padding: 0 3px;
+
+ a > & {
+ margin-bottom: -1px;
+ border-bottom: 1px solid @orange;
+ .trans;
+
+ &:hover { opacity: 0.8; }
+ }
}
.alert_ERROR {
color: #fff;
margin: 0;
padding: 0 3px;
+
+ a > & {
+ margin-bottom: -1px;
+ border-bottom: 1px solid @red;
+ .trans;
+
+ &:hover { opacity: 0.8; }
+ }
}
#comparison span.best {
}
a.nolink {
- text-decoration: none;
-}
-
-a.nolink:hover {
- text-decoration: underline;
+ .link-no-underline;
}
h1 strong, .dashbox .title, .gwt-SourcePanel .sources .msg li strong {
background: #FFFBCC;
}
-.action {
- text-decoration: underline;
- cursor: pointer;
-}
-
/* Used on links which are located inside a dense text place or in tables */
/* in order to rapidly identify them */
.link-action {
line-height: @iconSmallFontSize;
color: #fff;
opacity: 0.5;
+ .link-no-underline;
&:hover { opacity: 1; }
}
-@import "variables";
-@import "mixins";
+@import (reference) "variables";
+@import (reference) "mixins";
.link;
}
-.highlighted-link {
+.highlighted-link() {
color: @darkBlue;
.link;
}
-.underlined-link {
+.underlined-link() {
.highlighted-link;
border-bottom: 1px solid @lightBlue;
}
}
-.active-link {
+.link-no-underline() {
border-bottom: none;
- font-weight: 500;
}
+
a {
cursor: pointer;
- .highlighted-link;
+ .underlined-link;
+
+ &.active-link {
+ border-bottom: none;
+ font-weight: 500;
+ }
}
}
}
+.button { line-height: 22px; }
+
.button-red {
&:hover, &:focus {
border-color: #900;
font-size: 0;
white-space: nowrap;
- & > button {
+ & > button,
+ & > .button {
position: relative;
z-index: 2;
display: inline-block;
}
}
- & > button + button {
+ & > .button { line-height: 16px; }
+
+ & > button + button,
+ & > button + .button,
+ & > .button + button,
+ & > .button + .button {
margin-left: -1px;
}
- & > a {
+ & > a:not(.button) {
vertical-align: middle;
margin: 0 8px;
font-size: @smallFontSize;
color: #fff;
font-weight: 300;
text-align: center;
+
+ a > & {
+ margin-bottom: -1px;
+ border-bottom: 1px solid;
+ .trans;
+
+ &:hover { opacity: 0.8; }
+ }
}
.rating-A {
background-color: #00AA00;
+ a & { border-bottom-color: #00AA00; }
}
.rating-B {
background-color: #80CC00;
+ a & { border-bottom-color: #80CC00; }
}
.rating-C {
background-color: #FFEE00;
color: @baseFontColor;
+ a & { border-bottom-color: #FFEE00; }
}
.rating-D {
background-color: #F77700;
+ a & { border-bottom-color: #F77700; }
}
.rating-E {
background-color: #EE0000;
+ a & { border-bottom-color: #EE0000; }
}
def boolean_icon(boolean_value, options={})
if boolean_value
- image_tag('tick.png', options)
+ "<i class='icon-check'></i>"
elsif options[:display_false]
image_tag('cross.png', options)
else
total = pagination.total.to_i
page_index = pagination.pageIndex() ? pagination.pageIndex().to_i : 1
pages = pagination.pages().to_i
- results_html = options[:url_results] ? message('x_results', :params => "<a class='underlined-link' href='#{options[:url_results]}'>#{total}</a>") : message('x_results', :params => [total])
+ results_html = options[:url_results] ? message('x_results', :params => "<a href='#{options[:url_results]}'>#{total}</a>") : message('x_results', :params => [total])
html = '<tfoot'
html += " id='#{options[:id]}'" if options[:id]
end
elsif column.key=='name'
- "#{qualifier_icon(row.snapshot)} #{link_to(h(row.snapshot.resource.name(true)), {:controller => 'dashboard', :id => row.snapshot.resource_id}, {:title => h(row.snapshot.resource.key), :class => 'underlined-link'})}"
+ "#{qualifier_icon(row.snapshot)} #{link_to(h(row.snapshot.resource.name(true)), {:controller => 'dashboard', :id => row.snapshot.resource_id}, {:title => h(row.snapshot.resource.key)})}"
elsif column.key=='short_name'
- "#{qualifier_icon(row.snapshot)} #{link_to(h(row.snapshot.resource.name(false)), {:controller => 'dashboard', :id => row.snapshot.resource_id}, {:title => h(row.snapshot.resource.key), :class => 'highlighted-link'})}"
+ "#{qualifier_icon(row.snapshot)} #{link_to(h(row.snapshot.resource.name(false)), {:controller => 'dashboard', :id => row.snapshot.resource_id}, {:title => h(row.snapshot.resource.key)})}"
elsif column.key=='date'
human_short_date(row.snapshot.created_at)
elsif column.key=='project_creation_date'
</td>
<td class="order">
<% if index > 0 %>
- <%= link_to image_tag('blue-up.png'), {:action => :up, :id => active.id}, :method => :post, :id => "up-#{u active.name}" %>
+ <%= link_to '', {:action => :up, :id => active.id}, :method => :post, :id => "up-#{u active.name}", :class => 'icon-move-up' %>
<% else %>
<%= image_tag('transparent_16.gif') %>
<% end %>
<% if index < active_dashboards.size-1 %>
- <%= link_to image_tag('blue-down.png'), {:action => :down, :id => active.id}, :method => :post, :id => "down-#{u active.name}" %>
+ <%= link_to '', {:action => :down, :id => active.id}, :method => :post, :id => "down-#{u active.name}", :class => 'icon-move-down' %>
<% else %>
<%= image_tag('transparent_16.gif') %>
<% end %>
%>
<th style="text-align: center; vertical-align: top; line-height: 1.5;">
<span class="no-transform">
- <a class="underlined-link" href="<%= ApplicationController.root_context -%>/dashboard/index/<%= s.resource.key -%>"><%= h s.resource.name(true) -%></a>
+ <a href="<%= ApplicationController.root_context -%>/dashboard/index/<%= s.resource.key -%>"><%= h s.resource.name(true) -%></a>
<br/>
<span class="note"><b><%= event ? event.name : message('comparison.version.latest') -%></b></span>
<br/>
<th><% if logged_in? %><%= link_to_favourite(@snapshot.project) -%><% end %></th>
<th class="left text <%= 'sortfirstasc' if @components_configuration.sorted_by_project_name? -%>">
<%= qualifier_icon(@snapshot) -%>
- <a class="underlined-link no-transform" x="<%= u(@snapshot.project.name) -%>" href="<%= ApplicationController.root_context + "/dashboard/index/#{@snapshot.project.id}" -%>"><%= h @snapshot.project.name -%></a>
+ <a class="no-transform" x="<%= u(@snapshot.project.name) -%>" href="<%= ApplicationController.root_context + "/dashboard/index/#{@snapshot.project.id}" -%>"><%= h @snapshot.project.name -%></a>
</th>
<% @columns.each do |column| %>
<%= get_header_content(column, @snapshot) -%>
<td class="left" x="<%= u(snapshot.project.name) -%>">
<%= qualifier_icon(snapshot) %>
<% if snapshot.display_dashboard? %>
- <%= link_to_resource(project, h(snapshot.project.name), :class => 'underlined-link') %>
+ <%= link_to_resource(project, h(snapshot.project.name)) %>
<% else %>
<%= h snapshot.project.name %>
<% end %>
<div class="line-block">
<% if logged_in? %>
- <ul class="operations noprint">
+ <div class="operations noprint button-group">
<% if back %>
- <li><%= link_to message('dashboard.back_to_dashboard'), dashboard_action(:index) -%></li>
+ <%= link_to message('dashboard.back_to_dashboard'), dashboard_action(:index), :class => 'button' -%>
<% else %>
<% if @dashboard.editable_by?(current_user) %>
- <li><%= link_to message('dashboard.configure_widgets'), dashboard_action(:configure) -%></li>
+ <%= link_to message('dashboard.configure_widgets'), dashboard_action(:configure), :class => 'button' -%>
<% end %>
<% end %>
- <li class="last"><%= link_to message('dashboard.manage_dashboards'), {:controller => :dashboards, :action => :index, :resource => (@resource.id if @resource) } -%></li>
- </ul>
+ <%= link_to message('dashboard.manage_dashboards'), {:controller => :dashboards, :action => :index, :resource => (@resource.id if @resource) }, :class => 'button' -%>
+ </div>
<% end %>
<% if @snapshot %>
<tr id="dashboard-<%= dashboard.id -%>" class="<%= cycle('even', 'odd', :name => 'shared') -%>">
<td>
<%= link_to h(dashboard.name(true)), {:controller => :dashboard, :action => :index, :did => dashboard.id, :id => (resource_id unless dashboard.global?)},
- :id => "view-#{u dashboard.name}", :class => 'underlined-link' %>
+ :id => "view-#{u dashboard.name}" %>
<div class="description"><%= h dashboard.description -%></div>
</td>
<td class="shared">
<tr id="dashboard-<%= dashboard.id -%>" class="<%= cycle('even', 'odd', :name => 'dashboard') -%>">
<td>
<%= link_to h(dashboard.name(true)), {:controller => :dashboard, :action => :index, :did => dashboard.id, :id => (resource_id unless dashboard.global?)},
- :id => "view-#{u dashboard.name}", :class => 'underlined-link' %>
+ :id => "view-#{u dashboard.name}" %>
<div class="description"><%= h dashboard.description -%></div>
</td>
<td class="shared">
<tr class="<%= css -%> <%= 'selected' if selected -%>">
<td><i class="icon-severity-<%= severity.downcase -%>"></i></td>
<td>
- <%= link_to message("severity.#{severity}"), {:controller => :drilldown, :action => :issues, :id => @resource.id, :severity => (selected ? nil : severity), :period => @period}, :class => 'underlined-link' %>
+ <%= link_to message("severity.#{severity}"), {:controller => :drilldown, :action => :issues, :id => @resource.id, :severity => (selected ? nil : severity), :period => @period} %>
</td>
<td style="padding-left: 10px;" align="right" nowrap>
<%= @period ? format_variation(measure, :index => @period, :style => 'light') : format_measure(measure) -%>
{:controller => :drilldown, :action => :issues, :id => @resource.id, :rule => (selected ? nil : rule.key),
:rule_sev => (selected ? nil : rule_measure.severity), :sid => nil, :severity => @severity, :period => @period,
:rids => (selected ? nil : @selected_rids)},
- :title => "#{rule.plugin_name}: #{rule.plugin_rule_key}",
- :class => 'underlined-link'
+ :title => "#{rule.plugin_name}: #{rule.plugin_rule_key}"
) -%>
</td>
<td class="right" nowrap="nowrap">
<a href="<%= url_for :controller => 'dashboard', :action => 'index', :id => resource.id, :period => @period, :metric => (@metric && @metric.key),
:rule => @rule ? @rule.id : @severity -%>"
onclick="window.open(this.href,'resource-<%= resource.key.parameterize -%>','scrollbars=1,resizable=1');return false;"
- id="popup-<%= resource.key.parameterize -%>"
+ id="popup-<%= resource.key.parameterize -%>" class="nolink"
target="_blank"><i class="icon-detach" title="<%= message('new_window') -%>"></i></a>
<% else %>
<%= link_to(image_tag('zoom.png'), {:id => resource.id}, {:class => 'nolink'}) %>
<%= qualifier_icon(resource) -%>
<% if resource.source_code? %>
<a href="#" alt="<%= h resource.name(true) -%>" title="<%= h resource.name(true) -%>" data-key="<%= resource.key -%>"
- class="js-drilldown-link underlined-link"><%= h resource.name(false) %></a>
+ class="js-drilldown-link"><%= h resource.name(false) %></a>
<% else %>
- <%= link_to(h(resource.name), {:only_path => true, :overwrite_params => {:rids => (selected ? rids-[resource.id] : rids+[resource.id])}}, :class => 'underlined-link') -%>
+ <%= link_to(h(resource.name), {:only_path => true, :overwrite_params => {:rids => (selected ? rids-[resource.id] : rids+[resource.id])}}) -%>
<% end %>
</td>
<td class="right" nowrap>
<% if resource.source_code? %>
<a href="<%= url_for :controller => 'dashboard', :action => 'index', :id => resource.id, :period => @period, :metric => (@metric && @metric.key), :rule => @rule ? @rule.id : @severity -%>"
onclick="window.open(this.href,'resource-<%= resource.key.parameterize -%>','scrollbars=1,resizable=1');return false;"
- id="popup-<%= resource.key.parameterize -%>"
+ id="popup-<%= resource.key.parameterize -%>" class="nolink"
target="_blank"><i class="icon-detach" title="<%= message('new_window') -%>"></i></a>
<% else %>
<%= link_to(image_tag('zoom.png'), {:id => resource.id, :metric => @metric.id}, {:class => 'nolink'}) -%>
<%= qualifier_icon(resource) -%>
<% if resource.source_code? %>
<a href="#" title="<%= h resource.name(true) -%>" data-key="<%= resource.key -%>"
- class="js-drilldown-link underlined-link"><%= h resource.name(false) %></a>
+ class="js-drilldown-link"><%= h resource.name(false) %></a>
<% else %>
- <%= link_to(h(resource.name), params.merge({:only_path => true, :rids => (selected ? rids-[resource.id] : rids+[resource.id])}), :class => 'underlined-link') -%>
+ <%= link_to(h(resource.name), params.merge({:only_path => true, :rids => (selected ? rids-[resource.id] : rids+[resource.id])})) -%>
<% end %>
</td>
<td class="right">
<table class="data width100 sortable" id="groups">
<thead>
<tr>
- <th class="left sortfirstasc">Name</th>
- <th class="left">Description</th>
- <th class="left">Members</th>
- <th class="operations nosort" nowrap>Operations</th>
+ <th class="left sortfirstasc"><a>Name</a></th>
+ <th class="left"><a>Description</a></th>
+ <th class="left"><a>Members</a></th>
+ <th class="operations nosort" nowrap><a>Operations</a></th>
</tr>
</thead>
<tbody>
<div style="position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;background:#fff;">
<div style="margin-top:150px;text-align:center;line-height:1.4;color:#333;">
The web interface cannot be displayed because your browser is not supported.<br>
- Please switch to a <a class="underlined-link" target="_blank"
+ Please switch to a <a target="_blank"
href="http://docs.codehaus.org/x/zYHEBg">supported version or another supported browser</a>.
</div>
</div>
</tbody>
<% if widget_id %>
<%= table_pagination(filter.pagination, :colspan => colspan, :id => "measure_filter_foot#{widget_id}", :include_loading_icon => true) { |label, page_id|
- link_to_function label, "refreshList#{widget_id}('#{filter.criteria[:sort]}', #{filter.criteria[:asc]}, #{page_id})", :class => 'underlined-link'
+ link_to_function label, "refreshList#{widget_id}('#{filter.criteria[:sort]}', #{filter.criteria[:asc]}, #{page_id})"
} -%>
<% else %>
<%= table_pagination(filter.pagination, :colspan => colspan, :id => "measure_filter_foot#{widget_id}", :include_loading_icon => true) { |label, page_id|
- link_to(label, filter.criteria.merge({:page => page_id}), :class => 'underlined-link')
+ link_to(label, filter.criteria.merge({:page => page_id}))
} -%>
<% end %>
</table>
<table class="sortable data width100" id="metrics">
<thead>
<tr>
- <th class="left">Key</th>
- <th class="left sortfirstasc">Name</th>
- <th class="left">Description</th>
- <th class="left">Domain</th>
- <th class="left">Type</th>
- <th class="left nosort">Operations</th>
+ <th class="left"><a>Key</a></th>
+ <th class="left sortfirstasc"><a>Name</a></th>
+ <th class="left"><a>Description</a></th>
+ <th class="left"><a>Domain</a></th>
+ <th class="left"><a>Type</a></th>
+ <th class="left nosort"><a>Operations</a></th>
</tr>
</thead>
<tbody>
<%= render :partial => 'roles/tabs', :locals => {:selected_tab=>'Permission templates'} %>
<br/>
<div class="line-block marginbottom10">
- <ul class="operations">
- <li>
- <%= link_to message('permission_template.set_default_templates'), {:action => :default_templates_form, :qualifiers => @root_qualifiers},
- :id => 'configure-defaults-permission-template', :class => 'open-modal link-action' %>
- </li>
- <li class="last">
- <%= link_to message('create'), {:action => :create_form}, :id => 'create-link-permission-template', :class => 'open-modal link-action' %>
- </li>
- </ul>
+ <div class="button-group operations">
+ <%= link_to message('permission_template.set_default_templates'), {:action => :default_templates_form, :qualifiers => @root_qualifiers},
+ :id => 'configure-defaults-permission-template', :class => 'open-modal link-action button' %>
+ <%= link_to message('create'), {:action => :create_form}, :id => 'create-link-permission-template', :class => 'open-modal link-action button' %>
+ </div>
</div>
<table class="data width100" id="permission-templates">
<thead>
<div class="page">
<div class="line-block marginbottom10">
- <ul style="float: right" class="operations">
- <li>
- <i class="icon-compare"></i>
- <a href="profiles/compare" id="compare-link"><%= message('quality_profiles.compare_profiles') -%></a>
- </li>
+ <div style="float: right" class="operations button-group">
+ <a href="profiles/compare" id="compare-link" class="button"><i class="icon-compare"></i> <%= message('quality_profiles.compare_profiles') -%></a>
<% if profiles_administrator? %>
- <li class="last">
- <i class="icon-restore"></i>
- <a href="profiles/restore_form" class="open-modal" id="restore-link"><%= message('quality_profiles.restore_profile') -%></a>
- </li>
+ <a href="profiles/restore_form" class="open-modal button" id="restore-link"><i class="icon-restore"></i> <%= message('quality_profiles.restore_profile') -%></a>
<% end %>
- </ul>
+ </div>
</div>
<%
<%= paginate_java(paging, :colspan => 3, :id => "issue-filter-foot-#{widget_id}", :include_loading_icon => true,
:url_results => url_for_issues(search_options.except('pageSize', 'pageIndex', 'table_limit', 'widget_id')) ) { |label, page_id|
<<EOF
-<a class="underlined-link" href="#" onclick="$j.ajax({ url:'#{url_for(link_params.merge({:pageIndex => page_id}))}', type:'post', success:function(response){$j('#issues-widget-#{widget_id}').html(response);}}); return false;">#{label}</a>
+<a href="#" onclick="$j.ajax({ url:'#{url_for(link_params.merge({:pageIndex => page_id}))}', type:'post', success:function(response){$j('#issues-widget-#{widget_id}').html(response);}}); return false;">#{label}</a>
EOF
} -%>
</table>
<% end %>
<div>
- <ul class="operations">
- <li class="last">
- <%= link_to message('projects_role.apply_template'), {:controller => :roles, :action => :apply_template_form, :components => [@project.key], :names => @project.name,
- :results_count => 1},
- :id => "apply-template-#{u @project.kee}", :class => 'open-modal link-action' %>
- </li>
- </ul>
+ <div class="operations button-group">
+ <%= link_to message('projects_role.apply_template'), {:controller => :roles, :action => :apply_template_form, :components => [@project.key], :names => @project.name,
+ :results_count => 1},
+ :id => "apply-template-#{u @project.kee}", :class => 'open-modal link-action button' %>
+ </div>
<h1 class="admin-page-title"><%= message('project_roles.page') -%></h1>
<p class="admin-page-description"><%= message('project_roles.page.description2') -%></p>
</div>
</div>
<div id="project-roles-operations" style="float: right;">
- <ul class="operations">
- <li class="last">
- <%= link_to message('projects_role.bulk_change'), {:action => :apply_template_form, :names => @components_names,
- :keys => @components_keys, :qualifiers => @components_qualifiers,
- :results_count => @query_result.paging.total},
- :id => 'apply-template-modal', :class => 'open-modal link-action' %>
- </li>
- </ul>
+ <div class="operations button-group">
+ <%= link_to message('projects_role.bulk_change'), {:action => :apply_template_form, :names => @components_names,
+ :keys => @components_keys, :qualifiers => @components_qualifiers,
+ :results_count => @query_result.paging.total},
+ :id => 'apply-template-modal', :class => 'open-modal link-action button' %>
+ </div>
</div>
<table class="data width100" id="projects">
<table class="data width100 sortable" id="users">
<thead>
<tr>
- <th class="left">Login</th>
- <th class="left sortfirstasc">Name</th>
- <th class="left">Email</th>
- <th class="left nosort">Groups</th>
- <th class="right nosort" nowrap>Operations</th>
+ <th class="left"><a>Login</a></th>
+ <th class="left sortfirstasc"><a>Name</a></th>
+ <th class="left"><a>Email</a></th>
+ <th class="left nosort"><a>Groups</a></th>
+ <th class="right nosort" nowrap><a>Operations</a></th>
</tr>
</thead>
<tbody >