]> source.dussan.org Git - sonarqube.git/commitdiff
Small visual adjustments on the issues page
authorStas Vilchik <vilchiks@gmail.com>
Wed, 26 Feb 2014 08:17:03 +0000 (09:17 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 26 Feb 2014 08:17:03 +0000 (09:17 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_assign_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_assign_form.hbs.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_plan_form.hbs.erb
sonar-server/src/main/webapp/javascripts/navigator/issues.js
sonar-server/src/main/webapp/stylesheets/style.css

index c1c12f57770ad89a743103c62b1c29cb4cf95f4c..e80b3a69106ce2196bde53e001b22001c6b11dc4 100644 (file)
@@ -15,9 +15,9 @@
         -%>
         <input type="button" value="<%= message('issue.assign.submit') -%>" onclick="submitIssueForm(this)">
         &nbsp;
-        <%= link_to_function message('cancel'), 'closeIssueForm(this)' -%>&nbsp;
+        <%= link_to_function message('cancel'), 'closeIssueForm(this)', :class => 'action' -%>&nbsp;
         <span class="loading hidden"></span>
       </td>
     </tr>
   </table>
-</form>
\ No newline at end of file
+</form>
index 73ce039b4cf41e81a015842f20bfdd4f61800406..802fcf522e142977b7345bf952aecc90af028200 100644 (file)
@@ -28,8 +28,8 @@
 
     <%= dropdown_tag('plan', plan_options, {:show_search_box => false}, {:id => plans_select_box_id}) -%>
 
-    <input type="button" value="<%= message('issue.plan.submit') -%>" onclick="submitIssueForm(this)">
-    <%= link_to_function message('cancel'), 'closeIssueForm(this)' -%>
+    <input type="button" value="<%= message('issue.plan.submit') -%>" onclick="submitIssueForm(this)">&nbsp;
+    <%= link_to_function message('cancel'), 'closeIssueForm(this)', :class => 'action' -%>
     <span class="loading hidden"></span>
 
   </form>
index 24378e8cd25fca94c0522c344d4d06662a7a28ed..e7c7899462503ed218ebc94e17b936c91781dffa 100644 (file)
@@ -3,7 +3,7 @@
     <tr>
       <td>
         <input type="text" id="issue-assignee-select">
-        <input id="issue-assign-submit" type="submit" value="<%= message('issue.assign.submit') -%>">
+        <input id="issue-assign-submit" type="submit" value="<%= message('issue.assign.submit') -%>">&nbsp;
         <a id="issue-assign-cancel" class="action"><%= message('cancel') -%></a>
       </td>
     </tr>
index ad9a299449faa479e0300d643ffed547842ae4dc..33e24157cbe669b93fc24da20de258d725b67b44 100644 (file)
@@ -10,7 +10,7 @@
         {{/notEq}}
       {{/each}}
     </select>
-    <input id="issue-plan-submit" type="submit" value="<%= message('issue.plan.submit') -%>">
+    <input id="issue-plan-submit" type="submit" value="<%= message('issue.plan.submit') -%>">&nbsp;
   {{else}}
     <% if is_admin? %>
       <span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_admin') -%></span>
@@ -18,5 +18,5 @@
       <span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_other') -%></span>
     <% end %>
   {{/if}}
-    <a id="issue-plan-cancel" class="action"><%= message('cancel') -%></a>
+  <a id="issue-plan-cancel" class="action"><%= message('cancel') -%></a>
 </script>
index 847269b67e38dffe1dc3225ab3baaf33a44be4b7..1e754196a314f2c12a4f46d40a70c7cf8ad48a78 100644 (file)
@@ -563,7 +563,7 @@ jQuery(function() {
     onRender: function() {
       var format = function(state) {
         if (!state.id) return state.text; // optgroup
-        return '<i class="icon-severity-' + state.id.toLowerCase() + '"></i>' + state.text;
+        return '<i class="icon-severity-' + state.id.toLowerCase() + '"></i> ' + state.text;
       }
 
       this.ui.select.select2({
index 0ee49feb93e71f93f3c78b86436fc4cf19c402c2..fa1203973c20e35cb5659a9cfde16b05ffd1e273 100644 (file)
@@ -869,7 +869,8 @@ th.operations, td.operations {
 
 .code-issue-form input[type=submit],
 .code-issue-form input[type=button],
-.code-issue-form button {
+.code-issue-form button,
+.code-issue-form .action {
   vertical-align: middle;
 }