Commit Graph

8 Commits (6250541e228ae80884ab2a64e5536de5aa38e16b)

Author SHA1 Message Date
Balazs Birtalan 6250541e22 The data-type is now data-page and everywhere where "type" was given as named by "page" in the code.
New function is available from the javascript is the window.sight.system() (return: Linux, Windows, Darwin) return back with that system type where the app runs.
2023-10-27 14:14:49 +01:00
Balazs Birtalan 976fee0004 They can send message to the specific sight using the window.sight.message 2nd argument function. There is a new function called sendMessage() which make more simple to send message.
1st argument of the sendMessage is a label.
2nd argument of the sendMessage is a sight ids array if it is empty [] then get everyone.
3rd argument is the data (javascript dict)
2023-10-27 09:58:33 +01:00
Balazs Birtalan 617bbe47cc They can send message to each other using the window.sight.message function. It will run "runJavaScript" a "message()" function from the every sights which run and their executes if it needs. 2023-10-26 19:47:39 +01:00
Balazs Birtalan 346c22193d Three sight running mode defined and redefined. Now it has unique, auto and normal running mode. 2023-10-26 16:58:46 +01:00
Balazs Birtalan 912f974e76 The load content which was worked by vanilla now changed back to jQuery, the javascript ajax solution cant execute the javascripts somewhy. 2023-10-26 15:14:19 +01:00
Balazs Birtalan ffa1edc3e3 The s_content removed from the template.js and now i use scontent attribute instead of the previous version. It is more clear.
The "load" jquery is replaced for javascript (vanilla version) in the sight.js (inside a new function called load()).
2023-10-26 11:27:01 +01:00
Balazs Birtalan 1dc140b1b7 Test From PyCharm 2023-10-26 09:30:47 +01:00
Balazs Birtalan 997d9e87c5 First Commit
Signed-off-by: balazs <contact@balazsbirtalan.com>
2023-05-17 11:16:32 +01:00