Closed 7yl4r closed 9 years ago
Note: we may be able to use the bottle tpl files if we add a client-side templating solution. Here's a comparison of options.
Fixed issue with latest merge
The majority was fixed, but the success tile and other small things like that may need to be implemented in the new data structure as well.
This is resolved by the addition of a 'notify' protocol over websockets, which will toggle limitless prompts through jQuery
The html for the "tiles" and other items which may get sent to the client more than once (like the purchase success tile) should be stored in a js module and then used.
Right now: python sends full html generated from the tpl over websockets every time. Thus, lots of wasted communications sending the same thing repeatedly.
Better: python sends reference keyword over websockets, client puts together the html and displays it.