| 
									
										
										
										
											2023-05-17 10:16:15 +00:00
										 |  |  | <html> | 
					
						
							|  |  |  | 	<head> | 
					
						
							|  |  |  | 		<link rel="stylesheet" type="text/css" href="../../css/sight.css"> | 
					
						
							|  |  |  | 		<link rel="stylesheet" type="text/css" href="css/template.css"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<script src="../../js/jquery-3.6.4.min.js"></script> | 
					
						
							|  |  |  | 		<script src="qrc:///qtwebchannel/qwebchannel.js"></script> | 
					
						
							|  |  |  | 		<script src="../../js/sight.js"></script> | 
					
						
							|  |  |  | 		<script> | 
					
						
							|  |  |  | 			$(document).ready(function(){ | 
					
						
							|  |  |  | 				//getData("name", true); | 
					
						
							| 
									
										
										
										
											2023-10-27 08:58:33 +00:00
										 |  |  | 				sendMessage("price_change") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				dict = {} | 
					
						
							|  |  |  | 				dict["account_id"] = 10227; | 
					
						
							|  |  |  | 				dict["account_name"] = "Test Bank"; | 
					
						
							|  |  |  | 				dict["details"] = {}; | 
					
						
							|  |  |  | 				dict["details"]["phone"] = 123456789 | 
					
						
							|  |  |  | 				dict["details"]["place"] = "New York" | 
					
						
							|  |  |  | 				sendMessage("test", ["other","main"], dict) | 
					
						
							| 
									
										
										
										
											2023-05-17 10:16:15 +00:00
										 |  |  | 			}); | 
					
						
							| 
									
										
										
										
											2023-10-26 18:47:39 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-27 08:58:33 +00:00
										 |  |  | 			function message(label,data) { | 
					
						
							|  |  |  | 				if(label === "test") { | 
					
						
							|  |  |  | 					data_dict = JSON.parse(data) | 
					
						
							|  |  |  | 					return "DATA - "+data_dict["account_name"] + " - " + data_dict["details"]["place"] | 
					
						
							| 
									
										
										
										
											2023-10-26 18:47:39 +00:00
										 |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2023-05-17 10:16:15 +00:00
										 |  |  | 		</script> | 
					
						
							|  |  |  | 	</head> | 
					
						
							|  |  |  | 	<body> | 
					
						
							|  |  |  | 		<main id="sight"> | 
					
						
							|  |  |  | 			<div id="stitlebar"> | 
					
						
							|  |  |  | 				<div id="stitle">TITLE</div> | 
					
						
							|  |  |  | 				<div id="sclose"></div>  | 
					
						
							|  |  |  | 				<div id="stoggled"></div>  | 
					
						
							|  |  |  | 				<div id="sminimize"></div>  | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 			<div id="content"> | 
					
						
							|  |  |  | 				OTHER | 
					
						
							|  |  |  | 				<a href="main.html">Open the main inside this sight!</a> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 			<div id="sresize"></div> | 
					
						
							|  |  |  | 		</main> | 
					
						
							|  |  |  | 	</body> | 
					
						
							|  |  |  | </html> |