Commit Graph

7 Commits

Author SHA1 Message Date
Mark Aherne (Faerdan)
53b2d2e928 NanoUI Update
* Refactored the code used in the ui_interact procs to be neater and easy to understand (also less code duplication). Updated all existing ui_interact procs to match.
* Rebuilt (and simplified) template rendering system, removed data-linking (the use of carets "^" in templates) and the need to send the full data structure every update (just send whatever you want now, it's fully dynamic). Updated all existing templates to match.
* Restructured HTML and JavaScript to increase compatibility with IE (this fixes "blank uis" for many users).
* Increased the number of error messages to help diagnose issues.
* Multiple performance improvements, especially when updating an open ui.
* Added the ability to update a ui for an individual user (nanomanager update_user_uis proc, used for things like realtime messages in Bay's PDA).
* Added a "Loading..." notice to the UI. If this stays then your JavaScript isn't enabled.
* Removed redundant wip apc.tmpl file.
* Added a link to the online docs in TemplatesGuide.txt.
2014-01-09 01:02:13 +00:00
YotaXP
d6b3b3a8bd Removes the redundant server side validation that restricted cyborg access to APCs.
Fixes the graphical bug that occurs when an AI mouses over the interface lock buttons.

Removes some remnants of the previous UI implementation.
2013-11-25 20:37:37 -05:00
YotaXP
139d045b0c Implements NanoUI for APCs, and make a couple other tweaks to the NanoUI framework.
AI can also toggle the APC lock for human access.
2013-11-09 22:02:06 -05:00
Mark Aherne (Faerdan)
a8f764099e Fixed client side UI failure caused by apostrophes in text.
Updated the Chem Dispenser UI with an Energy bar.

UIs attached to the Chem Dispenser will now update on recharge(), recharge now recharges 1 every 15 ticks instead of 2 every 30 (to make it feel more fluid).
2013-09-01 00:50:26 +01:00
Mark Aherne (Faerdan)
aa0a9bd2e3 Added Nano UI Chemistry Dispenser.
Fixed UI update issue with non auto-updating UIs.

Misc tweaks for CSS and JS for UI styling.
2013-08-28 17:12:47 +01:00
Mark Aherne (Faerdan)
4f31591fd3 Nano UI Framework updates.
* Nano UIs now "work" with AI and Cyborgs.
* Visibility updates (now uses line of sight).
* Added displayBar() template helper for displaying progress/health bars.
* Added new health bars to Nano UI Cryo.
* Added Eject Occupant to Nano UI Cryo.
2013-08-26 21:36:47 +01:00
Mark Aherne (Faerdan)
05da330271 Fixed issue with Nano UI windows taking seconds to load.
Removed user << browse_rsc() entries as they caused the delay. New assets (stylesheets, scripts, templates and images) have to be added to the client's send_resources proc or they will not exist on the client.
2013-08-21 01:49:45 +02:00