]> source.dussan.org Git - sonarqube.git/blob
bd38e1cd7c604b4a63ba5f8a91a667716992ca3e
[sonarqube.git] /
1 <style>
2   #body {
3     padding: 0 1px 0 0;
4   }
5 </style>
6
7 <table class="data marginbottom10">
8   <thead>
9   <tr>
10     <th>Encryption</th>
11   </tr>
12   </thead>
13   <tbody>
14   <tr class="even">
15     <td style="padding: 10px">
16       <p class="marginbottom10">Secret key is required to be able to encrypt properties.
17         <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external" target="sonar_doc">More
18           information</a>.</p>
19
20       <div id="secret_content">
21         <%= button_to_remote 'Generate secret key',
22                              {:url => {:action => 'generate_secret'},
23                               :update => {:success => 'secret_content', :failure => 'secret_error'},
24                               :failure => "$('secret_error').show()",
25                               :method => 'POST'},
26                              {:id => 'submit_generate_secret'} -%>
27         <span id="secret_error" class="error" style="display:none"></span>
28       </div>
29     </td>
30   </tr>
31   </tbody>
32 </table>