Code

Included printer css. Closes #824
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Jan 2010 07:53:08 +0000 (07:53 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Jan 2010 07:53:08 +0000 (07:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15187 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/default/printer.css [new file with mode: 0644]
gosa-core/ihtml/themes/default/headers.tpl

diff --git a/gosa-core/html/themes/default/printer.css b/gosa-core/html/themes/default/printer.css
new file mode 100644 (file)
index 0000000..1d7ff84
--- /dev/null
@@ -0,0 +1,33 @@
+
+/**
+ * Disable header and menu block, for printers.
+ */
+
+td#menucell {
+        display: none;
+}
+
+div.plugtop {
+       display: none;
+}
+
+p.plugbottom {
+       display: none;
+}
+
+table.framework {
+       width: 100%;
+}
+
+div.setup_header {
+       display: none;
+}
+
+div.setup_menu {
+       display: none;
+}
+
+div.setup_bottom {
+       display: none;
+}
+
index 736bc9461568daebb65cebd2c45e17172c82c0e2..9ef03bdf232fddb3faa7aa20e3ce95e1e5c61b95 100644 (file)
@@ -17,6 +17,8 @@
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
   <style type="text/css">@import url('themes/default/style.css');</style>
+  <link rel="stylesheet" type="text/css" href="themes/default/printer.css" media="print">
+
   <!--[if IE]>
   <style type="text/css">
   div.listContainer { height: 121px; overflow-x:hidden; overflow-y:auto; }