]> source.dussan.org Git - sonarqube.git/commitdiff
improve project deletion page
authorStas Vilchik <vilchiks@gmail.com>
Fri, 13 May 2016 16:03:18 +0000 (18:03 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 13 May 2016 16:03:18 +0000 (18:03 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/bulk_deletion/_pending_deletions_screen.html.erb

index ab311285ab1a056cdbeb371919e8b1d9d3e9c824..7149cb483e69bdc0aa7cae1324634eed23a1e2e0 100644 (file)
@@ -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>