Commit Graph

12 Commits

Author SHA1 Message Date
Leshana
d6603a7302 Combine all nanoui templates into a single resource bundle.
This reduces the number of assets needing to be sent on join by 150ish.
- Nanoui scripts modified to load templates in parallel instead of one at a time.
- Nanoui scripts modified to be willing to load from the resource bundle if available, falling back to ajax-loading the individual templates if absent.
2020-06-06 14:59:54 -04:00
Leshana
b60281e19a Revert "Nanoui now supports use of multiple templates (#5105)"
This reverts commit a2841ce9d6.
It turns out nanoui already supports multiple templates.
2018-04-27 11:36:03 -04:00
Atermonera
a2841ce9d6 Nanoui now supports use of multiple templates (#5105)
* Nanoui now supports use of multiple templates

* Removing debug code, indentation

* Indentation
2018-03-28 14:53:50 -05:00
SinTwo
eabefc538a Revert "Merge branch 'master' of https://github.com/PolarisSS13/Polaris into NanoGrade"
This reverts commit 6bb5409349, reversing
changes made to f6a83d5ee0.
2016-08-15 12:58:00 -04:00
SinTwo
4fa126b7e7 a whole lot of nanoui upgrades 2016-06-24 00:43:16 -04:00
Mark Aherne
f09b24ae17 Added a station map to NanoUI, this map can be used by any NanoUI to display live/dynamic elements on a map.
The map functionality has been added to the crew monitor console to show active crew trackers, this is working but needs refinement (icons etc.).
2014-07-19 00:31:28 +01:00
Mark Aherne
ce651b390c Fixed an error message for NanoUI templates which fail to compile. 2014-07-16 15:40:04 +01:00
Mark Aherne
34516bded4 Layout update for NanoUI.
The layout HTML (which was mainly used for the title bar) is no longer hard coded in nanoui.dm.
Layouts are now dynamic and each consists of a template and stylesheet (CSS) file.
Multiple layouts can exist, they can be switched to using the set_layout_key proc. See the proc comments for more info.
Added "default" and "basic" layouts, "basic" has no title bar.
Moved image source assets (GIMP and Flash files) into a separate source folder so that they are not sent to the client.
2014-07-15 01:08:06 +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
728ba52af0 Work in progress on a major revision of the NanoUI templating system. 2014-07-07 10:03:13 +01:00
Mark Aherne
1b8d865061 Work in progress on a major revision of the NanoUI templating system. 2014-07-07 02:05:39 +01:00
Mark Aherne
4376465f5d Work in progress on a major revision of the NanoUI templating system. 2014-07-06 23:02:09 +01:00