5,838
edits
Line 553: | Line 553: | ||
#*Put simply, this allows in-place editing of web pages using bootstrap. | #*Put simply, this allows in-place editing of web pages using bootstrap. | ||
#*In MX it is used for the record editing screens where you adjust the extreme values. | #*In MX it is used for the record editing screens where you adjust the extreme values. | ||
The odd one out is Highstocks (that includes HighCharts) | |||
*This is loaded from a Contents Distribution Node (CDN), and that should ensure that the Charts in the admin interface are always drawn with the latest version available of this JavaScript based software. | |||
*This means that the Charts page in the admin interface will only work when there is an internet connection working to permit download of this software | |||
*If you need to view your admin interface where an internet connection is not available: | |||
Then you need to edit the interface file... | |||
<CMX_Folder>/Interface/charts.html | |||
Change lines 20,21 from | |||
<script src="https://code.highcharts.com/stock/8.0/h ... "></script> | |||
<script src="https://code.highcharts.com/themes/grid.js"></script> | |||
to | |||
<script src="webfiles/lib/highstock/js/highstock.js"></script> | |||
<script src="webfiles/lib/highstock/js/themes/grid.js"></script> | |||
==== Library software for your web server ==== | |||
The '''webfiles/lib''' folder includes a number of software library items that are needed for the standard web pages included in the MX distribution. | |||
#'''Highstock''' | |||
#*At the moment, as hinted in previous section, there is an old version of Highstocks included in the '''webfiles/lib''' folder. | |||
#*You are however advised to use the Highcharts CDN and load the file whenever it is needed from there. | |||
#*Alternatively, you could download from that site, the latest version, and remember to download again, whenever it is updated. | |||
#'''jQuery''' | |||
#*Again, there is an old version of jQuery included in the '''webfiles/lib''' folder. | |||
#*Again, you can choose to use the latest version froma suitable CDN. | |||
#*Alternatively, you can download the latest version from the jQuery site, and remember to download again, whenever it is updated. | |||
#'''SteelSeies''' | |||
#*MX uses a hacked version of the [[SteelSeries Gauges|steel series]] library described elsewhere for all the gauges (see dashboard and gauges tabs) in MX. | |||
== Operating a web site with uploads from MX engine == | == Operating a web site with uploads from MX engine == |
edits