From: simonbrandhof Date: Tue, 2 Nov 2010 00:25:44 +0000 (+0000) Subject: improve UI of update center X-Git-Tag: 2.6~703 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=674a23ae80dd162f79bc7777720c841b3bb34a55;p=sonarqube.git improve UI of update center --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb index 429602cc5fb..efec31b834d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb @@ -84,7 +84,7 @@ class UpdatecenterController < ApplicationController def cancel_downloads java_facade.cancelPluginDownloads() - flash[:notice]="Plugin downloads are canceled." + flash[:notice]="Pending plugin installations are canceled." redirect_to :action => 'index' end @@ -115,7 +115,7 @@ class UpdatecenterController < ApplicationController def cancel_uninstalls java_facade.cancelPluginUninstalls() - flash[:notice]="Plugin uninstalls are canceled." + flash[:notice]="Pending plugin uninstalls are canceled." redirect_to :action => 'index' end diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb index ff599694e49..1ac4beeff5f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb @@ -1,81 +1,92 @@ - -
+ +
-<%= render :partial => 'updatecenter/operations' -%> + <%= render :partial => 'updatecenter/operations' -%> - - - - - - - - - - - <% if @user_plugins.empty? %> - - <% else - @user_plugins.each do |plugin| - %> - - - - - - <% end %> - <% end %> - -

Plugins

PluginVersionDescription
No plugins
<%= h(plugin.name) -%><%= plugin.version || '-' -%> - <%= plugin.description -%> - - -
+ + + + + + + + + + + <% if @user_plugins.empty? %> + + <% else + @user_plugins.each do |plugin| + %> + + + + + + + <% end %> + + + +

Plugins

PluginVersionDescription
No plugins
<%= h(plugin.name) -%><%= plugin.version || '-' -%> + <%= plugin.description -%> -
+
+ <%= link_to 'Homepage', plugin.homepage, :class => 'external' -%> +
+
+ +
+
+
+ + + <% end %> + <% end %> + + -
+
+ + + + + + + + + + + <% + @core_plugins.each do |plugin| + %> + + + + + <% end %> + +

System plugins

PluginDescription
<%= plugin.name -%><%= plugin.description %>
+ +