]> source.dussan.org Git - redmine.git/commitdiff
misc GUI modifications
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 26 Dec 2006 10:11:55 +0000 (10:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 26 Dec 2006 10:11:55 +0000 (10:11 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@117 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/documents/show.rhtml
app/views/layouts/base.rhtml
app/views/projects/gantt.rhtml
public/stylesheets/application.css

index a24591ad02d53eba61456e3210bca79a4d0929c1..385b25179d8c0fe5f7bf802ad4d6ff39f83edbb7 100644 (file)
@@ -11,7 +11,7 @@
 <br />\r
 \r
 <h3><%= l(:label_attachment_plural) %></h3>\r
-<ul>  
+<ul class="documents">  
 <% for attachment in @attachments %>
     <li>\r
         <div class="contextual">\r
index 9e76b5a0dd050771f7558bbab4888dbf45e9783b..a435afe88e5e0bf6ae9e971d590347b3f2c4b87f 100644 (file)
@@ -36,7 +36,7 @@
        <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li>\r
                        \r
     <% unless @project.nil? || @project.id.nil? %>\r
-        <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');"  %></li>\r
+        <li class="submenu"><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');"  %></li>\r
     <% end %>\r
                        \r
     <% if loggedin? %>\r
@@ -44,7 +44,7 @@
     <% end %>\r
                        \r
        <% if admin_loggedin? %>\r
-               <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li>\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
index 0c6fc5d13fdfec411451ea99dd0b82d23ef45083..6199107c5e0def06d7850682a58322c8442fdfe4 100644 (file)
@@ -94,7 +94,7 @@ t_height = g_height + headers_heigth
 <td width=260>\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;" class="m_bg"></div>\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
 <%\r
 #\r
@@ -113,7 +113,7 @@ end %>
 <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;" class="m_bg">&nbsp;</div>\r
+<div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg">&nbsp;</div>\r
 <% \r
 #\r
 # Months headers\r
@@ -125,7 +125,7 @@ height = (show_weeks ? header_heigth : header_heigth + g_height)
        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
-       <%= link_to "#{month_f.year}-#{month_f.month}", :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months %>\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
        left = left + width + 1\r
index 2d3ce9e31329029855299560314bcd82881ff671..71c19d8b6fba0ca6a10fb221f895e8a3e6e869f6 100644 (file)
@@ -108,6 +108,14 @@ background-color:inherit;
 color: #ffffff;\r
 }\r
 \r
+#navigation li.submenu {\r
+background:url(../images/arrow_down.png) 96% 80% no-repeat;\r
+}\r
+\r
+#navigation li.submenu a {\r
+padding:0px 16px 0px 22px;\r
+}\r
+\r
 * html #navigation a {width:1%;}\r
 \r
 #navigation .selected,#navigation a:hover{\r
@@ -249,6 +257,21 @@ table p {
     padding:0;\r
 }\r
 \r
+ul.documents {\r
+list-style-type: none;\r
+padding: 0;\r
+margin: 0;\r
+}\r
+\r
+ul.documents li {\r
+background-image: url(../images/file.png);\r
+background-repeat: no-repeat;\r
+background-position: 0 .4em;\r
+padding-left: 20px;\r
+margin-bottom: 10px;\r
+margin-left: -37px;\r
+}\r
+\r
 /********** Table used to display lists of things ***********/\r
 \r
 table.list {\r