* Made NanoUI caching code neater, added check for directories (which are ignored).
* Moved SET to between MIN and MAX on SMES UI.
Conflicts:
code/modules/nano/nanomanager.dm
* NanoUI now finds and sends it's assets to the client (css, images, javascript and templates).
Part of my effort to make creating NanoUIs as simple as possible. This removes the need to add new NanoUI assets (such as templates) to the client send_resources proc.
Conflicts:
code/modules/client/client procs.dm
code/modules/nano/nanomanager.dm
* Moved the receiveUpdateData JavaScript into the head so that it's loaded first.
This is to prevent an error which occurs if an update is recieved from the server before the UI is fully loaded.
* Restructured HTML in an attempt to fix the "blank UI" issue.
* Added a crap ton of debugging messages.
* Added a loading message to the UI.
Conflicts:
code/modules/nano/nanoui.dm
nano/js/nano_update.js
* Simplified the code used in ui_interact procs and updated all current uses.
* Removed ununused jsviews JavaScript code (replaced it with vanilla jsrender).
* Added a message to the UI which shows if JavaScript is disabled (people with JavaScript disabled previously got blank UIs).
Conflicts:
code/game/objects/items/devices/PDA/PDA.dm
code/game/objects/items/devices/uplinks.dm
code/modules/reagents/Chemistry-Machinery.dm
nano/css/shared.css
as you don't need to provide the full data structure up-front, part of an effort to make NanoUI more accessible.
I have removed the carets (^) from all templates as they are not used any more.
For safety I moved the src_object and user checks from the master controller to the nanoui process proc.
Conflicts:
code/game/objects/items/devices/PDA/PDA.dm
nano/js/libraries/2-jsviews.js
nano/templates/chem_dispenser.tmpl
nano/templates/telescience_console.tmpl