diff --git a/.gitattributes b/.gitattributes index 6d01dd4cc6449af31df9a422af376931b642f9ee..919bcf1b674763f4a7e40bccd9b6b4e56ef1964a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3903,6 +3903,7 @@ MAC/Navigator2/panels/Processes/TBBDriver.pnl -text MAC/Navigator2/panels/Reports/LOFAR_Query.pnl -text MAC/Navigator2/panels/Reports/LOFAR_Reports_main.pnl -text MAC/Navigator2/panels/Reports/LOFAR_System.pnl -text +MAC/Navigator2/panels/Reports/LOFAR_WebBasePanel.pnl -text MAC/Navigator2/panels/Settings/mail.pnl -text MAC/Navigator2/panels/Settings/mail.pnl.bak -text MAC/Navigator2/panels/Test/Event_Viewer.pnl -text diff --git a/MAC/Navigator2/panels/Reports/LOFAR_WebBasePanel.pnl b/MAC/Navigator2/panels/Reports/LOFAR_WebBasePanel.pnl new file mode 100644 index 0000000000000000000000000000000000000000..5a0c56f7ec44882e6c5b848f6b6ce34f50617430 --- /dev/null +++ b/MAC/Navigator2/panels/Reports/LOFAR_WebBasePanel.pnl @@ -0,0 +1,109 @@ +V 11 +1 +LANG:1 0 +PANEL,-1 -1 995 718 N "_3DFace" 0 +"main() +{ + // Initialise the Panel + navPanel_initPanel(\"fw_viewBox\"); + + reload(); +} + +// +// Callback for dpConnect to action point. +// If there is an action required this point will tell so +// +void doAction(string aDP, string anAction) { + LOG_DEBUG(\"LOFAR_Scheduler.pnl:doAction| Action required. found: \" + anAction); + // split action into essentials + dyn_string actionString; + if (!navFunct_splitAction(anAction,actionString)) { + return; + } + + LOG_DEBUG(\"LOFAR_Scheduler.pnl:doAction|found actionString: \" + actionString); + + // Reload + if (actionString[1] == \"Reload\") { + reload(); + } +} + +void reload() { + + + // do all actions + // set panel to ready + g_objectReady=true; + + + // trigger that the panel values are calculated and ready + navPanel_setEvent(\"LOFAR_Scheduler.pnl\",\"Update\"); +} +" 0 + E E E E 1 -1 -1 0 140 140 +""0 1 +E "#uses \"navPanel.ctl\" + +string baseDP=\"\"; +" 0 + 2 +"CBRef" "1" +"EClose" E +"" +DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 +LAYER, 0 +1 +LANG:1 0 +29 0 +"WebView_ewo1" +"" +1 0 0 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E + E E +0 0 0 0 0 0 +E E E +0 +1 +LANG:1 0 + +0 +1 +LANG:1 37 MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0 +0 0 0 1050 590 +11 WebView.ewo +0 +"main() +{ + this.load(\"http://www.astron.nl/lofar-schedule/schedule/schedule.php\"); +}" 0 +0 +LAYER, 1 +1 +LANG:1 0 +0 +LAYER, 2 +1 +LANG:1 0 +0 +LAYER, 3 +1 +LANG:1 0 +0 +LAYER, 4 +1 +LANG:1 0 +0 +LAYER, 5 +1 +LANG:1 0 +0 +LAYER, 6 +1 +LANG:1 0 +0 +LAYER, 7 +1 +LANG:1 0 +0 +0