Jo-Philipp Wich
a48a142599
luci-mod-admin-full: improve interface overview display
...
Remove the guessing of primary interfaces for now as we cannot yet properly
track parent / child interface relations.
Instead, add tooltips to the interface icons displaying detailed physical
layer information per netdev.
For dynamic or true alias interfaces (using "@" notation), skip the
reporting of MAC and traffic stats.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 16:23:19 +02:00
Jo-Philipp Wich
2787a52d6d
luci-theme-bootstrap: small style fix for link buttons
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 15:17:32 +02:00
Jo-Philipp Wich
f6ffc3d739
luci-mod-admin-full: fix wifi add and scan actions
...
Due to conversion to CBI, the inline forms are now nested and thus do not
work anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 13:14:24 +02:00
Jo-Philipp Wich
f29b2a2652
luci-base: update german translation
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 12:25:53 +02:00
Jo-Philipp Wich
642a95bf63
Merge pull request #1949 from Rixerx/master
...
luci-base: update Polish translation
2018-07-15 11:03:18 +02:00
Krystian Kozak
77b8aa50e0
luci-base: update Polish translation
...
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-07-14 21:41:53 +02:00
Jo-Philipp Wich
b38306dcee
luci-base: xhr: increase poll request timeout
...
Some status requests can take quite some time to finish, the LuCI DSL
status information in particular.
Since the polling loop code already takes care of not relaunching
requests which are already running, increase the per iteration timeout
to up to five times the poll interval.
This should be sufficient to let most operations complete.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 16:55:47 +02:00
Jo-Philipp Wich
053682c4c3
luci-theme-bootstrap: margin fix for multiple wifs on status overview
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 16:31:14 +02:00
Jo-Philipp Wich
98f4c3cf50
Merge pull request #1933 from Ansuel/hostname_upnp
...
luci-app-upnp: add hostname info
2018-07-13 14:50:28 +02:00
Jo-Philipp Wich
524ce90c4e
luci-base: resync base translations
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 14:24:27 +02:00
Jo-Philipp Wich
aef1c2fca0
luci-mod-admin-full: differentiate between disabled and not associated wireless
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 14:08:38 +02:00
Jo-Philipp Wich
4115f8cc56
luci-app-advanced-reboot: fix translation string
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 12:47:59 +02:00
Jo-Philipp Wich
4381a27ef0
luci-theme-material: table and button style fixes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 12:39:26 +02:00
Jo-Philipp Wich
58cee79869
luci-theme-openwrt: cleanup CSS
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:38:31 +02:00
Jo-Philipp Wich
887d0a6859
luci-theme-bootstrap: cleanup CSS
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:38:25 +02:00
Jo-Philipp Wich
4f0dfb6ab0
luci-mod-admin-full: tweak interface and wireless overview markup
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:37:53 +02:00
Jo-Philipp Wich
5722105007
luci-app-upnp: tweak table markup
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:37:28 +02:00
Jo-Philipp Wich
22e4a2420c
luci-base: tweak tblsection markup
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:37:08 +02:00
Jo-Philipp Wich
777ffa9487
luci-mod-admin-full: small wifi overview markup fix
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:58:11 +02:00
Jo-Philipp Wich
a0e5e8a9da
luci-theme-bootstrap: compress color names, fix table striping
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:57:20 +02:00
Jo-Philipp Wich
b7bf164fea
luci-mod-admin-full: produce valid JSON in status/realtime/connections_status
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:55:16 +02:00
Jo-Philipp Wich
401898a437
luci-proto-qmi: register further network error codes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:59 +02:00
Jo-Philipp Wich
5f2aa8d475
luci-proto-ncm: register further network error codes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:59 +02:00
Jo-Philipp Wich
80ed1af639
luci-proto-ipv6: register further network error codes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:59 +02:00
Jo-Philipp Wich
85bc16605d
luci-base: add icons for alias interfaces
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:59 +02:00
Jo-Philipp Wich
c4dca36795
luci-mod-admin-full: rework interface overview page
...
Convert interface enable, disable and delete actions to proper cbi
operations so that we can benefit from the apply/rollback workflow
when performing critical interface operations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
54c9a77bd3
luci-mod-admin-full: expose errors, description and up state in net status
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
94be4881a0
luci-base: add error reporting and basic support for dynamic interfaces
...
This allows exposing virtual ubus-based network interfaces in LuCI.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
be2b83c9f5
luci-mod-admin-full: reimplement wireless overview page as cbi model
...
This will offer apply/rollback workflow for tasks like deleting or shutting
down wireless networks.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
d4e52ca03b
luci-base: apply_widget: various fixes
...
- Fix button styles in failure message
- Pause XHR polling during apply/rollback sessions
- Throttle confirm requests to 1 request/second
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
674b090d34
luci-base: xhr.js: use JSON.parse() and pass request duration to callbacks
...
JSON.parse() is supported on all modern browsers and a far better
solution than the hakish and potentially dangerous eval().
Also calculate the duration of request and pass it as 3rd argument to the
callback function, this makes it easier to calculate request delays or
poll intervals in code using XHR.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Jo-Philipp Wich
0d96655f8b
luci-theme-openwrt: consolidate font sizes and button styles
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
Andrii Korzh
2fd794dbc3
luci-app-transmission: Allow user to define custom web interface
...
There are exists several custom web ui for transmission. Such as:
https://github.com/ronggang/transmission-web-control
https://github.com/Secretmapper/combustion
https://github.com/fcsonline/react-transmission
But for now there are no way to use custom ui without editing `init.d` script.
2018-07-11 13:34:14 +03:00
Jo-Philipp Wich
6f773999ac
luci-mod-admin-full: improve text contrast in realtime graphs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-11 08:07:23 +02:00
Hannu Nyman
6d5d1473c5
Merge pull request #1945 from stangri/luci-app-advanced-reboot
...
luci-app-advanced-reboot: support for Linksys WRT32X
2018-07-10 22:56:57 +03:00
Stan Grishin
3c332e4564
luci-app-advanced-reboot: support for Linksys WRT32X
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-10 12:33:23 -07:00
Dirk Brenken
36b6d98747
Merge pull request #1937 from LuKePicci/luci-proto-ppp_pppoe_host-uniq
...
luci-proto-ppp: expose pppoe host_uniq tag setting
2018-07-09 21:55:02 +02:00
LuKePicci
265b0ebbd4
luci-proto-ppp: expose pppoe host_uniq tag setting
...
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
2018-07-09 17:53:08 +02:00
Jo-Philipp Wich
4a083f6d23
luci-base: fix placement of CBI strings
...
Commit c0de036b3
("treewide: always include cbi.js") improperly removed the
cbi.js script include from header.htm, leaving behind the string dictionary.
Move the JSON dictionary to the parent <form> element and delete the
leftover </script> element.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 17:04:10 +02:00
Jo-Philipp Wich
9651be2953
luci-theme-material: table layout fixes and minor CSS corrections
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
994531ea26
luci-app-adblock: align blocklist markup with recent changes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
8e10118843
luci-mod-admin-full: rework connection status table handling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
6cda8e6dab
luci-base: cbi.js: avoid setting empty cell title attributes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
690f3f13ac
luci-theme-bootstrap: add CSS fixes for IE 11
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
bf084f7f95
luci-theme-openwrt: add CSS fixes for IE 11
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
260d2cc44e
luci-base: cbi.js: add NodeList.forEach() polyfill for IE 11
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
c0de036b31
treewide: always include cbi.js
...
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
069c0c93e1
luci-mod-admin-full: use sans-serif fonts for realtime graph legends
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
7c404d72ea
luci-mod-admin-full: small markup fixes for placeholder texts
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
ecedfe5dcc
luci-mod-admin-full: style and script fixes for realtime bandwidth graph
...
- add Math.log2() polyfill for IE 11
- use sans-serif font for time axis
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00