aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-30 14:04:18 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-30 14:04:18 +0000
commite833f6263a3d90d5dcf012df73b486b39c198be9 (patch)
tree0ed796333439dcf39cf9a3a78bc01649bd44581e /sonar-server/src
parent3ec1456685ba118d8e7b1a944179190db3005a48 (diff)
downloadsonarqube-e833f6263a3d90d5dcf012df73b486b39c198be9.tar.gz
sonarqube-e833f6263a3d90d5dcf012df73b486b39c198be9.zip
Add some warnings to the database upgrade form
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml18
1 files changed, 11 insertions, 7 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml
index 3c42abcf46d..c09154ca647 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml
@@ -16,11 +16,9 @@
<div id="setupform">
<div id="setupformlogo"><a href="http://www.sonarsource.org"><%= image_tag('sonar.png', :class => 'png') -%></a></div>
-<h1>Upgrade database.</h1>
-<p>It is recommended to <b>backup database</b> before.</p>
-<br/>
+<h1 class="marginbottom10">Upgrade database.</h1>
<p>
-<h3>Database connection:</h3>
+<h3>Connection</h3>
<table>
<tr>
<td width="1%" nowrap>URL: </td>
@@ -37,10 +35,16 @@
</table>
</p>
<br/>
+<h3>Warnings</h3>
<p>
- WARNING : DO NOT REFRESH THIS PAGE UNTIL THE SETUP IS FINISHED. It can take several minutes.
+ <ul>
+ <li><b>Do not refresh this page</b> until the upgrade is finished. It can take several minutes.</li>
+ <li>It is recommended to <b>backup database</b> before upgrading.</li>
+ <li><b>Copy the directory /extensions</b> from previous version of Sonar before upgrading.</li>
+ </ul>
+</p>
+ <br/>
<form id="submit_form" method="POST" action="<%= url_for :action => 'setup_database' -%>" onsubmit="Form.disable('submit_form');">
- <input type="submit" value="Setup database" id="submit_setup" />
+ <input type="submit" value="Upgrade" id="submit_setup" />
</form>
-</p>
</div> \ No newline at end of file