54 lines
1.2 KiB
HTML
54 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="../../css/sight.css">
|
|
<link rel="stylesheet" type="text/css" href="css/template.css">
|
|
|
|
<script src="template.js"></script>
|
|
<script src="../../js/jquery-3.6.4.min.js"></script>
|
|
<script src="qrc:///qtwebchannel/qwebchannel.js"></script>
|
|
<script>
|
|
var init_sight={
|
|
'width' : 300,
|
|
'height' : 300
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
<script src="../../js/sight.js"></script>
|
|
<script>
|
|
$(document).ready(function(){
|
|
/*addData("name", "Balazs", true);
|
|
getData("name");*/
|
|
});
|
|
|
|
function message(label, data) {
|
|
if(label === "price_change") {
|
|
sendMessage("changed_now")
|
|
return "I update my price - "+label+"; DATA - "+data
|
|
}
|
|
|
|
if(label === "test") {
|
|
return "MAIN GOT TEST MESSAGE"+"; DATA - "+data
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<main id="sight">
|
|
<div id="stitlebar">
|
|
<div id="stitle">Main Template</div>
|
|
<div id="sclose"></div>
|
|
<div id="stoggled"></div>
|
|
<div id="sminimize"></div>
|
|
</div>
|
|
<div id="content">
|
|
<div scontent="main"></div>
|
|
<div scontent="main_text"></div>
|
|
</div>
|
|
<div id="sresize"></div>
|
|
</main>
|
|
</body>
|
|
</html>
|