diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-10 20:34:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-10 20:34:51 +0000 |
commit | e50ba150c3e256561d384e3ae1575d75118407e6 (patch) | |
tree | 70bc9d2b457ef4563cc0722177080cef0e1d1e46 | |
parent | bab9c40dcc3d784dffb6962fa768c71575b292c5 (diff) | |
download | redmine-e50ba150c3e256561d384e3ae1575d75118407e6.tar.gz redmine-e50ba150c3e256561d384e3ae1575d75118407e6.zip |
added print.css to hide header, menus and footer
git-svn-id: http://redmine.rubyforge.org/svn/trunk@83 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/layouts/base.rhtml | 1 | ||||
-rw-r--r-- | public/stylesheets/print.css | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 4d036ef8a..cbb50a846 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -8,6 +8,7 @@ <%= stylesheet_link_tag "application" %>
<%= stylesheet_link_tag "menu" %>
<%= stylesheet_link_tag "rails" %>
+<%= stylesheet_link_tag "print", :media => "print" %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'menu' %>
<%= javascript_include_tag 'calendar/calendar' %>
diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css new file mode 100644 index 000000000..2108bcab4 --- /dev/null +++ b/public/stylesheets/print.css @@ -0,0 +1,7 @@ +#header, #navigation, #subcontent, #footer {
+display:none;
+}
+
+.menu {
+display:none;
+}
|