aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/console.js
Commit message (Collapse)AuthorAgeFilesLines
* webui: Some JavaScript cleanups and refactorsAaron LI2016-11-281-48/+43
| | | | | Credit: "JavaScript: The Good Parts" by Douglas Crockford
* webui: Use new ".getJSONUncached()" instead of ".getJSON()"Aaron LI2016-11-241-1/+1
|
* webui: products: Implement HPX conversion functionAaron LI2016-11-221-4/+4
|
* webui: Update against the improved "showModal()"Aaron LI2016-11-221-5/+5
|
* webui: websocket.py: Also push current task status when connectedAaron LI2016-11-211-0/+2
|
* webui: Rename jQuery ".fail()" callback argument "error" to "jqxhr"Aaron LI2016-11-181-6/+6
|
* webui: console.js: Disable the "Start" button when task startedAaron LI2016-11-181-0/+7
|
* configs: Update logging message formatAaron LI2016-11-171-2/+8
| | | | | * Also update the logging messages styles for the Web UI * Show a modal notification when the task finished.
* 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.