]> source.dussan.org Git - sonarqube.git/commitdiff
fix form wrapping on coding rules page
authorStas Vilchik <vilchiks@gmail.com>
Wed, 18 Feb 2015 14:55:15 +0000 (15:55 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 18 Feb 2015 14:55:26 +0000 (15:55 +0100)
server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-custom-rule-creation.hbs
server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-manual-rule-creation.hbs
server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-profile-activation.hbs

index fe89c48d2d51dae67825d86d39d68817a256644b..2e141cc9932422876fa70800b030c89aaa71c93e 100644 (file)
 
     <table>
       <tr class="property">
-        <th><h3>{{t 'name'}} <em class="mandatory">*</em></h3></th>
+        <th class="nowrap"><h3>{{t 'name'}} <em class="mandatory">*</em></h3></th>
         <td>
           <input type="text" name="name" id="coding-rules-custom-rule-creation-name"
             class="coding-rules-name-key" value="{{name}}"/>
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
+        <th class="nowrap"><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
         <td>
           {{#if change}}
             <span class="coding-rules-detail-custom-rule-key" title="{{key}}">{{key}}</span>
@@ -32,7 +32,7 @@
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'description'}} <em class="mandatory">*</em></h3></th>
+        <th class="nowrap"><h3>{{t 'description'}} <em class="mandatory">*</em></h3></th>
         <td>
           <textarea name="markdown_description" id="coding-rules-custom-rule-creation-html-description"
             class="coding-rules-markdown-description" rows="15">{{{mdDesc}}}</textarea>
@@ -40,7 +40,7 @@
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'severity'}}</h3></th>
+        <th class="nowrap"><h3>{{t 'severity'}}</h3></th>
         <td>
           <select id="coding-rules-custom-rule-creation-severity">
             {{#each severities}}
@@ -50,7 +50,7 @@
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'coding_rules.filters.status'}}</h3></th>
+        <th class="nowrap"><h3>{{t 'coding_rules.filters.status'}}</h3></th>
         <td>
           <select id="coding-rules-custom-rule-creation-status">
             {{#each statuses}}
@@ -61,7 +61,7 @@
       </tr>
       {{#each params}}
         <tr class="property">
-          <th><h3>{{key}}</h3></th>
+          <th class="nowrap"><h3>{{key}}</h3></th>
           <td>
             {{#eq type 'TEXT'}}
               <textarea class="width100" rows="3" name="{{key}}" placeholder="{{defaultValue}}">{{value}}</textarea>
index c106788b2fbf1f80b7cb13d98b47be2ba8769f61..293b88a774495887d8721f647f1ce27a25271abc 100644 (file)
 
     <table>
       <tr class="property">
-        <th><h3>{{t 'name'}} <em class="mandatory">*</em></h3></th>
+        <th class="nowrap"><h3>{{t 'name'}} <em class="mandatory">*</em></h3></th>
         <td>
           <input type="text" name="name" id="coding-rules-manual-rule-creation-name"
             class="coding-rules-name-key" value="{{name}}"/>
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
+        <th class="nowrap"><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
         <td>
           {{#if change}}
             {{key}}
@@ -31,7 +31,7 @@
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'description'}} <em class="mandatory">*</em></h3></th>
+        <th class="nowrap"><h3>{{t 'description'}} <em class="mandatory">*</em></h3></th>
         <td>
           <textarea name="markdown_description" id="coding-rules-manual-rule-creation-html-description"
             class="coding-rules-markdown-description" rows="15">{{{mdDesc}}}</textarea>
index cec3add7e93bd4afb012d3a37c15accc8aa171b5..4f3d1b8abbd8fbeb2ee57980643783f35a2f135c 100644 (file)
@@ -18,7 +18,7 @@
 
     <table>
       <tr class="property">
-        <th><h3>{{t 'coding_rules.quality_profile'}}</h3></th>
+        <th class="nowrap"><h3>{{t 'coding_rules.quality_profile'}}</h3></th>
         <td>
           {{#any key qProfile}}
             {{name}}
@@ -32,7 +32,7 @@
         </td>
       </tr>
       <tr class="property">
-        <th><h3>{{t 'severity'}}</h3></th>
+        <th class="nowrap"><h3>{{t 'severity'}}</h3></th>
         <td>
           <select id="coding-rules-quality-profile-activation-severity">
             {{#each severities}}
@@ -47,7 +47,7 @@
       {{else}}
         {{#each params}}
           <tr class="property">
-            <th><h3>{{key}}</h3></th>
+            <th class="nowrap"><h3>{{key}}</h3></th>
             <td>
               {{#eq type 'TEXT'}}
                 <textarea class="width100" rows="3" name="{{key}}" placeholder="{{defaultValue}}">{{value}}</textarea>