def sonar_info
sonar_info=[]
- add_property(sonar_info, 'Server Key') {sonar_property(ServerIdConfigurationController::PROPERTY_SERVER_ID)}
+ add_property(sonar_info, 'Server ID') {sonar_property(ServerIdConfigurationController::PROPERTY_SERVER_ID)}
add_property(sonar_info, 'Version') {org.sonar.server.platform.Platform.getServer().getVersion()}
add_property(sonar_info, 'Started at') {org.sonar.server.platform.Platform.getServer().getStartedAt()}
add_property(sonar_info, 'Database') {"#{jdbc_metadata. getDatabaseProductName()} #{jdbc_metadata. getDatabaseProductVersion()}"}
<% if @server_id %>
<p>
- <big><b><span class="<%= @bad_id ? 'error' : 'notice' -%>"><%= @server_id -%></span></b></big>
+ <big><b><span class="<%= @bad_id ? 'error' : 'notice' -%>" id="server_id"><%= @server_id -%></span></b></big>
<% if @bad_id %>
<span class="error"><%= message('server_id_configuration.bad_id') -%></span>
<% end %>
<tfoot>
<tr>
<td colspan="3">
- <%= submit_tag message('server_id_configuration.generate_button'), :disable_with => message('server_id_configuration.generating_button') %>
+ <%= submit_tag message('server_id_configuration.generate_button'), :disable_with => message('server_id_configuration.generating_button'), :id => 'generate-button' -%>
</td>
</tr>
</tfoot>
<p class="marginbottom10"><%= message('server_id_configuration.ip.desc') -%></p>
<ul class="marginbottom10 bullet">
<% @valid_addresses.each_with_index do |ip_address, index| %>
- <li><span class="address_<%= index -%>"><%= ip_address.getHostAddress() -%></span></li>
+ <li><span id="address_<%= index -%>"><%= ip_address.getHostAddress() -%></span></li>
<% end %>
</ul>
<p>
-<iframe src="<%= url -%>" width="100%" height="600" frameborder="0" scrolling="no"></iframe>
\ No newline at end of file
+<iframe src="<%= url -%>" width="100%" height="600" frameborder="0" scrolling="no" name="settings_iframe"></iframe>
\ No newline at end of file