mirror of
https://github.com/openwrt/luci.git
synced 2026-10-13 20:07:26 +04:00
master
Until now only form.Flag supported the tooltip and tooltipicon options, and the tooltip was rendered inside the ui.Checkbox widget. Move both options to form.Value so that they are available for all option types, e.g. Value, ListValue, DynamicList or TextValue. The tooltip is rendered by the new renderTooltip() and added by renderFrame(). form.Flag inherits it and no longer passes the options to ui.Checkbox. The tooltip can be a string (formatted with the section ID), a function returning a string, or an array. The items of an array are separated by line breaks, which allows multi-line tooltips without embedding HTML. To always show the tooltip icon behind the widget, independent of whether the widget frame is a block or an inline element (e.g. text inputs, textareas and selects use plain block frames), the widget and the icon are wrapped into an inline-flex container if a tooltip is set. Options without a tooltip are not changed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Florian Eckert <fe@dev.tdt.de>
…
…
OpenWrt luci feed
Description
This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.
Usage
This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:
src-git luci https://github.com/openwrt/luci.git
To install all its package definitions, run:
./scripts/feeds update luci
./scripts/feeds install -a -p luci
API Reference
You can browse the generated API documentation directly on Github.
Use ucode and rpcd for server side operations.
Development
Documentation for developing and extending LuCI can be found in the Wiki
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Translation status
Use Weblate instead of direct editing of the *.po files.
Description
LuCI - OpenWrt Configuration Interface
589 MiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
70.8%
C
11.9%
Lua
5.6%
CSS
3.8%
UnrealScript
3.1%
Other
4.7%