@@ -11,7 +11,7 | |||
|
11 | 11 | <br /> |
|
12 | 12 | |
|
13 | 13 | <h3><%= l(:label_attachment_plural) %></h3> |
|
14 | <ul> | |
|
14 | <ul class="documents"> | |
|
15 | 15 | <% for attachment in @attachments %> |
|
16 | 16 | <li> |
|
17 | 17 | <div class="contextual"> |
@@ -36,7 +36,7 | |||
|
36 | 36 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> |
|
37 | 37 | |
|
38 | 38 | <% unless @project.nil? || @project.id.nil? %> |
|
39 | <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> | |
|
39 | <li class="submenu"><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> | |
|
40 | 40 | <% end %> |
|
41 | 41 | |
|
42 | 42 | <% if loggedin? %> |
@@ -44,7 +44,7 | |||
|
44 | 44 | <% end %> |
|
45 | 45 | |
|
46 | 46 | <% if admin_loggedin? %> |
|
47 | <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> | |
|
47 | <li class="submenu"><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> | |
|
48 | 48 | <% end %> |
|
49 | 49 | |
|
50 | 50 | <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 | |||
|
94 | 94 | <td width=260> |
|
95 | 95 | |
|
96 | 96 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> |
|
97 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;" class="m_bg"></div> | |
|
97 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"></div> | |
|
98 | 98 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="m_bg"></div> |
|
99 | 99 | <% |
|
100 | 100 | # |
@@ -113,7 +113,7 end %> | |||
|
113 | 113 | <td> |
|
114 | 114 | |
|
115 | 115 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width %>;overflow:auto;"> |
|
116 | <div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;" class="m_bg"> </div> | |
|
116 | <div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"> </div> | |
|
117 | 117 | <% |
|
118 | 118 | # |
|
119 | 119 | # Months headers |
@@ -125,7 +125,7 height = (show_weeks ? header_heigth : header_heigth + g_height) | |||
|
125 | 125 | width = ((month_f >> 1) - month_f) * zoom - 1 |
|
126 | 126 | %> |
|
127 | 127 | <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> |
|
128 | <%= link_to "#{month_f.year}-#{month_f.month}", :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months %> | |
|
128 | <%= 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}"%> | |
|
129 | 129 | </div> |
|
130 | 130 | <% |
|
131 | 131 | left = left + width + 1 |
@@ -108,6 +108,14 background-color:inherit; | |||
|
108 | 108 | color: #ffffff; |
|
109 | 109 | } |
|
110 | 110 | |
|
111 | #navigation li.submenu { | |
|
112 | background:url(../images/arrow_down.png) 96% 80% no-repeat; | |
|
113 | } | |
|
114 | ||
|
115 | #navigation li.submenu a { | |
|
116 | padding:0px 16px 0px 22px; | |
|
117 | } | |
|
118 | ||
|
111 | 119 | * html #navigation a {width:1%;} |
|
112 | 120 | |
|
113 | 121 | #navigation .selected,#navigation a:hover{ |
@@ -249,6 +257,21 table p { | |||
|
249 | 257 | padding:0; |
|
250 | 258 | } |
|
251 | 259 | |
|
260 | ul.documents { | |
|
261 | list-style-type: none; | |
|
262 | padding: 0; | |
|
263 | margin: 0; | |
|
264 | } | |
|
265 | ||
|
266 | ul.documents li { | |
|
267 | background-image: url(../images/file.png); | |
|
268 | background-repeat: no-repeat; | |
|
269 | background-position: 0 .4em; | |
|
270 | padding-left: 20px; | |
|
271 | margin-bottom: 10px; | |
|
272 | margin-left: -37px; | |
|
273 | } | |
|
274 | ||
|
252 | 275 | /********** Table used to display lists of things ***********/ |
|
253 | 276 | |
|
254 | 277 | table.list { |
General Comments 0
You need to be logged in to leave comments.
Login now