aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-05 14:13:14 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-05 14:13:14 +0100
commit7231e7772647d3af6fb2a16147659907febd2d50 (patch)
treeb5dfa32d7d57085c37740e5daf1396950d0c6e4b /sonar-server
parent9e9db3211048b051814074cfee5603838f38d8b4 (diff)
downloadsonarqube-7231e7772647d3af6fb2a16147659907febd2d50.tar.gz
sonarqube-7231e7772647d3af6fb2a16147659907febd2d50.zip
open the link 'new window' into a popup, but not into a window
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
index f8e758d3388..bc1af726fb1 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
@@ -16,7 +16,7 @@
<% first=false
end
if request.xhr? %>
- <li class="<%= 'first' if first -%>"><a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>" target="resource">New Window</a></li>
+ <li class="<%= 'first' if first -%>"><a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>" onclick="window.open(this.href,'resource','height=800,width=900,scrollbars=1,resizable=1');return false;">New Window</a></li>
<% end %>
</ul>
<ul class="tabs" >
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index f0a60d8dda3..f0bfa6d8daf 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -738,7 +738,7 @@ span.rulename a:hover {
padding: 3px 0.5em;
}
#global_violations td img, #source_title img {
- vertical-align: sub;
+ vertical-align: text-bottom;
}
.tab_header {
border: 1px solid #DDD;