<div class="box">\r
<table width="100%">\r
<tr>\r
- <td width="15%"><b><%=l(:field_status)%> :</b></td><td width="35%"><%= @issue.status.name %></td>\r
- <td width="15%"><b><%=l(:field_priority)%> :</b></td><td width="35%"><%= @issue.priority.name %></td>\r
+ <td style="width:15%"><b><%=l(:field_status)%> :</b></td><td style="width:35%"><%= @issue.status.name %></td>\r
+ <td style="width:15%"><b><%=l(:field_priority)%> :</b></td><td style="width:35%"><%= @issue.priority.name %></td>\r
</tr>\r
<tr>\r
<td><b><%=l(:field_assigned_to)%> :</b></td><td><%= @issue.assigned_to ? @issue.assigned_to.name : "-" %></td>\r
<li class="submenu"><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li>\r
<% end %>\r
\r
- <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => params[:controller], :page => params[:action] }, :target => "new", :class => "picHelp" %></li>\r
+ <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => params[:controller], :page => params[:action] }, :onclick => "window.open(this.href); return false;", :class => "picHelp" %></li>\r
\r
<% if loggedin? %>\r
<li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> \r
<div id="footer">\r
<p>\r
<%= auto_link $RDM_FOOTER_SIG %> |\r
- <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %>\r
+ <a href="http://redmine.rubyforge.org/"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %>\r
</p>\r
</div>\r
\r
\r
<div>\r
<div class="rightbox">\r
- <%= start_form_tag %>\r
+<%= start_form_tag %>\r
<p><%= select_month(@month, :prefix => "month", :discard_type => true) %>\r
<%= select_year(@year, :prefix => "year", :discard_type => true) %></p>\r
- <%= check_box_tag 'show_issues', 1, @show_issues %><%= hidden_field_tag 'show_issues', 0 %> <%=l(:label_issue_plural)%><br />\r
- <%= check_box_tag 'show_news', 1, @show_news %><%= hidden_field_tag 'show_news', 0 %> <%=l(:label_news_plural)%><br />\r
- <%= check_box_tag 'show_files', 1, @show_files %><%= hidden_field_tag 'show_files', 0 %> <%=l(:label_attachment_plural)%><br />\r
- <%= check_box_tag 'show_documents', 1, @show_documents %><%= hidden_field_tag 'show_documents', 0 %> <%=l(:label_document_plural)%><br />\r
- <p><center><%= submit_tag l(:button_apply), :class => 'button-small' %></center></p>\r
- <%= end_form_tag %>\r
- </div>\r
+<p>\r
+ <%= check_box_tag 'show_issues', 1, @show_issues %><%= hidden_field_tag 'show_issues', 0, :id => nil %> <%=l(:label_issue_plural)%><br />\r
+ <%= check_box_tag 'show_news', 1, @show_news %><%= hidden_field_tag 'show_news', 0, :id => nil %> <%=l(:label_news_plural)%><br />\r
+ <%= check_box_tag 'show_files', 1, @show_files %><%= hidden_field_tag 'show_files', 0, :id => nil %> <%=l(:label_attachment_plural)%><br />\r
+ <%= check_box_tag 'show_documents', 1, @show_documents %><%= hidden_field_tag 'show_documents', 0, :id => nil %> <%=l(:label_document_plural)%>\r
+</p>\r
+<p class="textcenter"><%= submit_tag l(:button_apply), :class => 'button-small' %></p>\r
+<%= end_form_tag %>\r
+</div>\r
+\r
<% @events_by_day.keys.sort {|x,y| y <=> x }.each do |day| %>\r
<h3><%= day_name(day.cwday) %> <%= day.day %></h3>\r
<ul>\r
<h2><%= l(:label_calendar) %></h2>\r
\r
+ <%= start_form_tag :action => 'calendar', :id => @project %>\r
<table width="100%">\r
<tr>\r
-<td align="left" width="150">\r
+<td align="left" style="width:150px">\r
<%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")), \r
{:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }},\r
{:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))}\r
%>\r
</td>\r
<td align="center">\r
- <%= start_form_tag :action => 'calendar', :id => @project %>\r
<%= select_month(@month, :prefix => "month", :discard_type => true) %>\r
<%= select_year(@year, :prefix => "year", :discard_type => true) %>\r
<%= submit_tag l(:button_submit), :class => "button-small" %>\r
- <%= end_form_tag %>\r
</td>\r
-<td align="right" width="150">\r
+<td align="right" style="width:150px">\r
<%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'), \r
{:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }},\r
{:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))}\r
</td>\r
</tr>\r
</table>\r
+ <%= end_form_tag %>\r
<br />\r
\r
<table class="list with-cells">\r
<tr>\r
<th></th>\r
<% 1.upto(7) do |d| %>\r
- <th width="14%"><%= day_name(d) %></th>\r
+ <th style="width:14%"><%= day_name(d) %></th>\r
<% end %>\r
</tr>\r
</thead>\r
<tbody>\r
-<tr height="100">\r
+<tr style="height:100px">\r
<% day = @date_from\r
while day <= @date_to\r
if day.cwday == 1 %>\r
<th><%= day.cweek %></th>\r
<% end %> \r
- <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">\r
- <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> \r
+ <td valign="top" style="width:14%" class="<%= day.month==@month ? "even" : "odd" %>">\r
+ <p class="textright"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> \r
<% day_issues = []\r
@issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } \r
day_issues.each do |i| %> \r
<small><%= link_to "#{i.tracker.name} ##{i.id}", { :controller => 'issues', :action => 'show', :id => i }, :title => "#{i.subject}" %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br />\r
<% end %>\r
</td>\r
- <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %>\r
+ <%= '</tr><tr style="height:100px">' if day.cwday >= 7 and day!=@date_to %>\r
<%\r
day = day + 1\r
end %>\r
<tr>\r
<td align="left">\r
<%= start_form_tag %>\r
-<input type="text" name="months" size="2" value="<%= @months %>">\r
+<p>\r
+<input type="text" name="months" size="2" value="<%= @months %>" />\r
<%= l(:label_months_from) %>\r
<%= select_month(@month_from, :prefix => "month", :discard_type => true) %>\r
<%= select_year(@year_from, :prefix => "year", :discard_type => true) %>\r
<%= hidden_field_tag 'zoom', @zoom %>\r
<%= submit_tag l(:button_submit), :class => "button-small" %>\r
+</p>\r
<%= end_form_tag %>\r
</td>\r
<td align="right">\r
</table>\r
<br />\r
\r
-<style>\r
-.m_bg {\r
- position:absolute;\r
- top:0;\r
- height:16px;\r
- border-top: 1px solid #c0c0c0;\r
- border-bottom: 1px solid #c0c0c0;\r
- border-right: 1px solid #c0c0c0;\r
- text-align: center;\r
- overflow: hidden;\r
-}\r
-\r
-.task {\r
- position: absolute;\r
- height:8px;\r
- font-size:0.8em;\r
- color:#888;\r
- background:#aaa;\r
- padding:0;\r
- margin:0;\r
- line-height:0.8em;\r
-}\r
-\r
-.task_late {\r
- background:#f66;\r
-}\r
-\r
-.task_done {\r
- background:#66f;\r
-} \r
-</style>\r
-\r
<% zoom = 1\r
@zoom.times { zoom = zoom * 2 }\r
\r
t_height = g_height + headers_heigth\r
%>\r
\r
-<table width="100%" border=0 cellspacing=0 cellpading=0>\r
+<table width="100%" style="border:0; border-collapse: collapse;">\r
<tr>\r
-<td width=260>\r
+<td style="width:260px;">\r
\r
<div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;">\r
-<div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"></div>\r
-<div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="m_bg"></div>\r
+<div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;background: #eee;" class="gantt_hdr"></div>\r
+<div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="gantt_hdr"></div>\r
<%\r
#\r
# Tasks subjects\r
<td>\r
\r
<div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width %>;overflow:auto;">\r
-<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"> </div>\r
+<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="gantt_hdr"> </div>\r
<% \r
#\r
# Months headers\r
@months.times do \r
width = ((month_f >> 1) - month_f) * zoom - 1\r
%>\r
- <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="m_bg">\r
+ <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr">\r
<%= link_to "#{month_f.year}-#{month_f.month}", { :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months }, :title => "#{month_name(month_f.month)} #{month_f.year}"%>\r
</div>\r
<% \r
week_f = @date_from + (7 - @date_from.cwday + 1)\r
width = (7 - @date_from.cwday + 1) * zoom-1\r
%>\r
- <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> </div>\r
+ <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> </div>\r
<% \r
left = left + width+1\r
end %>\r
while week_f <= @date_to\r
width = (week_f + 6 <= @date_to) ? 7 * zoom -1 : (@date_to - week_f + 1) * zoom-1\r
%>\r
- <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg">\r
+ <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr">\r
<small><%= week_f.cweek if width >= 16 %></small>\r
</div>\r
<% \r
(@date_to - @date_from + 1).to_i.times do \r
width = zoom - 1\r
%>\r
- <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="m_bg">\r
+ <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="gantt_hdr">\r
<%= day_name(wday)[0,1] %>\r
</div>\r
<% \r
<table width="100%">\r
<tr>\r
<td align="left"><%= link_to ('« ' + l(:label_previous)), :year => (@date_from << @months).year, :month => (@date_from << @months).month, :zoom => @zoom, :months => @months %></td>\r
-<td>\r
<td align="right"><%= link_to (l(:label_next) + ' »'), :year => (@date_from >> @months).year, :month => (@date_from >> @months).month, :zoom => @zoom, :months => @months %></td>\r
</tr>\r
</table>
\ No newline at end of file
<tbody>
<% for project in @projects %>
<tr class="<%= cycle("odd", "even") %>">\r
- <td><%= link_to project.name, :action => 'show', :id => project %>\r
- <td><%=h project.description %>\r
- <td align="center"><%= format_date(project.created_on) %>\r
+ <td><%= link_to project.name, :action => 'show', :id => project %></td>\r
+ <td><%=h project.description %></td>\r
+ <td align="center"><%= format_date(project.created_on) %></td>\r
</tr>
<% end %>
</tbody>
<tbody>\r
<% for issue in @issues %>
<tr class="<%= cycle("odd", "even") %>">\r
- <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th>\r
+ <th style="width:15px;"><%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %></th>\r
<td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>\r
<td align="center"><%= issue.tracker.name %></td>\r
<td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td>\r
<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'icon file' %>,\r
<%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %>\r
</div>\r
-\r
-<%= submit_tag l(:button_move), :class => "button-small" %>\r
-<%= end_form_tag %>\r
+<p><%= submit_tag l(:button_move), :class => "button-small" %>\r
\r
<%= pagination_links_full @issue_pages %>\r
[ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]\r
-\r
+</p>\r
+<%= end_form_tag %>\r
<% end %>\r
<% end %>
\ No newline at end of file
</li>\r
<% end %>\r
</ul>\r
- <center><small><%= link_to l(:label_issue_view_all), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 %></small></center>\r
+ <p class="textcenter"><small><%= link_to l(:label_issue_view_all), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 %></small></p>\r
</div>
</div>\r
\r
<div class="box">\r
<h3><%=l(:label_news_latest)%></h3> \r
<%= render :partial => 'news/news', :collection => @news %>
- <center><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></center>\r
+ <p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p>\r
</div> \r
-</div>\r
-\r
- \r
-\r
-
-\r
- \r
+</div>
\ No newline at end of file
-<script>\r
-\r
+<script type="text/javascript">\r
+//<![CDATA[\r
function add_filter() {\r
select = $('add_filter_select');\r
field = select.value\r
check_box = $('cb_' + field);\r
\r
if (check_box.checked) {\r
- Element.show("operators[" + field + "]");\r
+ Element.show("operators_" + field);\r
toggle_operator(field);\r
} else {\r
- Element.hide("operators[" + field + "]");\r
- Element.hide("values_div[" + field + "]");\r
+ Element.hide("operators_" + field);\r
+ Element.hide("div_values_" + field);\r
}\r
}\r
\r
function toggle_operator(field) {\r
- operator = $("operators[" + field + "]");\r
+ operator = $("operators_" + field);\r
switch (operator.value) {\r
case "!*":\r
case "*":\r
case "t":\r
case "o":\r
case "c":\r
- Element.hide("values_div[" + field + "]");\r
+ Element.hide("div_values_" + field);\r
break;\r
default:\r
- Element.show("values_div[" + field + "]");\r
+ Element.show("div_values_" + field);\r
break;\r
}\r
}\r
\r
function toggle_multi_select(field) {\r
- select = $('values[' + field + '][]');\r
+ select = $('values_' + field);\r
if (select.multiple == true) {\r
select.multiple = false;\r
} else {\r
select.multiple = true;\r
}\r
}\r
-\r
+//]]>\r
</script>\r
\r
<fieldset style="margin:0;"><legend><%= l(:label_filter_plural) %></legend>\r
-<table width="100%" cellpadding=0 cellspacing=0>\r
+<table width="100%">\r
<tr>\r
<td>\r
-<table>\r
+<table style="padding:0;">\r
<% query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.each do |filter| %>\r
<% field = filter[0]\r
options = filter[1] %>\r
<tr <%= 'style="display:none;"' unless query.has_filter?(field) %> id="tr_<%= field %>">\r
- <td valign="top" width="200">\r
+ <td valign="top" style="width:200px;">\r
<%= check_box_tag 'fields[]', field, query.has_filter?(field), :onclick => "toggle_filter('#{field}');", :id => "cb_#{field}" %>\r
<label for="cb_<%= field %>"><%= l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label>\r
</td>\r
- <td valign="top" width="150">\r
- <%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>\r
+ <td valign="top" style="width:150px;">\r
+ <%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>\r
</td>\r
<td valign="top"> \r
- <div id="values_div[<%= field %>]">\r
+ <div id="div_values_<%= field %>">\r
<% case options[:type]\r
when :list, :list_optional, :list_status %>\r
- <select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %>" name="values[<%= field %>][]" id="values[<%= field %>][]" class="select-small" style="vertical-align: top;">\r
+ <select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %> name="values[<%= field %>][]" id="values_<%= field %>" class="select-small" style="vertical-align: top;">\r
<%= options_for_select options[:values], query.values_for(field) %> \r
</select>\r
<%= link_to_function image_tag('expand'), "toggle_multi_select('#{field}');" %>\r
<% when :date, :date_past %>\r
- <%= text_field_tag "values[#{field}][]", query.values_for(field), :size => 3, :class => "select-small" %> <%= l(:label_day_plural) %>\r
+ <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %> <%= l(:label_day_plural) %>\r
<% when :text %>\r
- <%= text_field_tag "values[#{field}][]", query.values_for(field), :size => 30, :class => "select-small" %>\r
+ <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 30, :class => "select-small" %>\r
<% end %>\r
</div>\r
+ <script type="text/javascript">toggle_filter('<%= field %>');</script>\r
</td>\r
</tr>\r
- <script>toggle_filter('<%= field %>');</script>\r
<% end %>\r
</table>\r
</td>\r
<% col_width = 70 / (@statuses.length+3) %>\r
<table class="list">\r
<thead><tr>\r
-<th width="25%"></th>\r
+<th style="width:25%"></th>\r
<% for status in @statuses %>\r
-<th width="<%= col_width %>%" style="text-align:left;"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th>\r
+<th style="text-align:left;width:<%= col_width %>%"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th>\r
<% end %>\r
-<th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th>\r
-<th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th>\r
-<th align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></th>\r
+<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th>\r
+<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th>\r
+<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_total)%></strong></th>\r
</tr></thead>\r
<tbody>\r
<% for row in rows %>\r
<% else %>\r
<table class="list">\r
<thead><tr>\r
-<th width="25%"></th>\r
-<th align="center" width="25%"><%=l(:label_open_issues_plural)%></th>\r
-<th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th>\r
-<th align="center" width="25%"><%=l(:label_total)%></th>\r
+<th style="width:25%"></th>\r
+<th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>\r
+<th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>\r
+<th align="center" style="width:25%"><%=l(:label_total)%></th>\r
</tr></thead>\r
<tbody>\r
<% for row in rows %>\r
end %>\r
</tbody>\r
</table>\r
-<p align="right"><em><%= l(:label_total) %>: <%= human_size(total_size) %></em></p>
\ No newline at end of file
+<p class="textright"><em><%= l(:label_total) %>: <%= human_size(total_size) %></em></p>
\ No newline at end of file
-<%= stylesheet_link_tag "scm" %>\r
-\r
<div class="contextual">\r
<%= start_form_tag %>\r
-<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
-<%= submit_tag 'OK' %>\r
+<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
+<%= submit_tag 'OK' %></p>\r
+<%= end_form_tag %>\r
</div>\r
\r
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2>\r
\r
-<%= render :partial => 'dir_list' %>
\ No newline at end of file
+<%= render :partial => 'dir_list' %>\r
+\r
+<% content_for :header_tags do %>\r
+<%= stylesheet_link_tag "scm" %>\r
+<% end %>
\ No newline at end of file
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2>\r
\r
-<%= stylesheet_link_tag "scm" %>\r
-\r
<table class="list">\r
<thead><tr><th>@<%= @rev %></th><th>@<%= @rev_to %></th><th></th></tr></thead>\r
<tbody>\r
\r
<% end %>\r
</tbody>\r
-</table>
\ No newline at end of file
+</table>\r
+\r
+<% content_for :header_tags do %>\r
+<%= stylesheet_link_tag "scm" %>\r
+<% end %>
\ No newline at end of file
-<%= stylesheet_link_tag "scm" %>\r
-\r
<div class="contextual">\r
<%= start_form_tag %>\r
-<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
-<%= submit_tag 'OK' %>\r
+<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
+<%= submit_tag 'OK' %></p>\r
+<%= end_form_tag %>\r
</div>\r
\r
<h2><%= l(:label_revision) %> <%= @revision.identifier %></h2>\r
<% end %>\r
</tbody>\r
</table>\r
-<p><%= lwr(:label_modification, @revision.paths.length) %></p>
\ No newline at end of file
+<p><%= lwr(:label_modification, @revision.paths.length) %></p>\r
+\r
+<% content_for :header_tags do %>\r
+<%= stylesheet_link_tag "scm" %>\r
+<% end %>
\ No newline at end of file
-<%= stylesheet_link_tag "scm" %>\r
-\r
<div class="contextual">\r
<%= start_form_tag %>\r
-<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
-<%= submit_tag 'OK' %>\r
+<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>\r
+<%= submit_tag 'OK' %></p>\r
+<%= end_form_tag %>\r
</div>\r
\r
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => @entry.kind, :revision => @rev } %></h2>\r
<th align="center"><%= link_to revision.identifier, :action => 'revision', :id => @project, :rev => revision.identifier %></th>\r
<td align="center"><em><%=h revision.author %></em></td>\r
<td align="center"><%= format_time(revision.time) %></td>\r
-<td width="70%"><%= textilizable(revision.message) %></td>\r
+<td style="width:70%"><%= textilizable(revision.message) %></td>\r
<td align="center"><%= link_to 'Diff', :action => 'diff', :id => @project, :path => @path, :rev => revision.identifier if @entry.is_file? && revision != @revisions.last %></td>\r
</tr>\r
<% end %>\r
</tbody>\r
</table>\r
-<p><%= lwr(:label_modification, @revisions.length) %></p>
\ No newline at end of file
+<p><%= lwr(:label_modification, @revisions.length) %></p>\r
+\r
+<% content_for :header_tags do %>\r
+<%= stylesheet_link_tag "scm" %>\r
+<% end %>
\ No newline at end of file
-<%= stylesheet_link_tag "scm" %>
-
<h2><%= l(:label_repository) %></h2>
<h3><%= l(:label_revision_plural) %></h3>
<h3><%= l(:label_browse) %></h3>
-<%= render :partial => 'dir_list' %>
\ No newline at end of file
+<%= render :partial => 'dir_list' %>
+
+<% content_for :header_tags do %>
+<%= stylesheet_link_tag "scm" %>
+<% end %>
\ No newline at end of file
font-size: 1em;\r
}\r
\r
+/***** Gantt chart *****/\r
+.gantt_hdr {\r
+ position:absolute;\r
+ top:0;\r
+ height:16px;\r
+ border-top: 1px solid #c0c0c0;\r
+ border-bottom: 1px solid #c0c0c0;\r
+ border-right: 1px solid #c0c0c0;\r
+ text-align: center;\r
+ overflow: hidden;\r
+}\r
+\r
+.task {\r
+ position: absolute;\r
+ height:8px;\r
+ font-size:0.8em;\r
+ color:#888;\r
+ background:#aaa;\r
+ padding:0;\r
+ margin:0;\r
+ line-height:0.8em;\r
+}\r
+\r
+.task_late { background:#f66; }\r
+.task_done { background:#66f; } \r
\r
/***** CSS FORM ******/\r
.tabular p{\r