aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/console.js
Commit message (Collapse)AuthorAgeFilesLines
* webui: console.js: Change to use AJAX instead of WebSocket messagesAaron LI2016-11-171-41/+64
| | | | Also support modal dialog for confirmation and operation results.
* webui: console.html: Remove extra modal "#console-invalid-configs"Aaron LI2016-11-171-1/+58
| | | | | * Implement "showModalConsole()" based on "showModal()" * Move binding function from "websocket.js" to "console.js"
* webui: Change log toggle icons opacity according to toggle statusAaron LI2016-11-151-0/+1
|
* webui: Add the foreground simulation task to ConsoleHandlerAaron LI2016-11-091-1/+12
| | | | | | | | | | * The original sleep test task "_task()" renamed to "_task_test()" * Also add the new "startServerTaskTest()" to trigger the "_task_test()" NOTE/XXX: The foregrounds simulation requires the configurations, which is currently obtained from "self.websocket.configs", which I think is a HACK. How to better solve this??
* webui: Allow to toggle and delete the logging messagesAaron LI2016-11-091-0/+46
|
* webui: Append server-pushed logging messages to the logging boxAaron LI2016-11-091-1/+25
| | | | | * Colorize the logging messages of different level with different colors * Also add a different icon for each message
* webui: Implement status updating functionAaron LI2016-11-091-0/+100
Add "updateTaskStatus()" to update the "#task-status" element. Also add function "getServerTaskStatus()" to get the task status from the server.