]> source.dussan.org Git - sonarqube.git/commitdiff
remove some usages of deprecated css
authorStas Vilchik <vilchiks@gmail.com>
Tue, 10 Mar 2015 16:51:07 +0000 (17:51 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 10 Mar 2015 16:56:03 +0000 (17:56 +0100)
14 files changed:
server/sonar-web/src/main/hbs/dashboard/widgets.hbs
server/sonar-web/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/admin_dashboards/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/dashboard2/_header.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/dashboards/_available_dashboards.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/dashboards/_my_dashboards.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/groups/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/_diff_rule.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/roles/projects.html.erb

index 26f9bca7e003bf2c0f7a5576b4c324c89eab8b15..62a85c46aa553d2c17611733e34a70d1603d810c 100644 (file)
@@ -1,5 +1,5 @@
 <div class="line-block">
-  <div class="operations noprint button-group">
+  <div class="noprint button-group">
     {{#unless state.configure}}
       <button class="js-configure-widgets">{{t 'dashboard.configure_widgets'}}</button>
     {{else}}
index 4f474906a13a59688ba51f3575aa0489396f3e21..ae9e6bea1dd954ddf522686cae73eb69c91483af 100644 (file)
@@ -4,7 +4,7 @@
     <th class="name"><%= message('name') -%></th>
     <th class="owner"><%= message('shared_by') -%></th>
     <th class="order"><%= message('order') -%></th>
-    <th class="operations"><%= message('operations') -%></th>
+    <th class="text-right"><%= message('operations') -%></th>
   </tr>
   </thead>
   <tbody>
@@ -34,7 +34,7 @@
             <%= image_tag('transparent_16.gif') %>
         <% end %>
         </td>
-        <td class="thin nowrap operations">
+        <td class="thin nowrap text-right">
           <% if active_dashboards.size() > 1 %>
             <%= link_to 'Remove from defaults', {:action => :remove, :id => active.id}, {:confirm => 'Are you sure to remove it from default dashboards?', :method => :post, :id => "remove-#{u active.name}", :class => 'link-action'} %>
           <% end %>
index 3173e62554bda06c65f6f2428e01f9893fe80d6b..e264a11f4138cf962cdb9b72601fc9eb994a89b8 100644 (file)
@@ -24,7 +24,7 @@
       <th class="name"><%= message('name') -%></th>
       <th class="owner"><%= message('shared_by') -%></th>
       <th class="global"><%= message('global') -%></th>
-      <th class="operations"><%= message('operations') -%></th>
+      <th class="text-right"><%= message('operations') -%></th>
     </tr>
     </thead>
     <tbody>
@@ -45,7 +45,7 @@
           <td class="global">
             <%= boolean_icon(dashboard.global) -%>
           </td>
-          <td class="thin nowrap operations">
+          <td class="thin nowrap text-right">
             <%= link_to 'Add to defaults', {:action => 'add', :id => dashboard.id}, {:method => :post, :id => "add-#{u dashboard.name}", :class => 'link-action'} %>
           </td>
         </tr>
index 9d887ac38de6cb5de61d4a6d90450658c8423d8e..21807504e757be8d1a5f29079a2ed79c6cce1fb5 100644 (file)
@@ -2,7 +2,7 @@
   <h1 class="page-title"><%= h @dashboard.name -%></h1>
 
 
-  <div class="page-actions operations noprint">
+  <div class="page-actions noprint">
     <% if @snapshot %>
       <% if @snapshot.project_snapshot.periods? %>
         <% period_options = period_select_option_tags(@snapshot, 'small') %>
index e777522b3c2fe06b6bb5a8ef24fdc2a1e59cad4b..b078b0a5d43e3e8638f8b721546019a4f486ed5c 100644 (file)
@@ -2,7 +2,7 @@
 <div class="line-block">
 
   <% if logged_in? %>
-    <div class="operations noprint button-group">
+    <div class="noprint button-group">
       <% if back %>
         <%= link_to message('dashboard.back_to_dashboard'), dashboard_action(:index), :class => 'button' -%>
       <% else %>
index 5737650fb8004da6a3525f6332a245527743f04c..35cd88de775f4fbf7e0ed2cca6d47c6bdb8567e5 100644 (file)
@@ -5,7 +5,7 @@
     <th class="shared"><%= message('shared') -%></th>
     <th class="owner"><%= message('owner') -%></th>
     <th class="order">&nbsp;</th>
-    <th class="operations"><%= message('operations') -%></th>
+    <th class="text-right"><%= message('operations') -%></th>
   </tr>
   </thead>
   <tbody>
index e2276a1ba9bba210bbb00fc1879ba20f3023bbfc..cb78673c34b6b782fb45f14344d0f51b5afe9341 100644 (file)
@@ -1,4 +1,4 @@
-<td class="thin nowrap operations">
+<td class="thin nowrap text-right">
   <% resource_id = @resource.id if @resource %>
   <% if dashboard.editable_by?(current_user) %>
     <%= link_to message('dashboard.configure_widgets'), {:controller => :dashboard, :action => :configure, :did => dashboard.id, :id => (resource_id unless dashboard.global?)},
index 68240dea7290489216710efc0633c88df7414e07..3c2425053b5741fbd742497ed0b4379c1e862191 100644 (file)
@@ -5,7 +5,7 @@
     <th class="shared"><%= message('shared') -%></th>
     <th class="owner"><%= message('owner') -%></th>
     <th class="order"><%= message('order') -%></th>
-    <th class="operations"><%= message('operations') -%></th>
+    <th class="text-right"><%= message('operations') -%></th>
   </tr>
   </thead>
   <tbody>
index 1f53684aca72f5bd613742819110d9f15c349beb..4f4919356859ee9be1570d2039f304e1b9cec666 100644 (file)
@@ -24,7 +24,7 @@
             <th class="text-left sortfirstasc"><a>Name</a></th>
             <th class="text-left"><a>Description</a></th>
             <th class="text-left"><a>Members</a></th>
-            <th class="operations nosort" nowrap><a>Operations</a></th>
+            <th class="text-right nosort" nowrap><a>Operations</a></th>
           </tr>
           </thead>
           <tbody>
@@ -42,7 +42,7 @@
                 <span id="count-<%= group.name.parameterize -%>"><%= group.users.count -%></span>
                 (<a id="select-<%= group.name.parameterize -%>" class="open-modal link-action" href="<%= ApplicationController.root_context -%>/groups/select_user/<%= group.id -%>">select</a>)
               </td>
-              <td class="operations">
+              <td class="text-right">
                 <a id='edit-<%= group.name.parameterize -%>' class='open-modal link-action' href="<%= ApplicationController.root_context -%>/groups/edit_form/<%= group.id -%>">Edit</a>
                 &nbsp;
                 <%= link_to_action message('delete'), "#{ApplicationController.root_context}/groups/delete/#{group.id}",
index 46be63b0b40c4cbfef492c779bd5c679963be17d..c246e348b573a06b0a1ba4d419dad88315e0c4bd 100644 (file)
 
   <%= render :partial => 'roles/tabs', :locals => {:selected_tab => 'Permission templates'} %>
   <br/>
-  <div class="line-block marginbottom10">
-    <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' %>
+  <header class="page-header">
+    <div class="page-actions">
+      <div class="button-group">
+        <%= 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>
-  </div>
+  </header>
   <table class="data width100" id="permission-templates">
     <thead>
     <tr valign="top">
index bcbcafa012d07e8820e2f232778891a473c6c73a..36ae86f612a226fffd0f5a11133fe2d8081dfc8e 100644 (file)
@@ -1,8 +1,6 @@
 <i class="icon-severity-<%= arule.priority -%>"></i>
 
-<span class="rulename">
-  <a href="<%= url_for :controller => 'coding_rules', :action => 'index', :anchor => 'rule_key=' + arule.rule.key + '|qprofile=' + aprofile.kee -%>">
-    <%= h(arule.rule.name) -%>
-  </a>
-</span>
+<a href="<%= url_for :controller => 'coding_rules', :action => 'index', :anchor => 'rule_key=' + arule.rule.key + '|qprofile=' + aprofile.kee -%>">
+  <%= h(arule.rule.name) -%>
+</a>
 <span class="note"><%= h(arule.rule.plugin_name) -%></span>
index 585c8890fd7b37767e1d2712e874d9436d95d5ac..9c8488a883587dead2366e87db89345a63881204 100644 (file)
@@ -3,7 +3,7 @@
   <div class="page-header">
     <h1 class="page-title"><%= h message('quality_profiles.page') -%></h1>
 
-    <div class="page-actions operations">
+    <div class="page-actions">
       <div class="button-group">
         <a href="profiles/compare" id="compare-link" class="button"><i class="icon-compare"></i> <%= message('quality_profiles.compare_profiles') -%>
         </a>
index 674613beb123b9e44fc68450087f94cf700ad755..204e27747903ff28c6671b14bfe4e3e5197cce11 100644 (file)
@@ -18,7 +18,7 @@
         <th><%= message('key') -%></th>
         <th><%= message('name') -%></span></th>
         <th><%= message('created') -%></th>
-        <th class="operations"><%= message('operations') -%></th>
+        <th class="text-right"><%= message('operations') -%></th>
       </tr>
       </thead>
       <tbody>
@@ -31,7 +31,7 @@
           </td>
           <td><%= h resource.name -%></td>
           <td><%= format_datetime(resource.created_at) -%></td>
-          <td class="operations">
+          <td class="text-right">
             <%= link_to message('delete'), {:action => :delete_form, :id => resource.id},
                         {:id => "delete-#{resource.key.parameterize}", :class => 'open-modal link-action link-red'} -%>
           </td>
index 5c6611031886b014653c0c6108e95ec724c0c59c..abc5db3d9d712be8a54d2406597569c89ddfdfe5 100644 (file)
     <% end %>
   </div>
 
-  <div id="project-roles-operations" style="float: right;">
-    <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' %>
+  <header class="page-header">
+    <div class="page-actions" id="project-roles-operations">
+      <div class="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>
-  </div>
+  </header>
 
   <table class="data width100" id="projects">
     <thead>