You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
906 B
41 lines
906 B
4 weeks ago
|
INSERT INTO sx_portlet
|
||
|
(
|
||
|
name,
|
||
|
TYPE,
|
||
|
class,
|
||
|
icon,
|
||
|
content,
|
||
|
sortnr_initial,
|
||
|
visible,
|
||
|
gueltig_von,
|
||
|
gueltig_bis
|
||
|
)
|
||
|
VALUES
|
||
|
(
|
||
|
'Status Ladejobs',
|
||
|
'HTML',
|
||
|
'green',
|
||
|
'icon-tasks',
|
||
|
'<iframe id="ladejobs_iframe"src="/superx/ladejobs.jsp" style="width: 100%; border: none;" onload="resizeIframe(this)" scrolling="no"></iframe>
|
||
|
<script>
|
||
|
function resizeIframe(iframe) {
|
||
|
iframe.style.height = iframe.contentWindow.document.documentElement.scrollHeight + ''px'';
|
||
|
}
|
||
|
|
||
|
window.setInterval(function() {
|
||
|
reloadIFrame()
|
||
|
}, 60000);
|
||
|
|
||
|
function reloadIFrame() {
|
||
|
console.log(''reloading..'');
|
||
|
document.getElementById(''ladejobs_iframe'').contentWindow.location.reload();
|
||
|
}
|
||
|
</script>
|
||
|
<p style="font-size: xx-small; margin-top: 2px; margin-bottom: 3px;">Automatische Aktuallisierung alle 60s</p>',
|
||
|
NULL,
|
||
|
'all',
|
||
|
DATE '1900-01-01',
|
||
|
DATE '3000-01-01'
|
||
|
);
|
||
|
|