aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-07 12:42:39 +0200
committerDavid Gageot <david@gageot.net>2012-05-07 15:25:09 +0200
commitce7cc6562b2b9c4009573453cc5c77707a5275bb (patch)
tree7797c7aab41f5bcc3df15b014cface8eeeab23c9
parentb877bc7f4a4107df00a7d603333d0096309d7565 (diff)
downloadsonarqube-ce7cc6562b2b9c4009573453cc5c77707a5275bb.tar.gz
sonarqube-ce7cc6562b2b9c4009573453cc5c77707a5275bb.zip
Even better 'edit layout' GUI. Smaller and without title
-rw-r--r--plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties1
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/dashboard.css8
3 files changed, 5 insertions, 6 deletions
diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties
index bc5866a6f20..33f05a4ee55 100644
--- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties
+++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties
@@ -513,7 +513,6 @@ dependencies.not_used=Not used
#
#------------------------------------------------------------------------------
-dashboard.click_to_choose_layout=Click to choose the layout
dashboard.cannot_render_widget_x=Can not render widget {0}: {1}
dashboard.back_to_dashboard=Back to dashboard
dashboard.configure_widgets=Configure widgets
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb
index 13099c79231..d8b49a1ef6a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb
@@ -7,8 +7,6 @@
</div>
<div id="edit-layout">
- <p><%= message('dashboard.click_to_choose_layout') -%>: </p>
-
<% {'100%', 'layout100.png',
'50%-50%', 'layout5050.png',
'30%-70%', 'layout3070.png',
diff --git a/sonar-server/src/main/webapp/stylesheets/dashboard.css b/sonar-server/src/main/webapp/stylesheets/dashboard.css
index d4ba07720ef..3f6cc42d1b4 100644
--- a/sonar-server/src/main/webapp/stylesheets/dashboard.css
+++ b/sonar-server/src/main/webapp/stylesheets/dashboard.css
@@ -51,7 +51,6 @@
}
#dashboard #widget_defs, #dashboard #edit-layout {
- height: 250px;
background-color: #FFF6BF;
border: 2px solid #FFD324;
padding: 3px;
@@ -60,15 +59,18 @@
}
#dashboard #widget_defs {
- margin-right: 190px;
+ margin-right: 104px;
overflow-y: auto;
+ height: 250px;
}
#dashboard #edit-layout {
- width: 172px;
+ width: 86px;
+ height: 248px;
position: absolute;
right: 0;
top: 0;
+ padding-top: 5px;
}
#dashboard #edit-layout p {