summaryrefslogtreecommitdiff
path: root/luci2/htdocs
Commit message (Collapse)AuthorAgeFilesLines
* luci2: add CSS for grid views + mobile improvementsJo-Philipp Wich2015-02-131-2/+120
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: convert status overview to grid and hlist widgetsJo-Philipp Wich2015-02-131-95/+104
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: convert route config to GridSectionJo-Philipp Wich2015-02-131-7/+12
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.wireless: support condensed output in formatEncryption()Jo-Philipp Wich2015-02-131-3/+9
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.wireless: fix WDS interface status in getWirelessStatus()Jo-Philipp Wich2015-02-131-1/+13
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.wireless: add getPhyName() rpc callJo-Philipp Wich2015-02-131-0/+7
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.cbi: add GridSectionJo-Philipp Wich2015-02-131-0/+129
| | | | | | | | | The GridSection widget is equivalent to the TableSection one but using the bootstrap column layout for rendering. The table-like view also degrades to a list-style view on tiny viewports, making it useful to present tabular configuration (e.g. routes) to mobile clients. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.ui: add grid and hlist widgetsJo-Philipp Wich2015-02-131-0/+235
| | | | | | | | | | luci2.ui.grid is a table-like structure composed of bootstrap columns suitable for mobile viewports. luci2.ui.hlist is a pipe separated value list which only allows wrapping outside of the value pairs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.ui: add icon() helper functionJo-Philipp Wich2015-02-131-0/+20
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.ui: hide mobile dropdown menu when changing viewsJo-Philipp Wich2015-02-131-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.uci: don't allow set() with empty string valuesJo-Philipp Wich2015-02-131-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: refresh views after modular reworkJo-Philipp Wich2015-01-074-13/+13
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2.ui: properly hide alert message in initial stateJo-Philipp Wich2015-01-071-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: fix protocol modules after modular reworkJo-Philipp Wich2015-01-078-19/+20
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: split into submodulesJo-Philipp Wich2015-01-0511-7028/+7067
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: implement Class.require() and Class.instantiate()Jo-Philipp Wich2015-01-051-0/+49
| | | | | | The two functions allow dynamic loading of additional components. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: polyfill window.location.originJo-Philipp Wich2015-01-051-0/+7
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: early wireless configurationRafał Miłecki2014-07-062-0/+90
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* luci2: UCIContext: add: respect "name" if passedRafał Miłecki2014-06-301-1/+1
| | | | | | | This allows creating UCI entries with a desired name, e.g. config interface 'guestlan' Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* luci2: fix undefined ifname exception when processing wireless status with ↵Jo-Philipp Wich2014-06-131-1/+1
| | | | | | disabled vifs Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: nested section support and initial code refactoringJo-Philipp Wich2014-05-306-705/+766
| | | | | | | Implement support for nested CBI sections and change the internal function naming in luci2.js for better clarity. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci2: whitespace fixJo-Philipp Wich2014-04-131-1/+0
|
* luci2: make sort / remove column in L.cbi.TableSection as narrow as possibleJo-Philipp Wich2014-04-131-0/+1
|
* support custom event handlers for L.cbi.DeviceList widgetJo-Philipp Wich2014-04-131-2/+2
|
* luci2: support placeholder attribute for L.cbi.DummyValue widgetsJo-Philipp Wich2014-04-131-1/+1
|
* luci2: support custom section ordering in L.cbi.TypedSection and ↵Jo-Philipp Wich2014-04-131-0/+7
| | | | L.cbi.TableSection
* luci2: support object comparisations in L.cbi.AbstractValue.changed()Jo-Philipp Wich2014-04-131-1/+13
|
* luci2: rework datatype validators to use new global parseIPv4(), parseIPv6() ↵Jo-Philipp Wich2014-04-131-56/+58
| | | | and isNetmask() helpers
* luci2: add L.NetworkModel.Interface.renderBadge() and use it in ↵Jo-Philipp Wich2014-04-131-17/+27
| | | | L.cbi.NetworkList widget
* luci2: add get_first(), set_first() and unset_first() helper to L.UCIContextJo-Philipp Wich2014-04-131-0/+29
|
* luci2: add L.toColor(), L.parseIPv4(), L.parseIPv6() and L.isNetmask() helperJo-Philipp Wich2014-04-131-0/+146
|
* luci2: revert uci changes when closing cbi.Model dialogJo-Philipp Wich2014-04-131-2/+9
|
* luci2: fix save functionality on Map() objects after 1df7615Jo-Philipp Wich2014-04-131-1/+3
|
* luci2: always load 'none' protocol explicitely since it serves as fallback ↵Jo-Philipp Wich2014-04-131-1/+3
| | | | for unknown protos
* luci2: generalize LuCI2.cbi event handling, rework handling of created ↵Jo-Philipp Wich2014-02-061-59/+205
| | | | sections in LuCI2.UCIContext
* luci2: add network protocol support extensionsJo-Philipp Wich2014-02-018-0/+471
|
* luci2: rename internal '_luci2' instance reference to 'L' in order to align ↵Jo-Philipp Wich2014-02-011-415/+415
| | | | the code style with views
* luci2: move most RPC proxy function declarations into the views using them ↵Jo-Philipp Wich2014-02-0118-1619/+1725
| | | | to reduce the size of the core luci2.js library
* luci2: Initial network interface configuration viewJo-Philipp Wich2014-02-012-0/+362
|
* luci2: update CSSJo-Philipp Wich2014-02-011-44/+94
|
* luci2: Hide empty tabs when rendering cbi mapsJo-Philipp Wich2014-02-011-0/+3
|
* luci2: Implement LuCI2.cbi.DeviceList widgetJo-Philipp Wich2014-02-011-0/+162
|
* luci2: Do not produce uneeded anonymous arrays in ↵Jo-Philipp Wich2014-02-011-1/+1
| | | | LuCI2.cbi.TypedSection.sections()
* luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markupJo-Philipp Wich2014-02-011-1/+1
|
* luci2: Add missing CSS classes to LuCI2.cbi.ComboBox widget, fix attaching ↵Jo-Philipp Wich2014-02-011-2/+7
| | | | of event handlers
* luci2: Properly handle empty values in ListValue widgetsJo-Philipp Wich2014-02-011-7/+12
|
* luci2: Introduce 'add' option to LuCI2.cbi.AbstractValue.depends() to ↵Jo-Philipp Wich2014-02-011-2/+6
| | | | support incrementally adding dependencies
* luci2: add LuCI2.cbi.AbstractValue.on() for attaching events to widgets, ↵Jo-Philipp Wich2014-01-311-21/+61
| | | | various form validation fixes
* luci2: implement LuCI2.cbi.Modal widgetJo-Philipp Wich2014-01-311-12/+66
|
* luci2: add primitive initial support for applying uci changesJo-Philipp Wich2014-01-311-13/+16
|