Commit Graph

13 Commits

Author SHA1 Message Date
Mloc-Argent
61839da570 testing fix for nui resources
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-10-13 20:01:54 +01:00
Mark Aherne
8b7f73bbfb Remove testing debug messages from nanomanager. 2014-07-12 00:39:57 +01:00
Mark Aherne
7e7e6cd8ac Continued work in progress on a major revision of the NanoUI templating system. 2014-07-11 10:48:42 +01:00
Mark Aherne
9276e9f707 This change to nanomanager optimizes the sending of nanoui assets to clients.
The flist (file list) proc was being used multiple times for each client user logon, this now only occurs once when the server starts.
Hopefully this fixes the nanoui assets issue which occurs during peak usage.
2014-07-03 22:55:54 +01:00
Mark Aherne (Faerdan)
c9191faa14 NanoUI Caching and SMES tweaks
* Made NanoUI caching code neater, added check for directories (which are ignored).
* Moved SET to between MIN and MAX on SMES UI.
2014-01-12 20:07:48 +00:00
Mark Aherne (Faerdan)
214fbeee99 NanoUI assets are now sent to the client automatically.
* 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.
2014-01-12 15:30:25 +00:00
Mark Aherne (Faerdan)
8e041670e7 Minor fix for NanoUI
* I was passing src instead of src_object in try_update_ui, this is fixed now.
* Changed checks to use the isnul procl, just to be sure.
2014-01-09 01:06:24 +00:00
Mark Aherne (Faerdan)
f25052fd4c NanoUI updates.
* 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).
2014-01-06 02:49:25 +00:00
Mark Aherne (Faerdan)
fa085705ab Updated NanoUI's nanomanager with update_user_uis and close_user_uis procs. These procs allow you to update and close uis for a specific user and optionally a specific src_object and/or ui_key.
An example of where the update_user_uis proc will be used is in updating any open PDA UIs for users when sending or receiving messages.

Added a link to the new NanoUI wiki page in the TemplatesGuide.txt file.
2014-01-04 02:09:35 +00:00
Mark Aherne (Faerdan)
a99a7c3dca Fixes/tweaks for NanoUI. These were made by TG coders, so I'm just adding them here.
* Transfer open ui instances when transferring a user to another mob
* Runtime fixes in the NanoUI Topic and nanoclose client verb
* Return focus to the map when a NanoUI is opened
2014-01-03 23:58:44 +00:00
Mark Aherne (Faerdan)
901a3dae8e Documented Nano code. 2013-09-09 22:32:59 +01:00
Mark Aherne (Faerdan)
ccaa451313 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:13:25 +01:00
Mark Aherne (Faerdan)
5f4cc7e108 Nano UI Framework
------------------------------------------------------------
nanoui - For creating and updating browser UIs
manomanager - For managing nanouis
Includes the "D:\Development\SS13-TG\code\game\machinery\cryo.dm" rebuilt using Nano.
Templates are stored in /nano/templates

This code is in development, it's also not commented yet.
2013-08-19 22:52:23 +01:00