Commit a6c8feea authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

misc GUI modifications

git-svn-id: http://redmine.rubyforge.org/svn/trunk@117 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 718de6c7
......@@ -11,7 +11,7 @@
<br />
<h3><%= l(:label_attachment_plural) %></h3>
<ul>
<ul class="documents">
<% for attachment in @attachments %>
<li>
<div class="contextual">
......
......@@ -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>
......
......@@ -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">&nbsp;</div>
<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg">&nbsp;</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
......
......@@ -108,6 +108,14 @@ background-color:inherit;
color: #ffffff;
}
#navigation li.submenu {
background:url(../images/arrow_down.png) 96% 80% no-repeat;
}
#navigation li.submenu a {
padding:0px 16px 0px 22px;
}
* html #navigation a {width:1%;}
#navigation .selected,#navigation a:hover{
......@@ -249,6 +257,21 @@ table p {
padding:0;
}
ul.documents {
list-style-type: none;
padding: 0;
margin: 0;
}
ul.documents li {
background-image: url(../images/file.png);
background-repeat: no-repeat;
background-position: 0 .4em;
padding-left: 20px;
margin-bottom: 10px;
margin-left: -37px;
}
/********** Table used to display lists of things ***********/
table.list {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment