aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-05-13 18:03:18 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-05-13 18:03:18 +0200
commite2fe2ae4603e963b3be8c489d55467ee4b09300c (patch)
treed6e4ad03e86ae6b986f458c6f6e33070ecf70204 /server/sonar-web
parentaf80be42d4c6012313528095e29f746a37a1a5b7 (diff)
downloadsonarqube-e2fe2ae4603e963b3be8c489d55467ee4b09300c.tar.gz
sonarqube-e2fe2ae4603e963b3be8c489d55467ee4b09300c.zip
improve project deletion page
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb58
1 files changed, 31 insertions, 27 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb
index ab311285ab1..7149cb483e6 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb
@@ -9,31 +9,35 @@
<meta http-equiv='refresh' content='5;'>
<% end %>
-<h1 class="marginbottom10"><%= message('bulk_deletion.page') -%></h1>
+<div class="page">
+ <header class="page-header">
+ <h1 class="page-title"><%= message('bulk_deletion.page') -%></h1>
+ </header>
-<div class="<%= pending_deletions ? 'admin' : 'error' -%>" style="padding:10px">
- <% if pending_deletions %>
- <%= image_tag 'loading.gif' -%>
- <% end %>
-
- <b><%= deletion_manager.message -%></b>
- <br/>
- <br/>
- <%= message('bulk_deletion.started_since_x', :params => distance_of_time_in_words(start_time, Time.now) ) -%> (<%= l start_time -%>)
- <br/>
- <br/>
-
- <% if !pending_deletions && !failed_deletions.empty? %>
- <p>
- <%= message('bulk_deletion.following_deletions_failed') -%>
- <ul style="list-style: none outside; padding-left: 30px;">
- <% failed_deletions.each do |name| %>
- <li style="list-style: disc outside; padding: 2px;"><%= name -%></li>
- <% end %>
- </ul>
- </p>
- <p>
- <a href="<%= url_after_dismiss -%>"><%= message('bulk_deletion.hide_message') -%></a>
- </p>
- <% end %>
-</div> \ No newline at end of file
+ <div class="<%= pending_deletions ? 'admin' : 'error' -%>" style="padding:10px">
+ <% if pending_deletions %>
+ <%= image_tag 'loading.gif' -%>
+ <% end %>
+
+ <b><%= deletion_manager.message -%></b>
+ <br/>
+ <br/>
+ <%= message('bulk_deletion.started_since_x', :params => distance_of_time_in_words(start_time, Time.now) ) -%> (<%= l start_time -%>)
+ <br/>
+ <br/>
+
+ <% if !pending_deletions && !failed_deletions.empty? %>
+ <p>
+ <%= message('bulk_deletion.following_deletions_failed') -%>
+ <ul style="list-style: none outside; padding-left: 30px;">
+ <% failed_deletions.each do |name| %>
+ <li style="list-style: disc outside; padding: 2px;"><%= name -%></li>
+ <% end %>
+ </ul>
+ </p>
+ <p>
+ <a href="<%= url_after_dismiss -%>"><%= message('bulk_deletion.hide_message') -%></a>
+ </p>
+ <% end %>
+ </div>
+</div>