This commit is contained in:
Milan Toman
2018-07-14 23:21:58 +02:00
parent e509ce31ef
commit 98f5ac6000

View File

@@ -1,10 +1,12 @@
# The GUI. Web based. Python.
# The GUI. Web based. Python
This folder should contain all the files related to displaying and manipulating data via the UI.
That means, everything related to the connections to the outside.
# UPDATE: a complete rewrite of current to accommodate all new developers.
# UPDATE: a complete rewrite
By this I mean, we'll be slowly going through the whole code class by class to build a better world.
## Server
I'd say cherrypy. It is lightweight and relatively simple to use. Pure python, of course
@@ -13,7 +15,14 @@ Python calls to Influx. NOT using the influxdb library might be a good idea. We'
Currently the library is being used.
## HTML
Bootstrap 3, default admin / dasboard theme
Bootstrap 3, default admin / dashboard theme
## JS graphs
[Dygraphs](http://dygraphs.com/)
[Dygraphs](http://dygraphs.com/) - so far the most flexible shit out there.
### TODO that we know of
- Absolute web path needs to be defined throughout the project (i.e. the site
path).
- Graphs share JS variables in the ./static/js files, separate them, so
each graph does get it's own time period and does not set it for the other
graphs as well.