@@ -543,6 +543,10 @@ function InputStandard($type, $status_arr = "")
543543 $ out .= substr ($ soap_SVG , 0 , -6 ); // SVG from the SOAP
544544 //$out.= '<svg id="notme">';
545545 $ out .= '<defs><filter id="css_brightness"><feComponentTransfer id="css_brightness"><feFuncR type="linear" slope="0.5"/><feFuncG type="linear" slope="0.5"/><feFuncB type="linear" slope="0.5"/></feComponentTransfer></filter></defs> ' ;
546+
547+ //$out.= '<defs><filter id="css_test"><feComponentTransfer id="css_test"><feFuncR type="linear" slope="0.5"/><feFuncG type="linear" slope="0.5"/><feFuncB type="linear" slope="0.5"/></feComponentTransfer></filter></defs>';
548+
549+
546550 if (is_array ($ ParameterArray ['AWT ' ]))
547551 foreach ($ ParameterArray ['AWT ' ] as $ id => $ type_arr )
548552 {
@@ -609,7 +613,7 @@ function InputStandard($type, $status_arr = "")
609613
610614 $ out .= '<div class="ui-bar"> ' ;
611615 $ out .= '<ul data-role="listview" data-divider-theme="b"> ' ; // as long as it is without Area show 50% alpha
612- $ out .= '<li data-role="list-divider" data-theme="b" style="padding: 15px ;"> ' ;
616+ $ out .= '<li data-role="list-divider" data-theme="b" style="padding: 25px ;"> ' ;
613617 if (empty ($ plugin ->name ))
614618 $ out .= '<a id="submit_cap" href="" data-role="button" class="ui-btn ui-shadow ui-corner-all ui-btn-a" style="float: right; background-color: #065c00;color: white;text-shadow: none;border: 1px solid black;"> ' ;
615619 else
@@ -657,9 +661,13 @@ function InputStandard($type, $status_arr = "")
657661 $ out .= '</div> ' ;
658662 $ out .= '</div> ' ;
659663
664+ $ out .= '<div id="symbol" style="display:none;"><img src="icon.png" alt="symbol" class="symbol" style="height:30px;position:relative;margin-top:-55px;margin-left:5px;"></img></div> ' ;
665+
666+ $ out .= '<div id="timer" style="display:none;position:relative;top:-67px;left:41px;color:white;font-size:16px;font-family:monospace;text-decoration:none;"></div> ' ;
667+
660668 $ out .= '<div data-role="popup" id="CAP_Send_popupDialog" data-overlay-theme="a" data-theme="a" data-dismissible="false" style="max-width:400px;"> ' ;
661669 $ out .= '<div data-role="header" id="CAP_Send_popupDialog_header" data-theme="a"> ' ;
662- $ out .= '<h2> ' .$ langs ->trans ('SendCaps ' ).'</h2> ' ;
670+ $ out .= '<h2> ' .$ langs ->trans ('Send Caps ' ).'</h2> ' ;
663671 $ out .= '</div> ' ;
664672 $ out .= '<div role="main" id="CAP_Send_popupDialog_main" class="ui-content"> ' ;
665673 $ out .= $ langs ->trans ('Send Caps to Meteoalarm? ' );
@@ -679,13 +687,18 @@ function InputStandard($type, $status_arr = "")
679687 $ out .= '</div> ' ;
680688 $ out .= '</div> ' ;
681689
690+
691+
692+
693+
682694 $ out .= '<div data-role="popup" id="CAP_SOAP_popupDialog" data-overlay-theme="a" data-theme="a" data-dismissible="true" style="max-width:400px;"> ' ;
683695 $ out .= '<a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-left">Close</a> ' ;
684696 $ out .= '<div data-role="header" id="CAP_SOAP_popupDialog_header" data-theme="a"> ' ;
685697 if (!empty ($ plugin ->name )) $ out .= '<h2> ' .$ langs ->trans ('ProducedCaps ' ).'</h2> ' ;
686- else $ out .= '<h2> ' .$ langs ->trans ('SOAPCaps ' ).'</h2> ' ;
698+ else $ out .= '<h2> ' .$ langs ->trans ('Success! ' ).'</h2> ' ;
687699 $ out .= '</div> ' ;
688700 $ out .= '<div role="main" id="CAP_SOAP_popupDialog_main" class="ui-content" style="max-height: 500px; overflow: auto;"> ' ;
701+ $ out .= '<p class="success_message" style="text-align:center;border:5px solid green;padding:10px 10px 10px 10px;font-size:18px;">Your warnings were successfully sent to Meteoalarm</p> ' ;
689702 $ out .= '<ul data-role="listview" data-inset="true" data-shadow="false" id="SOAPUL"> ' ;
690703 $ out .= '</ul> ' ;
691704 $ out .= '</div> ' ;
@@ -701,13 +714,17 @@ function InputStandard($type, $status_arr = "")
701714 $ out .= '</div> ' ;
702715 $ out .= '</div> ' ;
703716
717+ /*
704718 $out.= '<div data-role="popup" id="MeteoalarmCalc_popupDialog" data-overlay-theme="a" data-theme="a" data-dismissible="false" style="max-width:400px;">';
705719 $out.= '<div data-role="header" id="MeteoalarmCalc_popupDialog_header" data-theme="a">';
706720 $out.= '<h2 style="color: yellow;">'.$langs->trans('Meteoalarm Soap').'</h2>';
707721 $out.= '</div>';
722+ */
723+ /*
708724 $out.= '<div role="main" id="MeteoalarmCalc_popupDialog_main" class="ui-content" style="max-height: 500px; overflow: auto;">';
709725 $out.= $langs->trans('MeteoalarmCalc');
710726 $out.= '</div>';
727+ */
711728 $ out .= '</div> ' ;
712729 break ;
713730
@@ -1575,7 +1592,7 @@ function InputStandard($type, $status_arr = "")
15751592
15761593 if ((empty ($ configuration ->conf ["webservice_aktive " ]) || $ configuration ->conf ["webservice_aktive " ] == -1 ) && $ configuration ->conf ["webservice " ]["service_on " ] == 1 && $ this ->login_id == 1 )
15771594 {
1578- $ out .= '
1595+ $ out .= '
15791596 <script>
15801597 $( document ).ready(function(){
15811598 $(".Login input").on("keyup",function(event){
@@ -1598,7 +1615,6 @@ function InputStandard($type, $status_arr = "")
15981615 $( "#Login-alert" ).popup();
15991616 setTimeout( function(){ $( "#Login-alert" ).popup("open"); }, 500 );
16001617 });
1601-
16021618 </script>
16031619 ' ;
16041620 }
0 commit comments