aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fg21sim-webui
Commit message (Collapse)AuthorAgeFilesLines
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Update bin scripts to use global "CONFIGS"Aaron LI2017-07-231-3/+3
| | | | | | Also update copyright year/email and minor cleanups Signed-off-by: Aaron LI <aly@aaronly.me>
* webui: WSHandler: remove "check_origin()" and "hosts_allowed" optionAaron LI2016-11-231-16/+0
|
* webui: Move "password" option definition to "login.py"Aaron LI2016-11-171-5/+2
| | | | | | | NOTE: By using the "tornado.options", each module can defines its own options, which are added to the global namespace. And the defined options can also be used by other modules.
* webui: To support password authenticationAaron LI2016-11-151-0/+3
| | | | | Move the "IndexHandler" to separate module located at the "handlers/" directory.
* bin/fg21sim-webui: Add options "host" to allow localhost access onlyAaron LI2016-11-151-5/+16
|
* webui: Replace "make_application()" with Application classAaron LI2016-11-141-2/+2
|
* webui: bin/fg21sim-webui: implement argument "--no-browser"Aaron LI2016-11-101-2/+8
| | | | | Now, by default, this executable will open the Web UI in a new browser tab, unless the "--no-browser" argument presents
* webui: Some minor updatesAaron LI2016-11-091-2/+0
|
* bin/fg21sim-webui: Use "tornado.options" instead of "argparse"Aaron LI2016-11-081-12/+34
| | | | | | | | | | | | * The "tornado.options" can be used in the *global scope*, therefore, the command line arguments can be stored in the options and then import the options in other modules if needed. * Add argument "--hosts-allowed", which specifies the hosts/network can access the Web UI (i.e., WebSocket) * Add argument "--no-browser", which controls whether to open the Web UI in a browser after startup. (TODO)
* bin: Update "log_stream" and "loglevel" handlingAaron LI2016-11-041-3/+4
| | | | | | * bin/fg21sim: Simplify the "log_stream" assignment * bin/fg21sim-webui: Also enable debug logging when turning on debug flag for the tornado; also update the docstring a little.
* webui: Add "bin/fg21sim-webui" to start the UI serverAaron LI2016-10-301-0/+51