= $tabs ?>
= $this->render('list/components/selectioninfo.phtml') ?>
diff --git a/public/css/icinga/base.less b/public/css/icinga/base.less
index 595618022..40233846c 100644
--- a/public/css/icinga/base.less
+++ b/public/css/icinga/base.less
@@ -148,9 +148,3 @@ td, th {
font-size: @font-size;
line-height: @line-height;
}
-
-@media print {
- .dont-print {
- display: none;
- }
-}
diff --git a/public/css/icinga/print.less b/public/css/icinga/print.less
new file mode 100644
index 000000000..2e86f09b1
--- /dev/null
+++ b/public/css/icinga/print.less
@@ -0,0 +1,31 @@
+/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
+
+// Print styles
+
+@media print {
+ #fileupload-frame-target,
+ #header,
+ #responsive-debug,
+ #sidebar,
+ .controls > .tabs,
+ .controls .filter,
+ .controls .limiter-control,
+ .controls .pagination-control,
+ .controls .selection-info,
+ .controls .sort-control,
+ .dontprint, // Compat only, use dont-print instead
+ .dont-print {
+ display: none;
+ }
+
+ #layout,
+ #main,
+ .controls {
+ position: static;
+ }
+
+ .container {
+ float: none !important;
+ width: 100% !important;
+ }
+}
diff --git a/public/css/pdf/pdfprint.less b/public/css/pdf/pdfprint.less
index 7b7855eaf..7f6c15e4e 100644
--- a/public/css/pdf/pdfprint.less
+++ b/public/css/pdf/pdfprint.less
@@ -1,6 +1,11 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
-.controls form, .controls .pagination, .controls .widgetLimiter, .controls > .tabs, .dontprint {
+.controls form,
+.controls .pagination,
+.controls .widgetLimiter,
+.controls > .tabs,
+.dontprint, // Compat only, use dont-print instead
+.dont-print {
display: none !important;
}
@@ -10,7 +15,7 @@ table.action img.inlinepie {
}
@page {
- margin: 2cm;
+ margin: 2cm;
}
.container * {
@@ -26,15 +31,15 @@ body > h1 {
font-weight: bold;
position: fixed;
left: 1em;
- right: 1em;
- color: #aaa;
- font-size: 0.9em;
+ right: 1em;
+ color: #aaa;
+ font-size: 0.9em;
}
#page-header table, #page-footer table {
- width: 100%;
- border-collapse: collapse;
- border: none;
+ width: 100%;
+ border-collapse: collapse;
+ border: none;
}
#page-header table {
@@ -45,12 +50,12 @@ body > h1 {
font-family: fixed;
padding: 0;
color: #aaa;
- width: 50%;
+ width: 50%;
}
#page-header {
top: 0.5em;
- border-bottom: 0.2pt solid #aaa;
+ border-bottom: 0.2pt solid #aaa;
}
#page-footer {
@@ -93,4 +98,3 @@ h1 form {
body {
margin: 1cm 1cm 1.5cm 1cm;
}
-