Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | webui: main.js: Prevent form submitting on "Enter" press | Aaron LI | 2016-11-24 | 1 | -0/+9 |
| | |||||
* | webui: main.js: Extend "showModal()" with "title" and "contents" | Aaron LI | 2016-11-22 | 1 | -4/+15 |
| | | | | | * Change original "message" attribute to "title" * Add new attribute "contents" which allow multiple paragraphs | ||||
* | webui: Move several generic functions from "configs.js" to "main.js" | Aaron LI | 2016-11-22 | 1 | -0/+46 |
| | |||||
* | webui: main.js: Extend jQuery with ".disable()" | Aaron LI | 2016-11-18 | 1 | -1/+16 |
| | |||||
* | webui: Redirect to login page if not authenticated on POST request | Aaron LI | 2016-11-18 | 1 | -5/+13 |
| | | | | | | * Remove the authentication requirement on GET operation * "main.js": Redirect to the login page if POST response 403 forbidden * "main.js": Use global AJAX events handling instead of `$.ajaxSetup()` | ||||
* | webui: Fix a bug for "showModal()"; Cleanup ".onmessage()" | Aaron LI | 2016-11-17 | 1 | -1/+1 |
| | |||||
* | webui: Implement "showModal()" in "main.js" allowing use in others | Aaron LI | 2016-11-17 | 1 | -0/+55 |
| | |||||
* | webui: main.js: Refactor out the function "toggleBlock()" | Aaron LI | 2016-11-17 | 1 | -22/+20 |
| | |||||
* | webui: Support toggle the body/contents of sections | Aaron LI | 2016-11-17 | 1 | -0/+17 |
| | | | | | | The section header has class "heading" and a toggle control with class "toggle", which will toggle the display of the next block with the "body" class. | ||||
* | webui: Add panel toggle and allow expand/collapse its body | Aaron LI | 2016-11-17 | 1 | -0/+17 |
| | |||||
* | webui: main.js: Add "getCookie()" and "jQuery.postJSON()" functions | Aaron LI | 2016-11-16 | 1 | -0/+56 |
| | | | | | | | | * Add function "getCookie()": get the value of the specified key from the cookies; * Add jQuery extension ".postJSON()": wrapper for easier AJAX post, with the XSRF header and correct content type; * Also set the default "error" handle function for AJAX request. | ||||
* | webui: Rename "scroll_target()" to "scrollTarget()" and export it | Aaron LI | 2016-11-16 | 1 | -17/+16 |
| | |||||
* | webui: small misc changes | Aaron LI | 2016-11-07 | 1 | -0/+2 |
| | | | | | | * milligram.css: Remove the "sourceMappingURL" * main.js: Add "use strict"; * utils.py: Add a TODO task | ||||
* | webui: Add the main CSS and JavaScript | Aaron LI | 2016-11-01 | 1 | -0/+28 |
The js code still misses many necessary functions. |