diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 10:11:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 10:11:55 +0000 |
commit | a6c8feea214ddd75e9e471140c5be39230c2ee41 (patch) | |
tree | fc99e8745e7b1eeaef0f7bd88f0e90c333127aa1 /app/views | |
parent | 718de6c7fd2c4aa795ff6f214b1353543115700b (diff) | |
download | redmine-a6c8feea214ddd75e9e471140c5be39230c2ee41.tar.gz redmine-a6c8feea214ddd75e9e471140c5be39230c2ee41.zip |
misc GUI modifications
git-svn-id: http://redmine.rubyforge.org/svn/trunk@117 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/documents/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/base.rhtml | 4 | ||||
-rw-r--r-- | app/views/projects/gantt.rhtml | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index a24591ad0..385b25179 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -11,7 +11,7 @@ <br />
<h3><%= l(:label_attachment_plural) %></h3>
-<ul> +<ul class="documents"> <% for attachment in @attachments %> <li>
<div class="contextual">
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 9e76b5a0d..a435afe88 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -36,7 +36,7 @@ <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li>
<% unless @project.nil? || @project.id.nil? %>
- <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li>
+ <li class="submenu"><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li>
<% end %>
<% if loggedin? %>
@@ -44,7 +44,7 @@ <% end %>
<% if admin_loggedin? %>
- <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li>
+ <li class="submenu"><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li>
<% end %>
<li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li>
diff --git a/app/views/projects/gantt.rhtml b/app/views/projects/gantt.rhtml index 0c6fc5d13..6199107c5 100644 --- a/app/views/projects/gantt.rhtml +++ b/app/views/projects/gantt.rhtml @@ -94,7 +94,7 @@ t_height = g_height + headers_heigth <td width=260>
<div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;">
-<div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;" class="m_bg"></div>
+<div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"></div>
<div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="m_bg"></div>
<%
#
@@ -113,7 +113,7 @@ end %> <td>
<div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width %>;overflow:auto;">
-<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;" class="m_bg"> </div>
+<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"> </div>
<%
#
# Months headers
@@ -125,7 +125,7 @@ height = (show_weeks ? header_heigth : header_heigth + g_height) width = ((month_f >> 1) - month_f) * zoom - 1
%>
<div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="m_bg">
- <%= link_to "#{month_f.year}-#{month_f.month}", :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months %>
+ <%= 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}"%>
</div>
<%
left = left + width + 1
|