]> source.dussan.org Git - sonarqube.git/commitdiff
Add the style em .mandatory for highlighting the mandatory properties suffixed with...
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 18 Oct 2012 09:54:42 +0000 (11:54 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 18 Oct 2012 09:54:42 +0000 (11:54 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_properties.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_create_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_restore_form.html.erb
sonar-server/src/main/webapp/stylesheets/style.css

index 4cd3b99551fabcf84fe3585bd406014b9ef06b57..8c5fd718aeb087a65f4085b3f7a914fe6b9c9ba7 100644 (file)
@@ -9,7 +9,7 @@
 
     <% if !widget.java_definition.global && @dashboard.global %>
       <tr>
-        <td class="form-key-cell"><%= message('widget.resource_id') %> *</td>
+        <td class="form-key-cell"><%= message('widget.resource_id') %> <em class="mandatory">*</em></td>
         <td class="form-val-cell" id="row_resource">
           <%= resource_select_tag 'resource_id', {
               :resource_type_property => 'supportsGlobalDashboards',
index 535ea549a10a8028d652968b8968f19a3274192a..d1303cb1896681633433119afd7a8bef62c3be13 100644 (file)
@@ -13,7 +13,7 @@
       end
       %>
       <div class="form-field">
-        <label for="name"><%= message 'quality_profiles.copy_new_name' -%> <em>*</em></label>
+        <label for="name"><%= message 'quality_profiles.copy_new_name' -%> <em class="mandatory">*</em></label>
         <input id="copy-name" name="name" type="text" size="50" maxlength="100"/>
       </div>
     </div>
index f4e34e07c338292cab46e79e28452d9f910b0fc9..9ba524188480087235335fd1eea019db75483733 100644 (file)
@@ -13,7 +13,7 @@
     <div class="form-body">
 
       <div class="form-field">
-        <label for="name"><%= message('name') -%> <em>*</em></label>
+        <label for="name"><%= message('name') -%> <em class="mandatory">*</em></label>
         <input id="create-profile-name" name="name" type="text" size="50" maxlength="100"/>
       </div>
 
index b7c11aa4ac72c8d1299183f5243af734b9526dba..56af193706044d98303d50caff19c94c61c782df 100644 (file)
@@ -12,7 +12,7 @@
       <% end %>
 
       <div class="form-field">
-        <label for="name">New name <em>*</em></label>
+        <label for="name">New name <em class="mandatory">*</em></label>
         <input id="new-name" name="name" type="text" size="50" maxlength="100"/>
       </div>
     </div>
index ceb2dfcc8d583ffc865184312bf80f0e8e65bb02..641c4c0268557fbfb0b4b881ff0dee5c8ec53c6b 100644 (file)
@@ -8,7 +8,7 @@
     <div class="form-body">
 
       <div class="form-field">
-        <label for="name"><%= message('backup_verb') -%> <em>*</em></label>
+        <label for="name"><%= message('backup_verb') -%> <em class="mandatory">*</em></label>
         <%= file_field_tag 'backup' %>
       </div>
 
index 4b2cb346846e44a7442e9225aefa3d1beca9a340..dc7d85ca0a49f89d539c3bbc6a8e81ea423f6ac6 100644 (file)
@@ -96,6 +96,11 @@ em {
   font-weight: bold;
 }
 
+em.mandatory {
+  color: #990000;
+  font-style: italic;
+}
+
 a.external {
   background: url('../images/links/external.png') no-repeat 100% 0;
   padding: 0 16px 0 0;
@@ -2121,7 +2126,6 @@ table.nowrap td, td.nowrap, th.nowrap {
   color: #990000 !important;
 }
 
-
 .link-more {
   background-image: url('../images/bullet_arrow_down.png');
   background-repeat: no-repeat;
@@ -2368,11 +2372,6 @@ select.medium-width {
   padding: 5px 0 5px 140px;
 }
 
-.form-field label em {
-  color: #990000;
-  font-style: italic;
-}
-
 .form-field label {
   display: block;
   float: left;
@@ -2404,7 +2403,7 @@ select.medium-width {
   color: #777;
 }
 
-input[type=text], input[type=password]{
+input[type=text], input[type=password] {
   height: 18px;
   padding: 0 3px;
   color: #444;