diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 9355c9bd6..4fe9f4095 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -71,17 +71,34 @@ t_height = g_height + headers_height
|
-
-
-
-
-
-
+ <%
+ style = ""
+ style += "position:relative;"
+ style += "height: #{t_height + 24}px;"
+ style += "width: #{subject_width + 1}px;"
+ %>
+ <%= content_tag(:div, :style => style) do %>
+ <%
+ style = ""
+ style += "right:-2px;"
+ style += "width: #{subject_width}px;"
+ style += "height: #{headers_height}px;"
+ style += 'background: #eee;'
+ %>
+ <%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %>
+ <%
+ style = ""
+ style += "right:-2px;"
+ style += "width: #{subject_width}px;"
+ style += "height: #{t_height}px;"
+ style += 'border-left: 1px solid #c0c0c0;'
+ style += 'overflow: hidden;'
+ %>
+ <%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %>
+ <%= content_tag(:div, :class => "gantt_subjects") do %>
+ <%= @gantt.subjects.html_safe %>
+ <% end %>
+ <% end %>
-<%= @gantt.subjects.html_safe %>
-
-
- |