Commit Graph

11 Commits

Author SHA1 Message Date
Leshana
f508841fff Refactor common template HTML for atmospheric scan into its own file.
As a demonstration of the partials inclusion feature, the HTML for the atmospheric scan screen (which was nearly identical between PDAs and Communicators) was moved into a separate file and then transcluded into both pda.tmpl and communicator.tmpl
Also added a README.dm with the very basics of nanoui and template transclusion, and fixed comments in nano_state.js
2018-04-27 14:42:42 -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
SinTwo
a87c8de3fd HTML5 and CSS3 (#1677)
* Updates to HTML5 and CSS3

* UI Tweaks and Fixes
2016-05-19 14:28:38 -04:00
Mark Aherne
5fd0d2d16e Changed map dragging functionality to use jQuery UI. This is an attempt to fix dragging on WINE. 2014-07-23 16:46:37 +01:00
Mark Aherne
8396b76b83 Improved Crew Monitoring Console map.
Added icons for use with map.
2014-07-19 02:44:13 +01: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
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