Age | Commit message (Collapse) | Author |
|
Move classes required for Lua runtime support into a new `luci-lua-runtime`
package. Also replace the `luci.http` and `luci.util` classes in
`luci-lib-base` with stubbed versions interacting with the ucode based
runtime environment.
Finally merge `luci-base-ucode` into the remainders of `luci-base`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
With legacy applications, the common page actions "Save and Apply" are
not displayed correctly, so that they are not aligned on the right as
with javascript applications. To fix the alignment, the control-group
css class is removed.
This was determined with the application 'luci-app-nft-qos'
with the theme 'luci-theme-bootstrap'.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Fixes: #5705
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Update legacy CBI markup to use actual table, tr, th and td elements
instead of using div element corresponding table classes.
Fixes compatibility with OpenWrt 2020 theme.
Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
|
|
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
|
|
The legend HTML element is allowed only as first element in fieldset, so
use h3 instead, which is rendered the same within themes.
Fixed #3149.
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Since template scopes aren't shared we cannot pass the writable state from
the map templates to the page footer.
Fixes: #3937
Fixes: ffd627f2a ("luci-compat: disable legacy cbi forms on insufficient ACLs")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/issues/3917
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Use .btn CSS class for page action buttons
- Use .control-group class for page action div
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-compat: network.lua: fix typo
|
|
Fixes: 72247ee09
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
luci-base: network.lua: bridge information request functions fixes
|
|
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
|
|
This commit fixes these bugs:
1. Functions interface.bridge_id() and interface.bridge_stp() uses self.br field
that is not exists at all
2. Function interface.is_bridgeport() return true only for bridge interface, not for
bridge port interfaces.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
The `data-type` attribute is used to bind datatype validators to a widget
while some templates used the same attribute to denote the name of the
underlying widget.
Change the `data-type` attributes referring to the widget name to
`data-widget` in order to stop the JS token error spam.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/issues/3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|