]> source.dussan.org Git - sonarqube.git/blob
e2624527d17ba6e6842d5064101ed9464bd42413
[sonarqube.git] /
1 <style>
2   #body {
3     padding: 0 1px 0 0;
4   }
5 </style>
6
7 <table class="marginbottom10">
8   <tbody>
9   <tr class="property">
10     <td style="padding: 10px">
11       <p class="marginbottom10">Secret key is required to be able to encrypt properties.
12         <a href="http://redirect.sonarsource.com/doc/settings-encryption.html" class="external" target="sonar_doc">More
13           information</a>.</p>
14
15       <div id="secret_content">
16           <input        id="submit_generate_secret"
17                   type="button"
18                   value="Generate secret key"
19                   onclick="$j.ajax({
20                     url:'<%=ApplicationController.root_context-%>/encryption_configuration/generate_secret',
21                     type:'post',
22                     success:function(response){$j('#secret_content').html(response);},
23                     error:function(response){$j('#secret_error').html(response.responseText); $j('#secret_error').show();}
24                     });
25                     return false;">
26           </input>
27         <span id="secret_error" class="error" style="display:none"></span>
28       </div>
29     </td>
30   </tr>
31   </tbody>
32 </table>