mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3540 - Migrate printable version of an object
This commit is contained in:
@@ -3200,7 +3200,8 @@ EOF
|
||||
// - Fullscreen toggler for large fields
|
||||
$sFullscreenTogglerTooltip = Dict::S('UI:ToggleFullScreen');
|
||||
$sFullscreenTogglerHTML = (false === in_array($oAttDef->GetEditClass(), static::GetAttEditClassesToRenderAsLargeField())) ? '' : <<<HTML
|
||||
<a href="#" class="ibo-field--fullscreen-toggler" data-role="ibo-field--fullscreen-toggler" data-tooltip-content="{$sFullscreenTogglerTooltip}" data-fullscreen-toggler-target="$(this).closest('[data-role=\'ibo-field\']')"><span class="fas fa-fw fa-expand-arrows-alt"></span></a>
|
||||
<a href="#" class="ibo-field--fullscreen-toggler no-print-preview" data-role="ibo-field--fullscreen-toggler"
|
||||
data-tooltip-content="{$sFullscreenTogglerTooltip}" data-fullscreen-toggler-target="$(this).closest('[data-role=\'ibo-field\']')"><span class="fas fa-fw fa-expand-arrows-alt"></span></a>
|
||||
HTML;
|
||||
|
||||
$sLabelAsHtml = '<span '.$sDescriptionHTMLAttributes.' >'.MetaModel::GetLabel($sClass, $sAttCode).'</span>'.$sFullscreenTogglerHTML;
|
||||
|
||||
@@ -187,6 +187,8 @@ class DisplayBlock
|
||||
'auto_reload', /** bool|string|numeric 'fast' (reload faster) or 'standard' (= true or 'true') (reload standard) or reload interval value (numeric) */
|
||||
'c[menu]', /** string current navigation menu */
|
||||
'c[org_id]', /** int current filtered organization */
|
||||
'c[menu', /** string workaround due to extraparams in menunode */
|
||||
'c[org_id', /** int workaround due to extraparams in menunode */
|
||||
'dashboard_div_id', /** string dashboard html div id */
|
||||
];
|
||||
|
||||
|
||||
@@ -3371,41 +3371,7 @@
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
div.explain-printable {
|
||||
border: 5px solid $complement-color;
|
||||
background: $complement-light;
|
||||
color: $text-color;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.hideable-chapter {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter span {
|
||||
padding-left: 20px;
|
||||
background: url($approot-relative + "images/eye-open-555.png?v=" + $version) 2px center no-repeat;
|
||||
}
|
||||
|
||||
#hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter.strikethrough span {
|
||||
text-decoration: line-through;
|
||||
background: url($approot-relative + "images/eye-closed-555.png?v=" + $version) 2px center no-repeat;
|
||||
}
|
||||
|
||||
.printable-version legend {
|
||||
padding-left: 26px;
|
||||
background: $complement-color url($approot-relative + "images/eye-open-fff.png?v=" + $version) 8px center no-repeat;
|
||||
}
|
||||
|
||||
.printable-version .strikethrough legend {
|
||||
background: $complement-color url($approot-relative + "images/eye-closed-fff.png?v=" + $version) 8px center no-repeat;
|
||||
}
|
||||
|
||||
.printable-version fieldset.strikethrough span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h2.printable-tab-title {
|
||||
border-bottom: 2px solid;
|
||||
|
||||
186
css/print.css
186
css/print.css
@@ -1,46 +1,99 @@
|
||||
@CHARSET "UTF-8";
|
||||
.not-printable { display:none; }
|
||||
span.ui-layout-resizer { display: none; }
|
||||
#header-logo { display: none; }
|
||||
#logo { display: none; }
|
||||
div.header-menu { display:none; }
|
||||
div.footer { display:none; }
|
||||
#top-bar { display: none; }
|
||||
#inner_menu { display: none; }
|
||||
div.actions_button { display:none; }
|
||||
div.itop_popup { display:none; }
|
||||
a.tab { display:none; }
|
||||
div.itop-tab { border: #ccc 1px solid; margin-top: 1em; padding-bottom:1em; }
|
||||
#combodo_logo { display:none; }
|
||||
div.graph_config { display:none; }
|
||||
h2.printable-tab-title {
|
||||
@media print {
|
||||
.not-printable {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span.ui-layout-resizer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.header-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#top-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#inner_menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.actions_button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.itop_popup {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.tab {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.itop-tab {
|
||||
border: #ccc 1px solid;
|
||||
margin-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
#combodo_logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.graph_config {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h2.printable-tab-title {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
h1 {
|
||||
}
|
||||
|
||||
h1 {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
div#tabbedContent_0 { border:none; }
|
||||
p a, .ui-widget-content td a, p a:hover, .ui-widget-content td a:hover, p a:visited, .ui-widget-content td a:visited, td a, td a:visited, td a:hover {
|
||||
}
|
||||
|
||||
div#tabbedContent_0 {
|
||||
border: none;
|
||||
}
|
||||
|
||||
p a, .ui-widget-content td a, p a:hover, .ui-widget-content td a:hover, p a:visited, .ui-widget-content td a:visited, td a, td a:visited, td a:hover {
|
||||
padding-left: 0;
|
||||
background: transparent;
|
||||
}
|
||||
body {
|
||||
margin:10px;
|
||||
}
|
||||
@page {
|
||||
margin: 1cm;
|
||||
}
|
||||
}
|
||||
|
||||
.printable-tab {
|
||||
body {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 1cm;
|
||||
}
|
||||
|
||||
.printable-tab {
|
||||
-webkit-region-break-inside: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
.printable-version legend {
|
||||
}
|
||||
|
||||
.printable-version legend {
|
||||
padding-left: 8px;
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* PRINT Stylesheet
|
||||
*
|
||||
* First 'neutralize' all the positioning/overflow CSS added by Layout
|
||||
@@ -49,7 +102,6 @@ body {
|
||||
* MUST use "!important" for all size, position, margin & overflow rules,
|
||||
* so these will 'override' styles applied to the elements by Layout
|
||||
*/
|
||||
|
||||
html, body {
|
||||
/* NEUTRALIZE 'layout container' styles */
|
||||
overflow: visible !important;
|
||||
@@ -57,8 +109,9 @@ body {
|
||||
height: auto !important;
|
||||
position: static !important;
|
||||
}
|
||||
.ui-layout-pane ,
|
||||
.ui-layout-resizer ,
|
||||
|
||||
.ui-layout-pane,
|
||||
.ui-layout-resizer,
|
||||
.ui-layout-toggler {
|
||||
/* NEUTRALIZE 'layout element' styles */
|
||||
display: none !important; /* hide ALL by default */
|
||||
@@ -71,6 +124,7 @@ body {
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* SHOW ONLY the panes you want */
|
||||
.ui-layout-pane-center {
|
||||
display: block !important;
|
||||
@@ -82,3 +136,65 @@ body {
|
||||
background: transparent !important;
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
div.explain-printable {
|
||||
border: 5px solid #f8f9fa;
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.hideable-chapter {
|
||||
cursor: pointer;
|
||||
}
|
||||
.ibo-block-print--tablist{
|
||||
background-color: #e1e7ec;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
height: 2em;
|
||||
}
|
||||
#hiddeable_chapters .ibo-block-print--tab span::before {
|
||||
|
||||
padding-left: 10px;
|
||||
padding-right: 5px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: "\f06e";
|
||||
}
|
||||
|
||||
#hiddeable_chapters .ibo-block-print--tab.strikethrough span {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#hiddeable_chapters .ibo-block-print--tab.strikethrough span::before {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: "\f070";
|
||||
}
|
||||
|
||||
.no-print-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.itop_popup{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.printable-content legend::before {
|
||||
padding-right: 10px;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: "\f06e";
|
||||
}
|
||||
.printable-content .strikethrough legend::before {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: "\f070";
|
||||
}
|
||||
.printable-content fieldset.strikethrough span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
=== SIGNATURE BEGIN ===
|
||||
{"variables":"d751713988987e9331980363e24189ce","stylesheets":{"css-variables":"d9fb165d1a7f8d8fd918160c412fe9a0","jqueryui":"a887ad1c00f29132beba3bf729b981c7","main":"89c42c919bb81f77389d747752db35ba"},"imports":[],"images":{"css\/ui-lightness\/images\/ui-icons_222222_256x240.png":"3a3c5468f484f07ac4a320d9e22acb8c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_20_666666_40x40.png":"4429d568c67d8dfeb9040273ea0fb8c4","css\/ui-lightness\/images\/ui-icons_E87C1E_256x240.png":"7003dd36cb2aa032c8ec871ce4d4e03d","css\/ui-lightness\/images\/ui-icons_1c94c4_256x240.png":"dbd693dc8e0ef04e90a2f7ac7b390086","css\/ui-lightness\/images\/ui-icons_F26522_256x240.png":"16278ec0c07270be571f4c2e97fcc10c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_18_b81900_40x40.png":"e460a66d4b3e093fc651e62a236267cb","css\/ui-lightness\/images\/ui-icons_ffffff_256x240.png":"41612b0f4a034424f8321c9f824a94da","css\/ui-lightness\/images\/ui-icons_ffd27a_256x240.png":"dda1b6f694b0d196aefc66a1d6d758f6","images\/actions_right.png":"31c8906bd25d27b83a0a2466bf903462","images\/ac-background.gif":"76135f3697b41a15aed787cfd77776c7","images\/green-square.gif":"16ea9a497d72f5e66e4e8ea9ae08024e","images\/tv-item.gif":"719fe2d4566108e73162fb8868d3778c","images\/tv-collapsable.gif":"63a3351ea0d580797c9b8c386aa4f48b","images\/tv-expandable.gif":"a2d1af4128e4a798a7f3390b12a28574","images\/tv-item-last.gif":"2ae7e1d9972ce71e5caa65a086bc5b7e","images\/tv-collapsable-last.gif":"71acaa9d7c2616e9e8b7131a75ca65da","images\/tv-expandable-last.gif":"9d51036b3a8102742709da66789fd0f7","images\/red-header.gif":"c73b8765f0c8c3c183cb6a0c2bb0ec69","images\/green-header.gif":"0e22a09bb8051b2a274b3427ede62e82","images\/orange-header.gif":"ce1f93f0af64431771b4cbd6c99c567b","images\/calendar.png":"ab56e59af3c96ca661821257d376465e","images\/truncated.png":"c6f91108afe8159d417b4dc556cd3b2a","images\/plus.gif":"f00e1e6e1161f48608bb2bbc79b9948c","images\/minus.gif":"6d77c0c0c2f86b6995d1cdf78274eaab","images\/full-screen.png":"b541fadd3f1563856a4b44aeebd9d563","images\/indicator.gif":"03ce3dcc84af110e9da8699a841e5200","images\/delete.png":"93c047549c31a270a037840277cf59d3","images\/info-mini.png":"445c090ed777c5e6a08ac390fa896193","images\/ok.png":"f6973773335fd83d8d2875f9a3c925af","images\/error.png":"1af8a1041016f67669c5fd22dc88c82e","images\/eye-open-555.png":"9940f4e5b1248042c238e1924359fd5e","images\/eye-closed-555.png":"6ad3b0bae791bf61addc9d8ca80a642d","images\/eye-open-fff.png":"b7db2402d4d5c72314c25790a66150d4","images\/eye-closed-fff.png":"f9be7454dbb47b0e0bca3aa370ae7db5"}}
|
||||
{"variables":"d751713988987e9331980363e24189ce","stylesheets":{"css-variables":"8f09e480732f79902e91eae584cc5faf","jqueryui":"eaa09c8a9cb976dc0545bfbc178c92a8","main":"4f5559204c5109eab9addfe2d942e6ea"},"imports":[],"images":{"css\/ui-lightness\/images\/ui-icons_222222_256x240.png":"3a3c5468f484f07ac4a320d9e22acb8c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_20_666666_40x40.png":"4429d568c67d8dfeb9040273ea0fb8c4","css\/ui-lightness\/images\/ui-icons_E87C1E_256x240.png":"7003dd36cb2aa032c8ec871ce4d4e03d","css\/ui-lightness\/images\/ui-icons_1c94c4_256x240.png":"dbd693dc8e0ef04e90a2f7ac7b390086","css\/ui-lightness\/images\/ui-icons_F26522_256x240.png":"16278ec0c07270be571f4c2e97fcc10c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_18_b81900_40x40.png":"e460a66d4b3e093fc651e62a236267cb","css\/ui-lightness\/images\/ui-icons_ffffff_256x240.png":"41612b0f4a034424f8321c9f824a94da","css\/ui-lightness\/images\/ui-icons_ffd27a_256x240.png":"dda1b6f694b0d196aefc66a1d6d758f6","images\/actions_right.png":"31c8906bd25d27b83a0a2466bf903462","images\/ac-background.gif":"76135f3697b41a15aed787cfd77776c7","images\/green-square.gif":"16ea9a497d72f5e66e4e8ea9ae08024e","images\/tv-item.gif":"719fe2d4566108e73162fb8868d3778c","images\/tv-collapsable.gif":"63a3351ea0d580797c9b8c386aa4f48b","images\/tv-expandable.gif":"a2d1af4128e4a798a7f3390b12a28574","images\/tv-item-last.gif":"2ae7e1d9972ce71e5caa65a086bc5b7e","images\/tv-collapsable-last.gif":"71acaa9d7c2616e9e8b7131a75ca65da","images\/tv-expandable-last.gif":"9d51036b3a8102742709da66789fd0f7","images\/red-header.gif":"c73b8765f0c8c3c183cb6a0c2bb0ec69","images\/green-header.gif":"0e22a09bb8051b2a274b3427ede62e82","images\/orange-header.gif":"ce1f93f0af64431771b4cbd6c99c567b","images\/calendar.png":"ab56e59af3c96ca661821257d376465e","images\/truncated.png":"c6f91108afe8159d417b4dc556cd3b2a","images\/plus.gif":"f00e1e6e1161f48608bb2bbc79b9948c","images\/minus.gif":"6d77c0c0c2f86b6995d1cdf78274eaab","images\/full-screen.png":"b541fadd3f1563856a4b44aeebd9d563","images\/indicator.gif":"03ce3dcc84af110e9da8699a841e5200","images\/delete.png":"93c047549c31a270a037840277cf59d3","images\/info-mini.png":"445c090ed777c5e6a08ac390fa896193","images\/ok.png":"f6973773335fd83d8d2875f9a3c925af","images\/error.png":"1af8a1041016f67669c5fd22dc88c82e"}}
|
||||
=== SIGNATURE END ===
|
||||
*/
|
||||
/*!
|
||||
@@ -99,7 +99,7 @@
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
.ui-widget-icon-block {
|
||||
@@ -232,7 +232,7 @@
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7?v=1608028054");
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7?v=1608286605");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
@@ -298,7 +298,7 @@
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:hover .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
@@ -306,20 +306,20 @@
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:active .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button:focus {
|
||||
font-weight: bold;
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:focus .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button .ui-state-highlight.ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button-icon-only {
|
||||
width: 2em;
|
||||
@@ -901,7 +901,7 @@ body .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: 0.7;
|
||||
@@ -913,7 +913,7 @@ body .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-default a {
|
||||
text-decoration: none;
|
||||
@@ -925,7 +925,7 @@ body .ui-tooltip {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608286605");
|
||||
}
|
||||
a.ui-button {
|
||||
text-decoration: none;
|
||||
@@ -955,7 +955,7 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-focus a {
|
||||
text-decoration: none;
|
||||
@@ -970,7 +970,7 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-visual-focus {
|
||||
box-shadow: 0 0 3px 1px #5e9ed6;
|
||||
@@ -988,19 +988,19 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-icon-background {
|
||||
background-color: #EA7D1E;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-error .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-priority-primary {
|
||||
font-weight: bold;
|
||||
@@ -1655,7 +1655,7 @@ a:visited.ui-button {
|
||||
visibility: hidden;
|
||||
}
|
||||
#ibo-main-content .edit-image .view-image.dirty.compat, .ui-dialog .edit-image .view-image.dirty.compat {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit-image .view-image.dirty.compat img, .ui-dialog .edit-image .view-image.dirty.compat img {
|
||||
opacity: 0.3;
|
||||
@@ -1678,7 +1678,7 @@ a:visited.ui-button {
|
||||
opacity: 0.3;
|
||||
}
|
||||
#ibo-main-content .edit-image .edit-buttons .button .ui-icon, .ui-dialog .edit-image .edit-buttons .button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit-image .file-input, .ui-dialog .edit-image .file-input {
|
||||
display: block;
|
||||
@@ -1878,7 +1878,7 @@ a:visited.ui-button {
|
||||
background: #EA7D1E;
|
||||
}
|
||||
#ibo-main-content .actions_details span, .ui-dialog .actions_details span {
|
||||
background: url("../../../../images/actions_right.png?v=1608028054") no-repeat right;
|
||||
background: url("../../../../images/actions_right.png?v=1608286605") no-repeat right;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
padding-top: 2px;
|
||||
@@ -1901,7 +1901,7 @@ a:visited.ui-button {
|
||||
}
|
||||
#ibo-main-content .ac_input, .ui-dialog .ac_input {
|
||||
border: 1px solid #7f9db9;
|
||||
background: #fff url("../../../../images/ac-background.gif?v=1608028054") no-repeat right;
|
||||
background: #fff url("../../../../images/ac-background.gif?v=1608286605") no-repeat right;
|
||||
/* By Rom */
|
||||
}
|
||||
#ibo-main-content .csvimport_createobj, .ui-dialog .csvimport_createobj {
|
||||
@@ -1956,7 +1956,7 @@ a:visited.ui-button {
|
||||
noborder-top: 1px solid #8b8b8b;
|
||||
padding: 4px 0px 0px 16px;
|
||||
font-size: 8pt;
|
||||
background: url("../../../../images/green-square.gif?v=1608028054") no-repeat bottom left;
|
||||
background: url("../../../../images/green-square.gif?v=1608286605") no-repeat bottom left;
|
||||
color: #83b217;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
@@ -2032,22 +2032,22 @@ a:visited.ui-button {
|
||||
margin-top: -8px;
|
||||
}
|
||||
#ibo-main-content .notreeview li, .ui-dialog .notreeview li {
|
||||
background: url("../../../../images/tv-item.gif?v=1608028054") 0 0 no-repeat;
|
||||
background: url("../../../../images/tv-item.gif?v=1608286605") 0 0 no-repeat;
|
||||
}
|
||||
#ibo-main-content .notreeview .collapsable, .ui-dialog .notreeview .collapsable {
|
||||
background-image: url("../../../../images/tv-collapsable.gif?v=1608028054");
|
||||
background-image: url("../../../../images/tv-collapsable.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .expandable, .ui-dialog .notreeview .expandable {
|
||||
background-image: url("../../../../images/tv-expandable.gif?v=1608028054");
|
||||
background-image: url("../../../../images/tv-expandable.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .last, .ui-dialog .notreeview .last {
|
||||
background-image: url("../../../../images/tv-item-last.gif?v=1608028054");
|
||||
background-image: url("../../../../images/tv-item-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .lastCollapsable, .ui-dialog .notreeview .lastCollapsable {
|
||||
background-image: url("../../../../images/tv-collapsable-last.gif?v=1608028054");
|
||||
background-image: url("../../../../images/tv-collapsable-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .lastExpandable, .ui-dialog .notreeview .lastExpandable {
|
||||
background-image: url("../../../../images/tv-expandable-last.gif?v=1608028054");
|
||||
background-image: url("../../../../images/tv-expandable-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content #OrganizationSelection, .ui-dialog #OrganizationSelection {
|
||||
padding: 5px 0px 16px 20px;
|
||||
@@ -2223,7 +2223,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.red, .ui-dialog th.red {
|
||||
background: url("../../../../images/red-header.gif?v=1608028054") bottom left repeat-x;
|
||||
background: url("../../../../images/red-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content .green, .ui-dialog .green {
|
||||
@@ -2231,7 +2231,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.green, .ui-dialog th.green {
|
||||
background: url("../../../../images/green-header.gif?v=1608028054") bottom left repeat-x;
|
||||
background: url("../../../../images/green-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content .orange, .ui-dialog .orange {
|
||||
@@ -2239,7 +2239,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.orange, .ui-dialog th.orange {
|
||||
background: url("../../../../images/orange-header.gif?v=1608028054") bottom left repeat-x;
|
||||
background: url("../../../../images/orange-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
/* For Date Picker: Creates a little calendar icon
|
||||
* instead of a text link for "Choose date"
|
||||
@@ -2254,7 +2254,7 @@ a:visited.ui-button {
|
||||
display: block;
|
||||
text-indent: -2000px;
|
||||
overflow: hidden;
|
||||
background: url("../../../../images/calendar.png?v=1608028054") no-repeat;
|
||||
background: url("../../../../images/calendar.png?v=1608286605") no-repeat;
|
||||
}
|
||||
#ibo-main-content td a.dp-choose-date.dp-disabled, .ui-dialog td a.dp-choose-date.dp-disabled, #ibo-main-content a.dp-choose-date.dp-disabled, .ui-dialog a.dp-choose-date.dp-disabled {
|
||||
background-position: 0 -20px;
|
||||
@@ -2303,19 +2303,19 @@ a:visited.ui-button {
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.odd td.truncated, .ui-dialog table.listResults tr.odd td.truncated, #ibo-main-content table.listResults tr td.truncated, .ui-dialog table.listResults tr td.truncated, #ibo-main-content .wizContainer table.listResults tr.odd td.truncated, .ui-dialog .wizContainer table.listResults tr.odd td.truncated, #ibo-main-content .wizContainer table.listResults tr td.truncated, .ui-dialog .wizContainer table.listResults tr td.truncated {
|
||||
background: url("../../../../images/truncated.png?v=1608028054") bottom repeat-x;
|
||||
background: url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.even td.truncated, .ui-dialog table.listResults tr.even td.truncated, #ibo-main-content .wizContainer table.listResults tr.even td.truncated, .ui-dialog .wizContainer table.listResults tr.even td.truncated {
|
||||
background: #f9f9f1 url("../../../../images/truncated.png?v=1608028054") bottom repeat-x;
|
||||
background: #f9f9f1 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.even td.hover.truncated, .ui-dialog table.listResults tr.even td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr.even td.hover.truncated, .ui-dialog .wizContainer table.listResults tr.even td.hover.truncated {
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608028054") bottom repeat-x;
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.odd td.hover.truncated, .ui-dialog table.listResults tr.odd td.hover.truncated, #ibo-main-content table.listResults tr td.hover.truncated, .ui-dialog table.listResults tr td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr.odd td.hover.truncated, .ui-dialog .wizContainer table.listResults tr.odd td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr td.hover.truncated, .ui-dialog .wizContainer table.listResults tr td.hover.truncated {
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608028054") bottom repeat-x;
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
}
|
||||
#ibo-main-content table.listResults.truncated, .ui-dialog table.listResults.truncated {
|
||||
border-bottom: 0;
|
||||
@@ -2417,7 +2417,7 @@ a:visited.ui-button {
|
||||
#ibo-main-content div#logo div, .ui-dialog div#logo div {
|
||||
height: 88px;
|
||||
width: 244px;
|
||||
background: url("../../../../images/itop-logo-2.png?v=1608028054") left no-repeat;
|
||||
background: url("../../../../images/itop-logo-2.png?v=1608286605") left no-repeat;
|
||||
}
|
||||
#ibo-main-content #left-pane .ui-layout-north, .ui-dialog #left-pane .ui-layout-north {
|
||||
overflow: hidden;
|
||||
@@ -2566,7 +2566,7 @@ a:visited.ui-button {
|
||||
margin: 0 2px;
|
||||
}
|
||||
#ibo-main-content .ui-layout-button-pin-down, .ui-dialog .ui-layout-button-pin-down {
|
||||
background: url("../../../../images/splitter-bkg.png?v=1608028054") transparent;
|
||||
background: url("../../../../images/splitter-bkg.png?v=1608286605") transparent;
|
||||
width: 16px;
|
||||
background-position: -144px -144px;
|
||||
}
|
||||
@@ -2694,13 +2694,13 @@ a:visited.ui-button {
|
||||
#ibo-main-content .caselog_header, .ui-dialog .caselog_header {
|
||||
padding: 3px;
|
||||
border-top: 1px solid #fff;
|
||||
background: #ddd url("../../../../images/plus.gif?v=1608028054") left no-repeat;
|
||||
background: #ddd url("../../../../images/plus.gif?v=1608286605") left no-repeat;
|
||||
padding-left: 16px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
}
|
||||
#ibo-main-content .caselog_header.open, .ui-dialog .caselog_header.open {
|
||||
background: #ddd url("../../../../images/minus.gif?v=1608028054") left no-repeat;
|
||||
background: #ddd url("../../../../images/minus.gif?v=1608286605") left no-repeat;
|
||||
}
|
||||
#ibo-main-content .caselog_entry, .ui-dialog .caselog_entry, #ibo-main-content .caselog_entry_html, .ui-dialog .caselog_entry_html {
|
||||
overflow-x: auto;
|
||||
@@ -2876,7 +2876,7 @@ a:visited.ui-button {
|
||||
height: 15px;
|
||||
border: 1px #A6A6A6 solid;
|
||||
cursor: pointer;
|
||||
background-image: url("../../../../images/full-screen.png?v=1608028054");
|
||||
background-image: url("../../../../images/full-screen.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 98%;
|
||||
@@ -2923,7 +2923,7 @@ a:visited.ui-button {
|
||||
padding: 2px;
|
||||
}
|
||||
#ibo-main-content .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_document .button .ui-icon, .ui-dialog .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_document .button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
background-color: #EA7D1E;
|
||||
}
|
||||
#ibo-main-content .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_image input, .ui-dialog .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_image input {
|
||||
@@ -2989,7 +2989,7 @@ a:visited.ui-button {
|
||||
height: 15px;
|
||||
border: 1px #A6A6A6 solid;
|
||||
cursor: pointer;
|
||||
background-image: url("../../../../images/full-screen.png?v=1608028054");
|
||||
background-image: url("../../../../images/full-screen.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 98%;
|
||||
@@ -3054,7 +3054,7 @@ a:visited.ui-button {
|
||||
padding-left: 0.4em;
|
||||
}
|
||||
#ibo-main-content .ac_dlg_loading, .ui-dialog .ac_dlg_loading {
|
||||
background: white url("../../../../images/indicator.gif?v=1608028054") right center no-repeat;
|
||||
background: white url("../../../../images/indicator.gif?v=1608286605") right center no-repeat;
|
||||
}
|
||||
#ibo-main-content table.pagination, .ui-dialog table.pagination {
|
||||
display: inline-block;
|
||||
@@ -3121,10 +3121,10 @@ a:visited.ui-button {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
#ibo-main-content .dragHover, .ui-dialog .dragHover {
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028054");
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit_mode .dashlet, .ui-dialog .edit_mode .dashlet {
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028054");
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
@@ -3169,7 +3169,7 @@ a:visited.ui-button {
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
background: transparent url("../../../../images/delete.png?v=1608028054") no-repeat center;
|
||||
background: transparent url("../../../../images/delete.png?v=1608286605") no-repeat center;
|
||||
}
|
||||
#ibo-main-content td.prop_value, .ui-dialog td.prop_value {
|
||||
text-align: left;
|
||||
@@ -3398,23 +3398,23 @@ a:visited.ui-button {
|
||||
}
|
||||
#ibo-main-content .message_info, .ui-dialog .message_info {
|
||||
border: 1px solid #993;
|
||||
background: url("../../../../images/info-mini.png?v=1608028054") 1em 1em no-repeat #ffc;
|
||||
background: url("../../../../images/info-mini.png?v=1608286605") 1em 1em no-repeat #ffc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_ok, .ui-dialog .message_ok {
|
||||
border: 1px solid #393;
|
||||
background: url("../../../../images/ok.png?v=1608028054") 1em 1em no-repeat #cfc;
|
||||
background: url("../../../../images/ok.png?v=1608286605") 1em 1em no-repeat #cfc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_warning, .ui-dialog .message_warning {
|
||||
border: 1px solid #ec9800;
|
||||
background: url("../../../../images/error.png?v=1608028054") 1em 1em no-repeat #ffd78d;
|
||||
background: url("../../../../images/error.png?v=1608286605") 1em 1em no-repeat #ffd78d;
|
||||
color: #000;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_error, .ui-dialog .message_error {
|
||||
border: 1px solid #933;
|
||||
background: url("../../../../images/error.png?v=1608028054") 1em 1em no-repeat #fcc;
|
||||
background: url("../../../../images/error.png?v=1608286605") 1em 1em no-repeat #fcc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .fg-menu a img, .ui-dialog .fg-menu a img {
|
||||
@@ -3532,35 +3532,6 @@ a:visited.ui-button {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
#ibo-main-content div.explain-printable, .ui-dialog div.explain-printable {
|
||||
border: 5px solid #1c94c4;
|
||||
background: #d6e8ef;
|
||||
color: #000;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
#ibo-main-content .hideable-chapter, .ui-dialog .hideable-chapter {
|
||||
cursor: pointer;
|
||||
}
|
||||
#ibo-main-content #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter span, .ui-dialog #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter span {
|
||||
padding-left: 20px;
|
||||
background: url("../../../../images/eye-open-555.png?v=1608028054") 2px center no-repeat;
|
||||
}
|
||||
#ibo-main-content #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter.strikethrough span, .ui-dialog #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter.strikethrough span {
|
||||
text-decoration: line-through;
|
||||
background: url("../../../../images/eye-closed-555.png?v=1608028054") 2px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version legend, .ui-dialog .printable-version legend {
|
||||
padding-left: 26px;
|
||||
background: #1c94c4 url("../../../../images/eye-open-fff.png?v=1608028054") 8px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version .strikethrough legend, .ui-dialog .printable-version .strikethrough legend {
|
||||
background: #1c94c4 url("../../../../images/eye-closed-fff.png?v=1608028054") 8px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version fieldset.strikethrough span, .ui-dialog .printable-version fieldset.strikethrough span {
|
||||
display: none;
|
||||
}
|
||||
#ibo-main-content h2.printable-tab-title, .ui-dialog h2.printable-tab-title {
|
||||
border-bottom: 2px solid;
|
||||
}
|
||||
@@ -3629,7 +3600,7 @@ a:visited.ui-button {
|
||||
cursor: pointer;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028054");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
background-position: -16px -192px;
|
||||
}
|
||||
#ibo-main-content .history_entry_truncated .history_truncated_toggler, .ui-dialog .history_entry_truncated .history_truncated_toggler {
|
||||
@@ -3714,7 +3685,7 @@ a:visited.ui-button {
|
||||
#ibo-main-content #itop-breadcrumb .breadcrumb-item a::after, .ui-dialog #itop-breadcrumb .breadcrumb-item a::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-image: url("../../../../images/breadcrumb-separator.png?v=1608028054");
|
||||
background-image: url("../../../../images/breadcrumb-separator.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
width: 8px;
|
||||
height: 16px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
=== SIGNATURE BEGIN ===
|
||||
{"variables":"8cfe86f2c55d8eff36d57eb4e83d89f1","stylesheets":{"css-variables":"d9fb165d1a7f8d8fd918160c412fe9a0","jqueryui":"a887ad1c00f29132beba3bf729b981c7","main":"89c42c919bb81f77389d747752db35ba","environment-banner":"3de3ffb8232b9a649e912b570a64bf5d"},"imports":[],"images":{"css\/ui-lightness\/images\/ui-icons_222222_256x240.png":"3a3c5468f484f07ac4a320d9e22acb8c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_20_666666_40x40.png":"4429d568c67d8dfeb9040273ea0fb8c4","css\/ui-lightness\/images\/ui-icons_E87C1E_256x240.png":"7003dd36cb2aa032c8ec871ce4d4e03d","css\/ui-lightness\/images\/ui-icons_1c94c4_256x240.png":"dbd693dc8e0ef04e90a2f7ac7b390086","css\/ui-lightness\/images\/ui-icons_F26522_256x240.png":"16278ec0c07270be571f4c2e97fcc10c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_18_b81900_40x40.png":"e460a66d4b3e093fc651e62a236267cb","css\/ui-lightness\/images\/ui-icons_ffffff_256x240.png":"41612b0f4a034424f8321c9f824a94da","css\/ui-lightness\/images\/ui-icons_ffd27a_256x240.png":"dda1b6f694b0d196aefc66a1d6d758f6","images\/actions_right.png":"31c8906bd25d27b83a0a2466bf903462","images\/ac-background.gif":"76135f3697b41a15aed787cfd77776c7","images\/green-square.gif":"16ea9a497d72f5e66e4e8ea9ae08024e","images\/tv-item.gif":"719fe2d4566108e73162fb8868d3778c","images\/tv-collapsable.gif":"63a3351ea0d580797c9b8c386aa4f48b","images\/tv-expandable.gif":"a2d1af4128e4a798a7f3390b12a28574","images\/tv-item-last.gif":"2ae7e1d9972ce71e5caa65a086bc5b7e","images\/tv-collapsable-last.gif":"71acaa9d7c2616e9e8b7131a75ca65da","images\/tv-expandable-last.gif":"9d51036b3a8102742709da66789fd0f7","images\/red-header.gif":"c73b8765f0c8c3c183cb6a0c2bb0ec69","images\/green-header.gif":"0e22a09bb8051b2a274b3427ede62e82","images\/orange-header.gif":"ce1f93f0af64431771b4cbd6c99c567b","images\/calendar.png":"ab56e59af3c96ca661821257d376465e","images\/truncated.png":"c6f91108afe8159d417b4dc556cd3b2a","images\/plus.gif":"f00e1e6e1161f48608bb2bbc79b9948c","images\/minus.gif":"6d77c0c0c2f86b6995d1cdf78274eaab","images\/full-screen.png":"b541fadd3f1563856a4b44aeebd9d563","images\/indicator.gif":"03ce3dcc84af110e9da8699a841e5200","images\/delete.png":"93c047549c31a270a037840277cf59d3","images\/info-mini.png":"445c090ed777c5e6a08ac390fa896193","images\/ok.png":"f6973773335fd83d8d2875f9a3c925af","images\/error.png":"1af8a1041016f67669c5fd22dc88c82e","images\/eye-open-555.png":"9940f4e5b1248042c238e1924359fd5e","images\/eye-closed-555.png":"6ad3b0bae791bf61addc9d8ca80a642d","images\/eye-open-fff.png":"b7db2402d4d5c72314c25790a66150d4","images\/eye-closed-fff.png":"f9be7454dbb47b0e0bca3aa370ae7db5"}}
|
||||
{"variables":"8cfe86f2c55d8eff36d57eb4e83d89f1","stylesheets":{"css-variables":"8f09e480732f79902e91eae584cc5faf","jqueryui":"eaa09c8a9cb976dc0545bfbc178c92a8","main":"4f5559204c5109eab9addfe2d942e6ea","environment-banner":"30ec7c32b11db1f92411a93d7d59ecf8"},"imports":[],"images":{"css\/ui-lightness\/images\/ui-icons_222222_256x240.png":"3a3c5468f484f07ac4a320d9e22acb8c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_20_666666_40x40.png":"4429d568c67d8dfeb9040273ea0fb8c4","css\/ui-lightness\/images\/ui-icons_E87C1E_256x240.png":"7003dd36cb2aa032c8ec871ce4d4e03d","css\/ui-lightness\/images\/ui-icons_1c94c4_256x240.png":"dbd693dc8e0ef04e90a2f7ac7b390086","css\/ui-lightness\/images\/ui-icons_F26522_256x240.png":"16278ec0c07270be571f4c2e97fcc10c","css\/ui-lightness\/images\/ui-bg_diagonals-thick_18_b81900_40x40.png":"e460a66d4b3e093fc651e62a236267cb","css\/ui-lightness\/images\/ui-icons_ffffff_256x240.png":"41612b0f4a034424f8321c9f824a94da","css\/ui-lightness\/images\/ui-icons_ffd27a_256x240.png":"dda1b6f694b0d196aefc66a1d6d758f6","images\/actions_right.png":"31c8906bd25d27b83a0a2466bf903462","images\/ac-background.gif":"76135f3697b41a15aed787cfd77776c7","images\/green-square.gif":"16ea9a497d72f5e66e4e8ea9ae08024e","images\/tv-item.gif":"719fe2d4566108e73162fb8868d3778c","images\/tv-collapsable.gif":"63a3351ea0d580797c9b8c386aa4f48b","images\/tv-expandable.gif":"a2d1af4128e4a798a7f3390b12a28574","images\/tv-item-last.gif":"2ae7e1d9972ce71e5caa65a086bc5b7e","images\/tv-collapsable-last.gif":"71acaa9d7c2616e9e8b7131a75ca65da","images\/tv-expandable-last.gif":"9d51036b3a8102742709da66789fd0f7","images\/red-header.gif":"c73b8765f0c8c3c183cb6a0c2bb0ec69","images\/green-header.gif":"0e22a09bb8051b2a274b3427ede62e82","images\/orange-header.gif":"ce1f93f0af64431771b4cbd6c99c567b","images\/calendar.png":"ab56e59af3c96ca661821257d376465e","images\/truncated.png":"c6f91108afe8159d417b4dc556cd3b2a","images\/plus.gif":"f00e1e6e1161f48608bb2bbc79b9948c","images\/minus.gif":"6d77c0c0c2f86b6995d1cdf78274eaab","images\/full-screen.png":"b541fadd3f1563856a4b44aeebd9d563","images\/indicator.gif":"03ce3dcc84af110e9da8699a841e5200","images\/delete.png":"93c047549c31a270a037840277cf59d3","images\/info-mini.png":"445c090ed777c5e6a08ac390fa896193","images\/ok.png":"f6973773335fd83d8d2875f9a3c925af","images\/error.png":"1af8a1041016f67669c5fd22dc88c82e"}}
|
||||
=== SIGNATURE END ===
|
||||
*/
|
||||
/*!
|
||||
@@ -99,7 +99,7 @@
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
.ui-widget-icon-block {
|
||||
@@ -232,7 +232,7 @@
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7?v=1608028358");
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7?v=1608286605");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
@@ -298,7 +298,7 @@
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:hover .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
@@ -306,20 +306,20 @@
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:active .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button:focus {
|
||||
font-weight: bold;
|
||||
color: #EA7D1E;
|
||||
}
|
||||
.ui-button:focus .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button .ui-state-highlight.ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-button-icon-only {
|
||||
width: 2em;
|
||||
@@ -901,7 +901,7 @@ body .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: 0.7;
|
||||
@@ -913,7 +913,7 @@ body .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-default a {
|
||||
text-decoration: none;
|
||||
@@ -925,7 +925,7 @@ body .ui-tooltip {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_F26522_256x240.png?v=1608286605");
|
||||
}
|
||||
a.ui-button {
|
||||
text-decoration: none;
|
||||
@@ -955,7 +955,7 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-focus a {
|
||||
text-decoration: none;
|
||||
@@ -970,7 +970,7 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-visual-focus {
|
||||
box-shadow: 0 0 3px 1px #5e9ed6;
|
||||
@@ -988,19 +988,19 @@ a:visited.ui-button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_E87C1E_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-icon-background {
|
||||
background-color: #EA7D1E;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_1c94c4_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-error .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffd27a_256x240.png?v=1608286605");
|
||||
}
|
||||
.ui-priority-primary {
|
||||
font-weight: bold;
|
||||
@@ -1655,7 +1655,7 @@ a:visited.ui-button {
|
||||
visibility: hidden;
|
||||
}
|
||||
#ibo-main-content .edit-image .view-image.dirty.compat, .ui-dialog .edit-image .view-image.dirty.compat {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit-image .view-image.dirty.compat img, .ui-dialog .edit-image .view-image.dirty.compat img {
|
||||
opacity: 0.3;
|
||||
@@ -1678,7 +1678,7 @@ a:visited.ui-button {
|
||||
opacity: 0.3;
|
||||
}
|
||||
#ibo-main-content .edit-image .edit-buttons .button .ui-icon, .ui-dialog .edit-image .edit-buttons .button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit-image .file-input, .ui-dialog .edit-image .file-input {
|
||||
display: block;
|
||||
@@ -1878,7 +1878,7 @@ a:visited.ui-button {
|
||||
background: #EA7D1E;
|
||||
}
|
||||
#ibo-main-content .actions_details span, .ui-dialog .actions_details span {
|
||||
background: url("../../../../images/actions_right.png?v=1608028358") no-repeat right;
|
||||
background: url("../../../../images/actions_right.png?v=1608286605") no-repeat right;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
padding-top: 2px;
|
||||
@@ -1901,7 +1901,7 @@ a:visited.ui-button {
|
||||
}
|
||||
#ibo-main-content .ac_input, .ui-dialog .ac_input {
|
||||
border: 1px solid #7f9db9;
|
||||
background: #fff url("../../../../images/ac-background.gif?v=1608028358") no-repeat right;
|
||||
background: #fff url("../../../../images/ac-background.gif?v=1608286605") no-repeat right;
|
||||
/* By Rom */
|
||||
}
|
||||
#ibo-main-content .csvimport_createobj, .ui-dialog .csvimport_createobj {
|
||||
@@ -1956,7 +1956,7 @@ a:visited.ui-button {
|
||||
noborder-top: 1px solid #8b8b8b;
|
||||
padding: 4px 0px 0px 16px;
|
||||
font-size: 8pt;
|
||||
background: url("../../../../images/green-square.gif?v=1608028358") no-repeat bottom left;
|
||||
background: url("../../../../images/green-square.gif?v=1608286605") no-repeat bottom left;
|
||||
color: #83b217;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
@@ -2032,22 +2032,22 @@ a:visited.ui-button {
|
||||
margin-top: -8px;
|
||||
}
|
||||
#ibo-main-content .notreeview li, .ui-dialog .notreeview li {
|
||||
background: url("../../../../images/tv-item.gif?v=1608028358") 0 0 no-repeat;
|
||||
background: url("../../../../images/tv-item.gif?v=1608286605") 0 0 no-repeat;
|
||||
}
|
||||
#ibo-main-content .notreeview .collapsable, .ui-dialog .notreeview .collapsable {
|
||||
background-image: url("../../../../images/tv-collapsable.gif?v=1608028358");
|
||||
background-image: url("../../../../images/tv-collapsable.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .expandable, .ui-dialog .notreeview .expandable {
|
||||
background-image: url("../../../../images/tv-expandable.gif?v=1608028358");
|
||||
background-image: url("../../../../images/tv-expandable.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .last, .ui-dialog .notreeview .last {
|
||||
background-image: url("../../../../images/tv-item-last.gif?v=1608028358");
|
||||
background-image: url("../../../../images/tv-item-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .lastCollapsable, .ui-dialog .notreeview .lastCollapsable {
|
||||
background-image: url("../../../../images/tv-collapsable-last.gif?v=1608028358");
|
||||
background-image: url("../../../../images/tv-collapsable-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .notreeview .lastExpandable, .ui-dialog .notreeview .lastExpandable {
|
||||
background-image: url("../../../../images/tv-expandable-last.gif?v=1608028358");
|
||||
background-image: url("../../../../images/tv-expandable-last.gif?v=1608286605");
|
||||
}
|
||||
#ibo-main-content #OrganizationSelection, .ui-dialog #OrganizationSelection {
|
||||
padding: 5px 0px 16px 20px;
|
||||
@@ -2223,7 +2223,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.red, .ui-dialog th.red {
|
||||
background: url("../../../../images/red-header.gif?v=1608028358") bottom left repeat-x;
|
||||
background: url("../../../../images/red-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content .green, .ui-dialog .green {
|
||||
@@ -2231,7 +2231,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.green, .ui-dialog th.green {
|
||||
background: url("../../../../images/green-header.gif?v=1608028358") bottom left repeat-x;
|
||||
background: url("../../../../images/green-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content .orange, .ui-dialog .orange {
|
||||
@@ -2239,7 +2239,7 @@ a:visited.ui-button {
|
||||
color: #000;
|
||||
}
|
||||
#ibo-main-content th.orange, .ui-dialog th.orange {
|
||||
background: url("../../../../images/orange-header.gif?v=1608028358") bottom left repeat-x;
|
||||
background: url("../../../../images/orange-header.gif?v=1608286605") bottom left repeat-x;
|
||||
color: #000;
|
||||
/* For Date Picker: Creates a little calendar icon
|
||||
* instead of a text link for "Choose date"
|
||||
@@ -2254,7 +2254,7 @@ a:visited.ui-button {
|
||||
display: block;
|
||||
text-indent: -2000px;
|
||||
overflow: hidden;
|
||||
background: url("../../../../images/calendar.png?v=1608028358") no-repeat;
|
||||
background: url("../../../../images/calendar.png?v=1608286605") no-repeat;
|
||||
}
|
||||
#ibo-main-content td a.dp-choose-date.dp-disabled, .ui-dialog td a.dp-choose-date.dp-disabled, #ibo-main-content a.dp-choose-date.dp-disabled, .ui-dialog a.dp-choose-date.dp-disabled {
|
||||
background-position: 0 -20px;
|
||||
@@ -2303,19 +2303,19 @@ a:visited.ui-button {
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.odd td.truncated, .ui-dialog table.listResults tr.odd td.truncated, #ibo-main-content table.listResults tr td.truncated, .ui-dialog table.listResults tr td.truncated, #ibo-main-content .wizContainer table.listResults tr.odd td.truncated, .ui-dialog .wizContainer table.listResults tr.odd td.truncated, #ibo-main-content .wizContainer table.listResults tr td.truncated, .ui-dialog .wizContainer table.listResults tr td.truncated {
|
||||
background: url("../../../../images/truncated.png?v=1608028358") bottom repeat-x;
|
||||
background: url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.even td.truncated, .ui-dialog table.listResults tr.even td.truncated, #ibo-main-content .wizContainer table.listResults tr.even td.truncated, .ui-dialog .wizContainer table.listResults tr.even td.truncated {
|
||||
background: #f9f9f1 url("../../../../images/truncated.png?v=1608028358") bottom repeat-x;
|
||||
background: #f9f9f1 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.even td.hover.truncated, .ui-dialog table.listResults tr.even td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr.even td.hover.truncated, .ui-dialog .wizContainer table.listResults tr.even td.hover.truncated {
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608028358") bottom repeat-x;
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
/* Beware: IE6 does not support multiple selector with multiple classes, only the last class is used */
|
||||
}
|
||||
#ibo-main-content table.listResults tr.odd td.hover.truncated, .ui-dialog table.listResults tr.odd td.hover.truncated, #ibo-main-content table.listResults tr td.hover.truncated, .ui-dialog table.listResults tr td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr.odd td.hover.truncated, .ui-dialog .wizContainer table.listResults tr.odd td.hover.truncated, #ibo-main-content .wizContainer table.listResults tr td.hover.truncated, .ui-dialog .wizContainer table.listResults tr td.hover.truncated {
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608028358") bottom repeat-x;
|
||||
background: #fdf5d0 url("../../../../images/truncated.png?v=1608286605") bottom repeat-x;
|
||||
}
|
||||
#ibo-main-content table.listResults.truncated, .ui-dialog table.listResults.truncated {
|
||||
border-bottom: 0;
|
||||
@@ -2417,7 +2417,7 @@ a:visited.ui-button {
|
||||
#ibo-main-content div#logo div, .ui-dialog div#logo div {
|
||||
height: 88px;
|
||||
width: 244px;
|
||||
background: url("../../../../images/itop-logo-2.png?v=1608028358") left no-repeat;
|
||||
background: url("../../../../images/itop-logo-2.png?v=1608286605") left no-repeat;
|
||||
}
|
||||
#ibo-main-content #left-pane .ui-layout-north, .ui-dialog #left-pane .ui-layout-north {
|
||||
overflow: hidden;
|
||||
@@ -2566,7 +2566,7 @@ a:visited.ui-button {
|
||||
margin: 0 2px;
|
||||
}
|
||||
#ibo-main-content .ui-layout-button-pin-down, .ui-dialog .ui-layout-button-pin-down {
|
||||
background: url("../../../../images/splitter-bkg.png?v=1608028358") transparent;
|
||||
background: url("../../../../images/splitter-bkg.png?v=1608286605") transparent;
|
||||
width: 16px;
|
||||
background-position: -144px -144px;
|
||||
}
|
||||
@@ -2694,13 +2694,13 @@ a:visited.ui-button {
|
||||
#ibo-main-content .caselog_header, .ui-dialog .caselog_header {
|
||||
padding: 3px;
|
||||
border-top: 1px solid #fff;
|
||||
background: #ddd url("../../../../images/plus.gif?v=1608028358") left no-repeat;
|
||||
background: #ddd url("../../../../images/plus.gif?v=1608286605") left no-repeat;
|
||||
padding-left: 16px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
}
|
||||
#ibo-main-content .caselog_header.open, .ui-dialog .caselog_header.open {
|
||||
background: #ddd url("../../../../images/minus.gif?v=1608028358") left no-repeat;
|
||||
background: #ddd url("../../../../images/minus.gif?v=1608286605") left no-repeat;
|
||||
}
|
||||
#ibo-main-content .caselog_entry, .ui-dialog .caselog_entry, #ibo-main-content .caselog_entry_html, .ui-dialog .caselog_entry_html {
|
||||
overflow-x: auto;
|
||||
@@ -2876,7 +2876,7 @@ a:visited.ui-button {
|
||||
height: 15px;
|
||||
border: 1px #A6A6A6 solid;
|
||||
cursor: pointer;
|
||||
background-image: url("../../../../images/full-screen.png?v=1608028358");
|
||||
background-image: url("../../../../images/full-screen.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 98%;
|
||||
@@ -2923,7 +2923,7 @@ a:visited.ui-button {
|
||||
padding: 2px;
|
||||
}
|
||||
#ibo-main-content .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_document .button .ui-icon, .ui-dialog .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_document .button .ui-icon {
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=1608286605");
|
||||
background-color: #EA7D1E;
|
||||
}
|
||||
#ibo-main-content .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_image input, .ui-dialog .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_image input {
|
||||
@@ -2989,7 +2989,7 @@ a:visited.ui-button {
|
||||
height: 15px;
|
||||
border: 1px #A6A6A6 solid;
|
||||
cursor: pointer;
|
||||
background-image: url("../../../../images/full-screen.png?v=1608028358");
|
||||
background-image: url("../../../../images/full-screen.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 98%;
|
||||
@@ -3054,7 +3054,7 @@ a:visited.ui-button {
|
||||
padding-left: 0.4em;
|
||||
}
|
||||
#ibo-main-content .ac_dlg_loading, .ui-dialog .ac_dlg_loading {
|
||||
background: white url("../../../../images/indicator.gif?v=1608028358") right center no-repeat;
|
||||
background: white url("../../../../images/indicator.gif?v=1608286605") right center no-repeat;
|
||||
}
|
||||
#ibo-main-content table.pagination, .ui-dialog table.pagination {
|
||||
display: inline-block;
|
||||
@@ -3121,10 +3121,10 @@ a:visited.ui-button {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
#ibo-main-content .dragHover, .ui-dialog .dragHover {
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028358");
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
}
|
||||
#ibo-main-content .edit_mode .dashlet, .ui-dialog .edit_mode .dashlet {
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608028358");
|
||||
background: url("../../../../css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=1608286605");
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
@@ -3169,7 +3169,7 @@ a:visited.ui-button {
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
background: transparent url("../../../../images/delete.png?v=1608028358") no-repeat center;
|
||||
background: transparent url("../../../../images/delete.png?v=1608286605") no-repeat center;
|
||||
}
|
||||
#ibo-main-content td.prop_value, .ui-dialog td.prop_value {
|
||||
text-align: left;
|
||||
@@ -3398,23 +3398,23 @@ a:visited.ui-button {
|
||||
}
|
||||
#ibo-main-content .message_info, .ui-dialog .message_info {
|
||||
border: 1px solid #993;
|
||||
background: url("../../../../images/info-mini.png?v=1608028358") 1em 1em no-repeat #ffc;
|
||||
background: url("../../../../images/info-mini.png?v=1608286605") 1em 1em no-repeat #ffc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_ok, .ui-dialog .message_ok {
|
||||
border: 1px solid #393;
|
||||
background: url("../../../../images/ok.png?v=1608028358") 1em 1em no-repeat #cfc;
|
||||
background: url("../../../../images/ok.png?v=1608286605") 1em 1em no-repeat #cfc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_warning, .ui-dialog .message_warning {
|
||||
border: 1px solid #ec9800;
|
||||
background: url("../../../../images/error.png?v=1608028358") 1em 1em no-repeat #ffd78d;
|
||||
background: url("../../../../images/error.png?v=1608286605") 1em 1em no-repeat #ffd78d;
|
||||
color: #000;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .message_error, .ui-dialog .message_error {
|
||||
border: 1px solid #933;
|
||||
background: url("../../../../images/error.png?v=1608028358") 1em 1em no-repeat #fcc;
|
||||
background: url("../../../../images/error.png?v=1608286605") 1em 1em no-repeat #fcc;
|
||||
padding-left: 3em;
|
||||
}
|
||||
#ibo-main-content .fg-menu a img, .ui-dialog .fg-menu a img {
|
||||
@@ -3532,35 +3532,6 @@ a:visited.ui-button {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
#ibo-main-content div.explain-printable, .ui-dialog div.explain-printable {
|
||||
border: 5px solid #1c94c4;
|
||||
background: #d6e8ef;
|
||||
color: #000;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
#ibo-main-content .hideable-chapter, .ui-dialog .hideable-chapter {
|
||||
cursor: pointer;
|
||||
}
|
||||
#ibo-main-content #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter span, .ui-dialog #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter span {
|
||||
padding-left: 20px;
|
||||
background: url("../../../../images/eye-open-555.png?v=1608028358") 2px center no-repeat;
|
||||
}
|
||||
#ibo-main-content #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter.strikethrough span, .ui-dialog #hiddeable_chapters .ui-tabs .ui-tabs-nav li.hideable-chapter.strikethrough span {
|
||||
text-decoration: line-through;
|
||||
background: url("../../../../images/eye-closed-555.png?v=1608028358") 2px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version legend, .ui-dialog .printable-version legend {
|
||||
padding-left: 26px;
|
||||
background: #1c94c4 url("../../../../images/eye-open-fff.png?v=1608028358") 8px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version .strikethrough legend, .ui-dialog .printable-version .strikethrough legend {
|
||||
background: #1c94c4 url("../../../../images/eye-closed-fff.png?v=1608028358") 8px center no-repeat;
|
||||
}
|
||||
#ibo-main-content .printable-version fieldset.strikethrough span, .ui-dialog .printable-version fieldset.strikethrough span {
|
||||
display: none;
|
||||
}
|
||||
#ibo-main-content h2.printable-tab-title, .ui-dialog h2.printable-tab-title {
|
||||
border-bottom: 2px solid;
|
||||
}
|
||||
@@ -3629,7 +3600,7 @@ a:visited.ui-button {
|
||||
cursor: pointer;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608028358");
|
||||
background-image: url("../../../../css/ui-lightness/images/ui-icons_222222_256x240.png?v=1608286605");
|
||||
background-position: -16px -192px;
|
||||
}
|
||||
#ibo-main-content .history_entry_truncated .history_truncated_toggler, .ui-dialog .history_entry_truncated .history_truncated_toggler {
|
||||
@@ -3714,7 +3685,7 @@ a:visited.ui-button {
|
||||
#ibo-main-content #itop-breadcrumb .breadcrumb-item a::after, .ui-dialog #itop-breadcrumb .breadcrumb-item a::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-image: url("../../../../images/breadcrumb-separator.png?v=1608028358");
|
||||
background-image: url("../../../../images/breadcrumb-separator.png?v=1608286605");
|
||||
background-repeat: no-repeat;
|
||||
width: 8px;
|
||||
height: 16px;
|
||||
|
||||
@@ -17,15 +17,13 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
// Global search
|
||||
// Display DataTable
|
||||
Dict::Add('EN US', 'English', 'English', array(
|
||||
'UI:Datatables:Language:Processing' => 'Please wait...',
|
||||
'UI:Datatables:Language:Search' => 'Filter:',
|
||||
'UI:Datatables:Language:LengthMenu' => 'Showing _MENU_ out of',
|
||||
'UI:Datatables:Language:ZeroRecords' => 'No result',
|
||||
'UI:Datatables:Language:Info' => '_TOTAL_ items',
|
||||
'UI:Datatables:Language:InfoEmpty' => 'No information',
|
||||
'UI:Datatables:Language:InfoFiltered' => 'filtered out of _MAX_ items',
|
||||
'UI:Datatables:Language:EmptyTable' => 'No data available in this table',
|
||||
'UI:Datatables:Language:DisplayLength:All' => 'All',
|
||||
'UI:Datatables:Language:Sort:Ascending' => 'enable for an ascending sort',
|
||||
|
||||
31
dictionaries/ui/components/fr.dictionary.itop.datatable.php
Normal file
31
dictionaries/ui/components/fr.dictionary.itop.datatable.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright (C) 2013-2020 Combodo SARL
|
||||
*
|
||||
* This file is part of iTop.
|
||||
*
|
||||
* iTop is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* iTop is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
// Display DataTable
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'UI:Datatables:Language:Processing' => 'Patientez ...',
|
||||
'UI:Datatables:Language:LengthMenu' => '_MENU_ parmi ',
|
||||
'UI:Datatables:Language:ZeroRecords' => 'Pas de résultat',
|
||||
'UI:Datatables:Language:Info' => '_TOTAL_ résultat(s)',
|
||||
'UI:Datatables:Language:InfoEmpty' => 'Pas d\'information',
|
||||
'UI:Datatables:Language:EmptyTable' => 'Pas de résultat',
|
||||
'UI:Datatables:Language:DisplayLength:All' => 'Tous',
|
||||
'UI:Datatables:Language:Sort:Ascending' => 'tri croissant',
|
||||
'UI:Datatables:Language:Sort:Descending' => 'tri décroissant',
|
||||
));
|
||||
@@ -108,6 +108,20 @@ const CombodoBackofficeToolbox = {
|
||||
}
|
||||
};
|
||||
|
||||
// For disabling the CKEditor at init time when the corresponding textarea is disabled !
|
||||
CKEDITOR.plugins.add( 'disabler',
|
||||
{
|
||||
init : function( editor )
|
||||
{
|
||||
editor.on( 'instanceReady', function(e)
|
||||
{
|
||||
e.removeListener();
|
||||
$('#'+ editor.name).trigger('update');
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Processing
|
||||
$(document).ready(function(){
|
||||
// Enable tooltips based on existing HTML markup, won't work on markup added dynamically after DOM ready (AJAX, ...)
|
||||
|
||||
@@ -199,6 +199,7 @@ return array(
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreate' => $baseDir . '/sources/application/UI/Base/Component/QuickCreate/QuickCreate.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreateFactory' => $baseDir . '/sources/application/UI/Base/Component/QuickCreate/QuickCreateFactory.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreateHelper' => $baseDir . '/sources/application/UI/Base/Component/QuickCreate/QuickCreateHelper.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\SearchBlock\\SearchBlock' => $baseDir . '/sources/application/UI/Base/Component/SearchBlock/SearchBlock.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\Title' => $baseDir . '/sources/application/UI/Base/Component/Title/Title.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\TitleFactory' => $baseDir . '/sources/application/UI/Base/Component/Title/TitleFactory.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\TitleForObjectDetails' => $baseDir . '/sources/application/UI/Base/Component/Title/TitleForObjectDetails.php',
|
||||
@@ -251,6 +252,7 @@ return array(
|
||||
'Combodo\\iTop\\Application\\UI\\Links\\Indirect\\BlockIndirectLinksEdit\\BlockIndirectLinksEdit' => $baseDir . '/sources/application/UI/Links/Indirect/BlockIndirectLinksEdit/BlockIndirectLinksEdit.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Links\\Indirect\\BlockObjectPickerDialog\\BlockObjectPickerDialog' => $baseDir . '/sources/application/UI/Links/Indirect/BlockObjectPickerDialog/BlockObjectPickerDialog.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Preferences\\BlockShortcuts\\BlockShortcuts' => $baseDir . '/sources/application/UI/Preferences/BlockShortcuts/BlockShortcuts.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Printable\\BlockPrintHeader\\BlockPrintHeader' => $baseDir . '/sources/application/UI/Printable/BlockPrintHeader/BlockPrintHeader.php',
|
||||
'Combodo\\iTop\\Composer\\iTopComposer' => $baseDir . '/sources/Composer/iTopComposer.php',
|
||||
'Combodo\\iTop\\Controller\\AjaxRenderController' => $baseDir . '/sources/Controller/AjaxRenderController.php',
|
||||
'Combodo\\iTop\\DesignDocument' => $baseDir . '/core/designdocument.class.inc.php',
|
||||
|
||||
@@ -429,6 +429,7 @@ class ComposerStaticInit0018331147de7601e7552f7da8e3bb8b
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreate' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/QuickCreate/QuickCreate.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreateFactory' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/QuickCreate/QuickCreateFactory.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\QuickCreate\\QuickCreateHelper' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/QuickCreate/QuickCreateHelper.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\SearchBlock\\SearchBlock' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/SearchBlock/SearchBlock.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\Title' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/Title/Title.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\TitleFactory' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/Title/TitleFactory.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Base\\Component\\Title\\TitleForObjectDetails' => __DIR__ . '/../..' . '/sources/application/UI/Base/Component/Title/TitleForObjectDetails.php',
|
||||
@@ -481,6 +482,7 @@ class ComposerStaticInit0018331147de7601e7552f7da8e3bb8b
|
||||
'Combodo\\iTop\\Application\\UI\\Links\\Indirect\\BlockIndirectLinksEdit\\BlockIndirectLinksEdit' => __DIR__ . '/../..' . '/sources/application/UI/Links/Indirect/BlockIndirectLinksEdit/BlockIndirectLinksEdit.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Links\\Indirect\\BlockObjectPickerDialog\\BlockObjectPickerDialog' => __DIR__ . '/../..' . '/sources/application/UI/Links/Indirect/BlockObjectPickerDialog/BlockObjectPickerDialog.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Preferences\\BlockShortcuts\\BlockShortcuts' => __DIR__ . '/../..' . '/sources/application/UI/Preferences/BlockShortcuts/BlockShortcuts.php',
|
||||
'Combodo\\iTop\\Application\\UI\\Printable\\BlockPrintHeader\\BlockPrintHeader' => __DIR__ . '/../..' . '/sources/application/UI/Printable/BlockPrintHeader/BlockPrintHeader.php',
|
||||
'Combodo\\iTop\\Composer\\iTopComposer' => __DIR__ . '/../..' . '/sources/Composer/iTopComposer.php',
|
||||
'Combodo\\iTop\\Controller\\AjaxRenderController' => __DIR__ . '/../..' . '/sources/Controller/AjaxRenderController.php',
|
||||
'Combodo\\iTop\\DesignDocument' => __DIR__ . '/../..' . '/core/designdocument.class.inc.php',
|
||||
|
||||
@@ -137,12 +137,12 @@ class AjaxRenderController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $sFilter
|
||||
* @param string $sFilter
|
||||
*
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function SearchAndRefresh($sFilter): array
|
||||
public static function SearchAndRefresh(string $sFilter): array
|
||||
{
|
||||
$extraParams = utils::ReadParam('extra_params', '', false, 'raw_data');
|
||||
$aExtraParams = array();
|
||||
@@ -167,10 +167,10 @@ class AjaxRenderController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $sEncoding
|
||||
* @param $sFilter
|
||||
* @param string $sEncoding
|
||||
* @param string $sFilter
|
||||
*
|
||||
* @return mixed
|
||||
* @return array
|
||||
* @throws \ArchivedObjectException
|
||||
* @throws \CoreException
|
||||
* @throws \CoreUnexpectedValue
|
||||
@@ -180,7 +180,7 @@ class AjaxRenderController
|
||||
* @throws \MySQLHasGoneAwayException
|
||||
* @throws \OQLException
|
||||
*/
|
||||
public static function Search($sEncoding, $sFilter)
|
||||
public static function Search(string $sEncoding, string $sFilter):array
|
||||
{
|
||||
$extraParams = utils::ReadParam('extra_params', '', false, 'raw_data');
|
||||
$aExtraParams = array();
|
||||
|
||||
@@ -71,9 +71,9 @@ class ConsoleBlockRenderer extends BlockRenderer
|
||||
protected static function AddCssJsTemplatesToPageRecursively(WebPage $oPage, iUIBlock $oBlock, array $aContextParams = []): void
|
||||
{
|
||||
$oBlockRenderer = new static($oBlock, $aContextParams);
|
||||
$oPage->add_init_script($oBlockRenderer->RenderJsInline(iUIBlock::JS_TYPE_ON_INIT));
|
||||
$oPage->add_script($oBlockRenderer->RenderJsInline(iUIBlock::JS_TYPE_LIVE));
|
||||
$oPage->add_ready_script($oBlockRenderer->RenderJsInline(iUIBlock::JS_TYPE_ON_READY));
|
||||
$oPage->add_init_script($oBlockRenderer->RenderJsInline(iUIBlock::ENUM_JS_TYPE_ON_INIT));
|
||||
$oPage->add_script($oBlockRenderer->RenderJsInline(iUIBlock::ENUM_JS_TYPE_LIVE));
|
||||
$oPage->add_ready_script($oBlockRenderer->RenderJsInline(iUIBlock::ENUM_JS_TYPE_ON_READY));
|
||||
$oPage->add_style($oBlockRenderer->RenderCssInline());
|
||||
|
||||
foreach ($oBlock->GetSubBlocks() as $oSubBlock) {
|
||||
|
||||
@@ -33,6 +33,7 @@ use WebPage;
|
||||
*/
|
||||
class DataTableFactory
|
||||
{
|
||||
|
||||
/**
|
||||
* @param \WebPage $oPage
|
||||
* @param string $sListId
|
||||
@@ -758,7 +759,8 @@ class DataTableFactory
|
||||
|
||||
public Static function MakeForForm(string $sRef, array $aColumns): FormTable
|
||||
{
|
||||
$oTable = new FormTable($sRef);
|
||||
$oTable = new FormTable("datatable_".$sRef);
|
||||
$oTable->SetRef($sRef);
|
||||
$oTable->SetColumns($aColumns);
|
||||
|
||||
return $oTable;
|
||||
|
||||
@@ -31,7 +31,7 @@ class FormTable extends StaticTable
|
||||
|
||||
public function __construct(string $sRef, string $sContainerCSSClass = '')
|
||||
{
|
||||
parent::__construct("dt_{$sRef}", $sContainerCSSClass);
|
||||
parent::__construct($sRef, $sContainerCSSClass);
|
||||
$this->SetRef($sRef);
|
||||
$this->aRows = [];
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ class PageContentWithSideContent extends PageContent {
|
||||
// Overloaded constants
|
||||
public const BLOCK_CODE = 'ibo-page-content-with-side-content';
|
||||
public const DEFAULT_HTML_TEMPLATE_REL_PATH = 'base/layouts/page-content/with-side-content';
|
||||
public const DEFAULT_JS_ON_READY_TEMPLATE_REL_PATH = 'base/layouts/page-content/with-side-content';
|
||||
|
||||
// Specific constants
|
||||
public const ENUM_CONTENT_AREA_SIDE = 'side';
|
||||
|
||||
@@ -94,9 +94,9 @@ abstract class UIBlock implements iUIBlock
|
||||
$this->aJsFilesRelPath = static::DEFAULT_JS_FILES_REL_PATH;
|
||||
$this->aCssFilesRelPath = static::DEFAULT_CSS_FILES_REL_PATH;
|
||||
$this->sHtmlTemplateRelPath = static::DEFAULT_HTML_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::JS_TYPE_LIVE] = static::DEFAULT_JS_LIVE_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::JS_TYPE_ON_INIT] = static::DEFAULT_JS_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::JS_TYPE_ON_READY] = static::DEFAULT_JS_ON_READY_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::ENUM_JS_TYPE_LIVE] = static::DEFAULT_JS_LIVE_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::ENUM_JS_TYPE_ON_INIT] = static::DEFAULT_JS_TEMPLATE_REL_PATH;
|
||||
$this->aJsTemplateRelPath[self::ENUM_JS_TYPE_ON_READY] = static::DEFAULT_JS_ON_READY_TEMPLATE_REL_PATH;
|
||||
$this->sCssTemplateRelPath = static::DEFAULT_CSS_TEMPLATE_REL_PATH;
|
||||
$this->sGlobalTemplateRelPath = static::DEFAULT_GLOBAL_TEMPLATE_REL_PATH;
|
||||
$this->aDataAttributes = [];
|
||||
@@ -121,7 +121,7 @@ abstract class UIBlock implements iUIBlock
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function GetJsTemplateRelPath(string $sType) {
|
||||
if ($sType != self::JS_TYPE_LIVE && $sType != self::JS_TYPE_ON_INIT && $sType != self::JS_TYPE_ON_READY){
|
||||
if (!in_array($sType, [self::ENUM_JS_TYPE_LIVE, self::ENUM_JS_TYPE_ON_INIT, self::ENUM_JS_TYPE_ON_READY])) {
|
||||
throw new UIException($this, "Type of javascript $sType not supported");
|
||||
}
|
||||
return $this->aJsTemplateRelPath[$sType];
|
||||
|
||||
@@ -30,9 +30,9 @@ use Combodo\iTop\Application\UI\Base\UIException;
|
||||
* @since 3.0.0
|
||||
*/
|
||||
interface iUIBlock {
|
||||
public const JS_TYPE_ON_INIT = "js";
|
||||
public const JS_TYPE_LIVE = "live.js";
|
||||
public const JS_TYPE_ON_READY = "ready.js";
|
||||
public const ENUM_JS_TYPE_ON_INIT = "js";
|
||||
public const ENUM_JS_TYPE_LIVE = "live.js";
|
||||
public const ENUM_JS_TYPE_ON_READY = "ready.js";
|
||||
/**
|
||||
* Return the relative path (from <ITOP>/templates/) of the global template (HTML, JS, CSS) to use or null if it's not provided. Should not be used to often as JS/CSS files would be duplicated making the browser parsing time way longer.
|
||||
*
|
||||
@@ -50,7 +50,7 @@ interface iUIBlock {
|
||||
/**
|
||||
* Return the relative path (from <ITOP>/templates/) of the JS template to use or null if there is no inline JS to render
|
||||
*
|
||||
* @param string $sType javascript type only JS_TYPE_ON_INIT / JS_TYPE_ON_READY / JS_TYPE_LIVE
|
||||
* @param string $sType javascript type only ENUM_JS_TYPE_ON_INIT / ENUM_JS_TYPE_ON_READY / ENUM_JS_TYPE_LIVE
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
|
||||
@@ -30,6 +30,7 @@ use Combodo\iTop\Application\UI\Base\Layout\TopBar\TopBar;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\TopBar\TopBarFactory;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
|
||||
use Combodo\iTop\Application\UI\Base\UIBlock;
|
||||
use Combodo\iTop\Application\UI\Printable\BlockPrintHeader\BlockPrintHeader;
|
||||
use Combodo\iTop\Renderer\BlockRenderer;
|
||||
use Combodo\iTop\Renderer\Console\ConsoleBlockRenderer;
|
||||
|
||||
@@ -155,6 +156,9 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
if (!$this->IsPrintableVersion())
|
||||
{
|
||||
$this->PrepareLayout();
|
||||
} else{
|
||||
$oPrintHeader = $this->OutputPrintable();
|
||||
$this->AddUiBlock($oPrintHeader);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -490,21 +494,11 @@ JS
|
||||
|
||||
var oUserPreferences = $sUserPrefs;
|
||||
|
||||
// For disabling the CKEditor at init time when the corresponding textarea is disabled !
|
||||
CKEDITOR.plugins.add( 'disabler',
|
||||
{
|
||||
init : function( editor )
|
||||
{
|
||||
editor.on( 'instanceReady', function(e)
|
||||
{
|
||||
e.removeListener();
|
||||
$('#'+ editor.name).trigger('update');
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
JS
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -578,8 +572,11 @@ JS
|
||||
*/
|
||||
public function SetContentLayout(PageContent $oLayout)
|
||||
{
|
||||
$oPrevContentLayout=$this->oContentLayout;
|
||||
$this->oContentLayout = $oLayout;
|
||||
|
||||
foreach ($oPrevContentLayout->GetSubBlocks() as $oBlock){
|
||||
$this->AddUiBlock($oBlock);
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -834,6 +831,7 @@ EOF;
|
||||
$sAbsoluteUrlAppRoot = addslashes($this->m_sRootUrl);
|
||||
$sFaviconUrl = $this->GetFaviconAbsoluteUrl();
|
||||
$sMetadataLanguage = $this->GetLanguageForMetadata();
|
||||
$oPrintHeader = null;
|
||||
|
||||
// Prepare internal parts (js files, css files, js snippets, css snippets, ...)
|
||||
// - Generate necessary dict. files
|
||||
@@ -853,6 +851,8 @@ EOF;
|
||||
'sCharset' => static::PAGES_CHARSET,
|
||||
'sLang' => $sMetadataLanguage,
|
||||
],
|
||||
'oPrintHeader' => $oPrintHeader,
|
||||
'isPrintable' => $this->IsPrintableVersion(),
|
||||
];
|
||||
|
||||
// Base tag
|
||||
@@ -876,13 +876,13 @@ EOF;
|
||||
];
|
||||
// - Prepare navigation menu
|
||||
$aData['aLayouts']['oNavigationMenu'] = $this->GetNavigationMenuLayout();
|
||||
$aData['aDeferredBlocks']['oNavigationMenu'] = $this->GetDeferredBlocks($this->GetNavigationMenuLayout());
|
||||
// - Prepare top bar
|
||||
$aData['aLayouts']['oTopBar'] = $this->GetTopBarLayout();
|
||||
$aData['aDeferredBlocks']['oTopBar'] = $this->GetDeferredBlocks($this->GetTopBarLayout());
|
||||
// - Prepare content
|
||||
$aData['aLayouts']['oPageContent'] = $this->GetContentLayout();
|
||||
$aData['aDeferredBlocks'] = array_merge($this->GetDeferredBlocks($this->GetContentLayout()),
|
||||
$this->GetDeferredBlocks($this->GetNavigationMenuLayout()),
|
||||
$this->GetDeferredBlocks($this->GetTopBarLayout()));
|
||||
$aData['aDeferredBlocks']['oPageContent'] = $this->GetDeferredBlocks($this->GetContentLayout());
|
||||
|
||||
// - Retrieve layouts linked files
|
||||
// Note: Adding them now instead of in the template allow us to remove duplicates and lower the browser parsing time
|
||||
@@ -892,7 +892,7 @@ EOF;
|
||||
continue;
|
||||
}
|
||||
|
||||
ConsoleBlockRenderer::AddCssJsToPage($this, $oLayout);
|
||||
ConsoleBlockRenderer::AddCssJsToPage($this, $oLayout, $aData);
|
||||
}
|
||||
|
||||
// Components
|
||||
@@ -924,9 +924,12 @@ EOF;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Render final TWIG into global HTML
|
||||
$oKpi = new ExecutionKPI();
|
||||
$sHtml = TwigHelper::RenderTemplate($oTwigEnv, $aData, $this->GetTemplateRelPath());
|
||||
|
||||
|
||||
$oKpi->ComputeAndReport('TWIG rendering');
|
||||
|
||||
// Echo global HTML
|
||||
@@ -974,166 +977,9 @@ EOF
|
||||
// TODO 3.0.0: Is this for the "Debug" popup? We should do a helper to display a popup in various cases (welcome message for example)
|
||||
$s_captured_output = $this->ob_get_clean_safe();
|
||||
|
||||
// TODO 3.0.0: Stylesheet for printing instead of having all those "IsPrintableVersion()" ifs
|
||||
// TODO 3.0.0: Careful! In the print view, we can actually choose which part to print or not, so it's not just a print stylesheet...
|
||||
// special stylesheet for printing, hides the navigation gadgets
|
||||
$sHtml .= "<link rel=\"stylesheet\" media=\"print\" type=\"text/css\" href=\"../css/print.css?t=".utils::GetCacheBusterTimestamp()."\" />\n";
|
||||
|
||||
if ($this->GetOutputFormat() == 'html')
|
||||
{
|
||||
// $sHtml .= $this->output_dict_entries(true); // before any script so that they can benefit from the translations
|
||||
|
||||
// if (!$this->IsPrintableVersion())
|
||||
// {
|
||||
// $this->add_script("var iPaneVisWatchDog = window.setTimeout('FixPaneVis()',5000);");
|
||||
// }
|
||||
|
||||
|
||||
// TODO 3.0.0: Should we still do this init vs ready separation?
|
||||
// $this->add_script("\$(document).ready(function() {\n{$sInitScripts};\nwindow.setTimeout('onDelayedReady()',10)\n});");
|
||||
if ($this->IsPrintableVersion())
|
||||
{
|
||||
$this->add_ready_script(
|
||||
<<<EOF
|
||||
var sHiddeableChapters = '<div class="light ui-tabs ui-widget ui-widget-content ui-corner-all">';
|
||||
sHiddeableChapters += '<ul role="tablist" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">';
|
||||
for (sId in oHiddeableChapters)
|
||||
{
|
||||
sHiddeableChapters += '<li tabindex="-1" role="tab" class="ui-state-default ui-corner-top hideable-chapter" chapter-id="'+sId+'"><span class="tab ui-tabs-anchor">' + oHiddeableChapters[sId] + '</span></li>';
|
||||
//alert(oHiddeableChapters[sId]);
|
||||
}
|
||||
sHiddeableChapters += '</ul></div>';
|
||||
$('#hiddeable_chapters').html(sHiddeableChapters);
|
||||
$('.hideable-chapter').click(function(){
|
||||
var sChapterId = $(this).attr('chapter-id');
|
||||
$('#'+sChapterId).toggle();
|
||||
$(this).toggleClass('strikethrough');
|
||||
});
|
||||
$('fieldset').each(function() {
|
||||
var jLegend = $(this).find('legend');
|
||||
jLegend.remove();
|
||||
$(this).wrapInner('<span></span>').prepend(jLegend);
|
||||
});
|
||||
$('legend').css('cursor', 'pointer').click(function(){
|
||||
$(this).parent('fieldset').toggleClass('not-printable strikethrough');
|
||||
});
|
||||
EOF
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$sBodyClass = "";
|
||||
if ($this->IsPrintableVersion())
|
||||
{
|
||||
$sBodyClass = 'printable-version';
|
||||
}
|
||||
// $sHtml .= "<body class=\"$sBodyClass\" data-gui-type=\"backoffice\">\n";
|
||||
if ($this->IsPrintableVersion())
|
||||
{
|
||||
$sHtml .= "<div class=\"explain-printable not-printable\">";
|
||||
$sHtml .= '<p>'.Dict::Format('UI:ExplainPrintable',
|
||||
'<img src="../../../images/eye-open-555.png" style="vertical-align:middle">').'</p>';
|
||||
$sHtml .= "<div id=\"hiddeable_chapters\"></div>";
|
||||
$sHtml .= '<button onclick="window.print()">'.htmlentities(Dict::S('UI:Button:GoPrint'), ENT_QUOTES,
|
||||
self::PAGES_CHARSET).'</button>';
|
||||
$sHtml .= ' ';
|
||||
$sHtml .= '<button onclick="window.close()">'.htmlentities(Dict::S('UI:Button:Cancel'), ENT_QUOTES,
|
||||
self::PAGES_CHARSET).'</button>';
|
||||
$sHtml .= ' ';
|
||||
|
||||
$sDefaultResolution = '27.7cm';
|
||||
$aResolutionChoices = array(
|
||||
'100%' => Dict::S('UI:PrintResolution:FullSize'),
|
||||
'19cm' => Dict::S('UI:PrintResolution:A4Portrait'),
|
||||
'27.7cm' => Dict::S('UI:PrintResolution:A4Landscape'),
|
||||
'19.6cm' => Dict::S('UI:PrintResolution:LetterPortrait'),
|
||||
'25.9cm' => Dict::S('UI:PrintResolution:LetterLandscape'),
|
||||
);
|
||||
$sHtml .=
|
||||
<<<EOF
|
||||
<select name="text" onchange='$(".printable-content").width(this.value); $(charts).each(function(i, chart) { $(chart).trigger("resize"); });'>
|
||||
EOF;
|
||||
foreach ($aResolutionChoices as $sValue => $sText)
|
||||
{
|
||||
$sHtml .= '<option value="'.$sValue.'" '.(($sValue === $sDefaultResolution) ? 'selected' : '').'>'.$sText.'</option>';
|
||||
}
|
||||
$sHtml .= "</select>";
|
||||
|
||||
$sHtml .= "</div>";
|
||||
$sHtml .= "<div class=\"printable-content\" style=\"width: $sDefaultResolution;\">";
|
||||
}
|
||||
|
||||
// TODO 3.0.0
|
||||
// // Render the text of the global search form
|
||||
// $sText = htmlentities(utils::ReadParam('text', '', false, 'raw_data'), ENT_QUOTES, self::PAGES_CHARSET);
|
||||
// $sOnClick = " onclick=\"if ($('#global-search-input').val() != '') { $('#global-search form').submit(); } \"";
|
||||
// $sDefaultPlaceHolder = Dict::S("UI:YourSearch");
|
||||
|
||||
if ($this->IsPrintableVersion()) {
|
||||
$sHtml .= ' <!-- Beginning of page content -->';
|
||||
$sHtml .= utils::FilterXSS($this->s_content);
|
||||
$sHtml .= ' <!-- End of page content -->';
|
||||
} elseif ($this->GetOutputFormat() == 'html') {
|
||||
|
||||
// Add the captured output
|
||||
if (trim($s_captured_output) != "") {
|
||||
$sHtml .= "<div id=\"rawOutput\" title=\"Debug Output\"><div style=\"height:500px; overflow-y:auto;\">".utils::FilterXSS($s_captured_output)."</div></div>\n";
|
||||
}
|
||||
// $sHtml .= "<div id=\"at_the_end\">".utils::FilterXSS($this->s_deferred_content)."</div>";
|
||||
// $sHtml .= "<div style=\"display:none\" title=\"ex2\" id=\"ex2\">Please wait...</div>\n"; // jqModal Window
|
||||
// $sHtml .= "<div style=\"display:none\" title=\"dialog\" id=\"ModalDlg\"></div>";
|
||||
// $sHtml .= "<div style=\"display:none\" id=\"ajax_content\"></div>";
|
||||
} else {
|
||||
$sHtml .= utils::FilterXSS($this->s_content);
|
||||
}
|
||||
|
||||
if ($this->IsPrintableVersion())
|
||||
{
|
||||
$sHtml .= '</div>';
|
||||
}
|
||||
|
||||
|
||||
if ($this->GetOutputFormat() == 'html')
|
||||
{
|
||||
// $oKpi = new ExecutionKPI();
|
||||
// echo $sHtml;
|
||||
// $oKpi->ComputeAndReport('Echoing ('.round(strlen($sHtml) / 1024).' Kb)');
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO 3.0.0: Check with ITOMIG if we can remove this
|
||||
if ($this->GetOutputFormat() == 'pdf' && $this->IsOutputFormatAvailable('pdf'))
|
||||
{
|
||||
// Note: Apparently this was a demand from ITOMIG a while back, so it's not "dead code" per say.
|
||||
// The last trace we got is in R-007989. Do not remove this without checking before with the concerned parties if it is still used!
|
||||
if (@is_readable(APPROOT.'lib/MPDF/mpdf.php'))
|
||||
{
|
||||
require_once(APPROOT.'lib/MPDF/mpdf.php');
|
||||
/** @noinspection PhpUndefinedClassInspection Check above comment */
|
||||
$oMPDF = new mPDF('c');
|
||||
$oMPDF->mirroMargins = false;
|
||||
if ($this->a_base['href'] != '')
|
||||
{
|
||||
$oMPDF->setBasePath($this->a_base['href']); // Seems that the <BASE> tag is not recognized by mPDF...
|
||||
}
|
||||
$oMPDF->showWatermarkText = true;
|
||||
if ($this->GetOutputOption('pdf', 'template_path'))
|
||||
{
|
||||
$oMPDF->setImportUse(); // Allow templates
|
||||
$oMPDF->SetDocTemplate($this->GetOutputOption('pdf', 'template_path'), 1);
|
||||
}
|
||||
$oMPDF->WriteHTML($sHtml);
|
||||
$sOutputName = $this->s_title.'.pdf';
|
||||
if ($this->GetOutputOption('pdf', 'output_name'))
|
||||
{
|
||||
$sOutputName = $this->GetOutputOption('pdf', 'output_name');
|
||||
}
|
||||
$oMPDF->Output($sOutputName, 'I');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
@@ -1360,5 +1206,15 @@ EOF
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return BlockPrintHeader
|
||||
*/
|
||||
protected function OutputPrintable(): BlockPrintHeader
|
||||
{
|
||||
$oBlock= new BlockPrintHeader();
|
||||
return $oBlock;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
|
||||
var oHiddeableChapters = {};
|
||||
|
||||
{% endapply %}
|
||||
@@ -1,5 +1,5 @@
|
||||
<button id="{{ oUIBlock.GetId() }}"
|
||||
class="ibo-button ibo-is-{{ oUIBlock.GetActionType() }} ibo-is-{{ oUIBlock.GetColor() }} {{ oUIBlock.GetAdditionalCSSClass() }}"
|
||||
class="ibo-button ibo-is-{{ oUIBlock.GetActionType() }} ibo-is-{{ oUIBlock.GetColor() }} {{ oUIBlock.GetAdditionalCSSClass() }} no-print-preview"
|
||||
{% if oUIBlock.GetDataAttributes() %}
|
||||
{% for sName, sValue in oUIBlock.GetDataAttributes() %}
|
||||
data-{{ sName }}="{{ sValue }}"
|
||||
|
||||
@@ -137,7 +137,7 @@ var oTable{{ sListId }} = $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
pages: 5 // number of pages to cache
|
||||
}),
|
||||
initComplete: function () {
|
||||
if (this.api().page.info().pages === 1) {
|
||||
if (this.api().page.info().pages < 2) {
|
||||
this.parent().find('.dataTables_paginate').hide();
|
||||
this.parent().find('.dataTables_length').hide();
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@ $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
},
|
||||
paging: false,
|
||||
filter: false,
|
||||
search: false
|
||||
search: false,
|
||||
dom: "t"
|
||||
});
|
||||
@@ -15,12 +15,12 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="ibo-activity-panel--size-toggler" data-role="ibo-activity-panel--size-toggler">
|
||||
<a href="#" class="ibo-activity-panel--expand-icon"
|
||||
<a href="#" class="ibo-activity-panel--expand-icon no-print-preview"
|
||||
data-role="ibo-activity-panel--expand-icon"
|
||||
data-tooltip-content="{{ 'UI:Layout:ActivityPanel:SizeToggler:Expand:Tooltip'|dict_s }}">
|
||||
<span class="fas fa-fw fa-expand-alt"></span>
|
||||
</a>
|
||||
<a href="#" class="ibo-activity-panel--collapse-icon"
|
||||
<a href="#" class="ibo-activity-panel--collapse-icon no-print-preview"
|
||||
data-role="ibo-activity-panel--collapse-icon"
|
||||
data-tooltip-content="{{ 'UI:Layout:ActivityPanel:SizeToggler:Collapse:Tooltip'|dict_s }}">
|
||||
<span class="fas fa-fw fa-compress-alt"></span>
|
||||
@@ -91,7 +91,7 @@
|
||||
</div>
|
||||
{% if oUIBlock.HasActivityTabEntryForm() %}
|
||||
{% if oUIBlock.GetActivityTabEntryForm().IsSubmitAutonomous() %}
|
||||
<a href="#" class="ibo-activity-panel--body--add-caselog-entry--toggler" data-role="ibo-activity-panel--body--add-caselog-entry--toggler"><i class="fas fa-feather"></i></a>
|
||||
<a href="#" class="ibo-activity-panel--body--add-caselog-entry--toggler no-print-preview" data-role="ibo-activity-panel--body--add-caselog-entry--toggler"><i class="fas fa-feather"></i></a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div class="ibo-activity-panel--body">
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{% extends 'base/layouts/page-content/layout.html.twig' %}
|
||||
|
||||
{% block iboPageCenterContainerExtraClasses %}{{ parent() }} ibo-center-container--with-side-content{% endblock %}
|
||||
|
||||
{% block iboPageCenterContainerExtraClasses %}{{ parent() }}{% if not aPage.isPrintable %} ibo-center-container--with-side-content{% endif %}{% endblock %}
|
||||
|
||||
{% block iboPageCenterContainer %}
|
||||
{{ parent() }}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% if aPage.isPrintable %}
|
||||
oHiddeableChapters['ibo-side-content'] = '{{ 'UI:Layout:ActivityPanel:Tab:Activity:Title'|dict_s }}';
|
||||
{% endif %}
|
||||
|
||||
@@ -3,31 +3,45 @@
|
||||
<div id="{{ oUIBlock.GetId() }}" class="ibo-tab-container ibo-is-{{ oUIBlock.GetLayout() }}" data-role="ibo-tab-container">
|
||||
{% block iboTabContainer %}
|
||||
<ul class="ibo-tab-container--tabs-list" data-role="ibo-tab-container--tabs-list">
|
||||
{% if not aPage.isPrintable %}
|
||||
{% block iboTabContainerTabsList %}
|
||||
{% for oTab in oUIBlock.GetSubBlocks() %}
|
||||
{% block iboTabContainerTab %}
|
||||
{% if oTab.GetType() == constant('TabManager::ENUM_TAB_TYPE_AJAX') %}
|
||||
<li class="ibo-tab-container--tab-header" data-role="ibo-tab-container--tab-header" data-tab-id="tab_{{ oTab.GetId()|sanitize_identifier }}" data-tab-type="{{ oTab.GetType() }}" data-cache="{{ oTab.GetCache() }}">
|
||||
<a href="{{ oTab.GetUrl() }}" class="ibo-tab-container--tab-toggler" data-role="ibo-tab-container--tab-toggler"><span>{{ oTab.GetTitle() }}</span></a>
|
||||
<li class="ibo-tab-container--tab-header" data-role="ibo-tab-container--tab-header"
|
||||
data-tab-id="tab_{{ oTab.GetId()|sanitize_identifier }}" data-tab-type="{{ oTab.GetType() }}"
|
||||
data-cache="{{ oTab.GetCache() }}">
|
||||
<a href="{{ oTab.GetUrl() }}" class="ibo-tab-container--tab-toggler"
|
||||
data-role="ibo-tab-container--tab-toggler"><span>{{ oTab.GetTitle() }}</span></a>
|
||||
</li>
|
||||
{% elseif oTab.GetType() == constant('TabManager::ENUM_TAB_TYPE_HTML') %}
|
||||
<li class="ibo-tab-container--tab-header" data-role="ibo-tab-container--tab-header" data-tab-id="tab_{{ oTab.GetId()|sanitize_identifier }}" data-tab-type="{{ oTab.GetType() }}">
|
||||
<a href="#tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--tab-toggler" data-role="ibo-tab-container--tab-toggler"><span>{{ oTab.GetTitle() }}</span></a>
|
||||
<li class="ibo-tab-container--tab-header" data-role="ibo-tab-container--tab-header"
|
||||
data-tab-id="tab_{{ oTab.GetId()|sanitize_identifier }}" data-tab-type="{{ oTab.GetType() }}">
|
||||
<a href="#tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--tab-toggler" data-role="ibo-tab-container--tab-toggler">
|
||||
<span>{{ oTab.GetTitle() }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
<li class="ibo-tab-container--extra-tabs-container ibo-tab-container--tab-header" data-role="ibo-tab-container--extra-tabs-container">
|
||||
<a href="#" class="ibo-tab-container--extra-tabs-list-toggler" data-role="ibo-tab-container--extra-tabs-list-toggler"><span class="fas fa-ellipsis-v"></span></a>
|
||||
<a href="#" class="ibo-tab-container--extra-tabs-list-toggler" data-role="ibo-tab-container--extra-tabs-list-toggler">
|
||||
<span class="fas fa-ellipsis-v"></span>
|
||||
</a>
|
||||
<div class="ibo-tab-container--extra-tabs-list ibo-is-hidden" data-role="ibo-tab-container--extra-tabs-list">
|
||||
{% for oTab in oUIBlock.GetSubBlocks() %}
|
||||
<a href="#tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--extra-tab-toggler" data-role="ibo-tab-container--extra-tab-toggler"><span>{{ oTab.GetTitle() }}</span></a>
|
||||
<a href="#tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--extra-tab-toggler" data-role="ibo-tab-container--extra-tab-toggler">
|
||||
<span>{{ oTab.GetTitle() }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% block iboTabContainerTabsContainers %}
|
||||
{% if not aPage.isPrintable %}
|
||||
{% for oTab in oUIBlock.GetSubBlocks() %}
|
||||
{% if oTab.GetType() == constant('TabManager::ENUM_TAB_TYPE_HTML') %}
|
||||
<div id="tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--tab-container">
|
||||
@@ -35,7 +49,23 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
|
||||
{% for oTab in oUIBlock.GetSubBlocks() %}
|
||||
<div id="tab_{{ oTab.GetId()|sanitize_identifier }}" class="ibo-tab-container--tab-container">
|
||||
<div class="ibo-title--text title">
|
||||
{{ oTab.GetTitle() }}
|
||||
</div>
|
||||
{% if oTab.GetType() == constant('TabManager::ENUM_TAB_TYPE_HTML') %}
|
||||
{{ render_block(oTab, {aPage: aPage}) }}
|
||||
{% else %}
|
||||
<div class="printable-tab-content"></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1 +1,17 @@
|
||||
$('#{{ oUIBlock.GetId() }}').tab_container();
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
|
||||
{% if not aPage.isPrintable %}
|
||||
$('#{{ oUIBlock.GetId() }}').tab_container();
|
||||
{% else %}
|
||||
{% for oTab in oUIBlock.GetSubBlocks() %}
|
||||
oHiddeableChapters['tab_{{ oTab.GetId()|sanitize_identifier }}'] = '{{ oTab.GetTitle()|escape_for_js_string }}';
|
||||
{% if oTab.GetType() == constant('TabManager::ENUM_TAB_TYPE_AJAX') %}
|
||||
$.post('{{ oTab.GetUrl()|raw}}', {printable: '1'}, function(data){
|
||||
$('#tab_{{ oTab.GetId()|sanitize_identifier }} > .printable-tab-content').append(data);
|
||||
});
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,20 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% extends "pages/backoffice/nicewebpage/layout.html.twig" %}
|
||||
|
||||
{% block iboPageBodyHtml %}
|
||||
{% if aPage.isPrintable %}
|
||||
<div class="printable-content" style="width: 27.7cm;">
|
||||
<div id="ibo-page-container">
|
||||
{{ render_block(aLayouts.oPageContent, {aPage: aPage, aLayouts: aLayouts}) }}
|
||||
|
||||
{# TODO: Remove this when modal development is done #}
|
||||
<div id="at_the_end">{{ aPage.sDeferredContent|raw }}</div>
|
||||
<div style="display:none" title="ex2" id="ex2">Please wait...</div>
|
||||
<div style="display:none" title="dialog" id="ModalDlg"></div>
|
||||
<div style="display:none" id="ajax_content"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ render_block(aLayouts.oNavigationMenu, {aPage: aPage}) }}
|
||||
<div id="ibo-page-container">
|
||||
<div id="ibo-top-container">
|
||||
@@ -17,4 +29,24 @@
|
||||
<div style="display:none" title="dialog" id="ModalDlg"></div>
|
||||
<div style="display:none" id="ajax_content"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block iboDeferredBlocks %}
|
||||
{% if aPage.isPrintable %}
|
||||
{% if aDeferredBlocks.oPageContent %}
|
||||
{% for oBlock in aDeferredBlocks.oPageContent %}
|
||||
{{ render_block(oBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% for aBlocks in aDeferredBlocks %}
|
||||
{% for oBlock in aBlocks %}
|
||||
{{ render_block(oBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
|
||||
2
templates/pages/backoffice/itopwebpage/print.html.twig
Normal file
2
templates/pages/backoffice/itopwebpage/print.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
Reference in New Issue
Block a user