aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-10-09 12:09:53 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-10-09 12:33:01 +0200
commit549e52a2f43f6d7f56594dd1217cad5909b4c63b (patch)
treeb1221dca8c2955b2859131d54800f530f95fa1d3 /sonar-server/src
parent3197ce5b1e975eb937b53e9a33eb64c7d1ab9ba5 (diff)
downloadsonarqube-549e52a2f43f6d7f56594dd1217cad5909b4c63b.tar.gz
sonarqube-549e52a2f43f6d7f56594dd1217cad5909b4c63b.zip
SONAR-4746 Convert server ID page to new layout
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb22
1 files changed, 12 insertions, 10 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
index bc6d28d6873..e953a41fe6f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
@@ -1,8 +1,8 @@
<form method="post" action="<%= ApplicationController.root_context -%>/server_id_configuration/generate">
- <table class="data marginbottom10">
+ <table class="marginbottom10">
<thead>
<tr>
- <td style="padding: 10px">
+ <td style="padding: 10px" colspan="2">
<p><%= message('server_id_configuration.information') -%></p>
<% if @server_id %>
@@ -18,27 +18,29 @@
</tr>
</thead>
<tbody>
- <tr class="even">
- <td style="padding: 10px">
+ <tr class="property">
+ <th>
<h3><%= message('server_id_configuration.organisation.title') -%></h3>
-
- <p class="marginbottom10"><%= message('server_id_configuration.organisation.desc') -%></p>
+ </th>
+ <td>
<input type="text" name="organisation" value="<%= @organisation -%>" size="50"/>
<br/>
+ <p class="marginbottom10"><%= message('server_id_configuration.organisation.desc') -%></p>
<span class="note"><%= message('server_id_configuration.organisation.pattern') -%></span>
</td>
</tr>
- <tr class="odd">
- <td style="padding: 10px">
+ <tr class="property">
+ <th>
<h3><%= message('server_id_configuration.ip.title') -%></h3>
-
+ </th>
+ <td>
+ <input type="text" name="address" value="<%= @address -%>"/>
<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 id="address_<%= index -%>"><%= ip_address.getHostAddress() -%></span></li>
<% end %>
</ul>
- <input type="text" name="address" value="<%= @address -%>"/>
</td>
</tr>
</tbody>