Jo-Philipp Wich [Thu, 12 Jul 2018 14:44:31 +0000 (16:44 +0200)]
luci-mod-admin-full: expose errors, description and up state in net status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 14:43:23 +0000 (16:43 +0200)]
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>
Jo-Philipp Wich [Wed, 11 Jul 2018 20:19:50 +0000 (22:19 +0200)]
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>
Jo-Philipp Wich [Thu, 12 Jul 2018 05:37:49 +0000 (07:37 +0200)]
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>
Jo-Philipp Wich [Thu, 12 Jul 2018 05:34:04 +0000 (07:34 +0200)]
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>
Jo-Philipp Wich [Wed, 11 Jul 2018 20:20:51 +0000 (22:20 +0200)]
luci-theme-openwrt: consolidate font sizes and button styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 11 Jul 2018 06:04:39 +0000 (08:04 +0200)]
luci-mod-admin-full: improve text contrast in realtime graphs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Tue, 10 Jul 2018 19:56:57 +0000 (22:56 +0300)]
Merge pull request #1945 from stangri/luci-app-advanced-reboot
luci-app-advanced-reboot: support for Linksys WRT32X
Stan Grishin [Tue, 10 Jul 2018 19:33:23 +0000 (12:33 -0700)]
luci-app-advanced-reboot: support for Linksys WRT32X
Signed-off-by: Stan Grishin <stangri@melmac.net>
Dirk Brenken [Mon, 9 Jul 2018 19:55:02 +0000 (21:55 +0200)]
Merge pull request #1937 from LuKePicci/luci-proto-ppp_pppoe_host-uniq
luci-proto-ppp: expose pppoe host_uniq tag setting
LuKePicci [Mon, 9 Jul 2018 15:53:08 +0000 (17:53 +0200)]
luci-proto-ppp: expose pppoe host_uniq tag setting
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
Jo-Philipp Wich [Mon, 9 Jul 2018 15:04:10 +0000 (17:04 +0200)]
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>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:50:51 +0000 (11:50 +0200)]
luci-theme-material: table layout fixes and minor CSS corrections
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:46:11 +0000 (11:46 +0200)]
luci-app-adblock: align blocklist markup with recent changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:13:06 +0000 (11:13 +0200)]
luci-mod-admin-full: rework connection status table handling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:09:57 +0000 (11:09 +0200)]
luci-base: cbi.js: avoid setting empty cell title attributes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:26:03 +0000 (15:26 +0200)]
luci-theme-bootstrap: add CSS fixes for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:23:39 +0000 (15:23 +0200)]
luci-theme-openwrt: add CSS fixes for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:14:43 +0000 (15:14 +0200)]
luci-base: cbi.js: add NodeList.forEach() polyfill for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:12:47 +0000 (15:12 +0200)]
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>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:02:37 +0000 (15:02 +0200)]
luci-mod-admin-full: use sans-serif fonts for realtime graph legends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:02:16 +0000 (15:02 +0200)]
luci-mod-admin-full: small markup fixes for placeholder texts
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 12:59:58 +0000 (14:59 +0200)]
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>
Dirk Brenken [Mon, 9 Jul 2018 05:51:20 +0000 (07:51 +0200)]
Merge pull request #1944 from rwalli/patch-1
luci-proto-wireguard: description field
rwalli [Sun, 8 Jul 2018 17:46:10 +0000 (19:46 +0200)]
Add description
Hannu Nyman [Sat, 7 Jul 2018 17:43:08 +0000 (20:43 +0300)]
Merge pull request #1871 from felixonmars/patch-1
Fix a typo in vizdata.sh
Hannu Nyman [Sat, 7 Jul 2018 13:18:26 +0000 (16:18 +0300)]
Merge pull request #1942 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sat, 7 Jul 2018 12:11:17 +0000 (14:11 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Hannu Nyman [Sat, 7 Jul 2018 09:45:17 +0000 (12:45 +0300)]
Merge pull request #1941 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
INAGAKI Hiroshi [Sat, 7 Jul 2018 08:56:08 +0000 (17:56 +0900)]
luci-base: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Hannu Nyman [Fri, 6 Jul 2018 15:42:02 +0000 (18:42 +0300)]
Merge pull request #1939 from Ansuel/luci-nginx
luci-nginx: fix nginx dependency
Ansuel Smith [Fri, 6 Jul 2018 15:29:15 +0000 (17:29 +0200)]
luci-nginx: fix nginx dependency
As nginx-ssl is now available, we fix luci-ssl-nginx package dep to use the right package. DRop luci-ssl-openssl-nginx as openssl is needed by nginx anyway.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Yurii [Wed, 4 Jul 2018 14:37:52 +0000 (17:37 +0300)]
luci-base: update Ukrainian translation
Updated with the latest synchronization of the translation, corrections and additions translation.
Signed-off-by: Yurii yuripet@gmail.com
Squashed 2 commits
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
amitabha [Wed, 4 Jul 2018 12:45:51 +0000 (20:45 +0800)]
base.po: Update chinese translations.
Fix some Chinese translations.
Signed-off-by: Angus Ding <angus.ding@gmail.com>
Jo-Philipp Wich [Tue, 3 Jul 2018 16:49:00 +0000 (18:49 +0200)]
luci-theme-bootstrap: minor style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 16:47:41 +0000 (18:47 +0200)]
luci-base: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 15:58:00 +0000 (17:58 +0200)]
luci-mod-admin-full: rework flashops page markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Tue, 15 May 2018 13:02:24 +0000 (15:02 +0200)]
luci-mod-admin-full: fix flashops url generation for config tab
If a firmware image is not valid then url generation for the config tab
is wrong. To fix this use the luci.dispatcher.build_url function.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Tue, 15 May 2018 09:35:40 +0000 (11:35 +0200)]
luci-mod-admin-full: check backup.tar.gz on apply
If an uploaded backup.tar.gz is not valid we will not get a respond from
LuCI. The system will perform a reboot without applying the "tar.gz"
even though the backup import failed.
To fix this check if the backup archive is valid with the command
"gunzip -t <archive>" and if the validation fails render the flashops page
with a hint. On the other hand apply the backup archive and perform a
reboot as before.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Ansuel Smith [Tue, 5 Jun 2018 20:12:19 +0000 (22:12 +0200)]
luci-mod-admin-full: improve reboot page
This fix problem with empty controller, the check function will never stop to
check if the device finish to reboot and we set more tries to wait the router
for a longer times.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[reworked markup, simplified logic, removed superfluous alert]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 10:30:44 +0000 (12:30 +0200)]
Revert "luci-lib-json: depend on luci-base"
This reverts commit
8ca29efec862350d8d621235999947c329dfaba7.
Jo-Philipp Wich [Tue, 3 Jul 2018 09:07:31 +0000 (11:07 +0200)]
luci-lib-json: depend on luci-base
Fixes #506
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 08:56:50 +0000 (10:56 +0200)]
luci-mod-admin-full: improve Y-axis scaling in bandwidth graph
Calculate a peak that causes the vertical scale to use even values.
Fixes #1424.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 06:07:32 +0000 (08:07 +0200)]
Merge pull request #1929 from pleasantone/mwan3_interface_aliases
luci-app-mwan3: fix aliased interfaces (@wan6)
Paul Traina [Mon, 2 Jul 2018 23:45:10 +0000 (16:45 -0700)]
luci-app-mwan3: fix aliased interfaces (@wan6)
Hannu Nyman [Mon, 2 Jul 2018 15:35:04 +0000 (18:35 +0300)]
Merge pull request #1925 from YuriPet/master
luci-app-firewall & luci-base: update Ukrainian translation
Jo-Philipp Wich [Mon, 2 Jul 2018 07:43:05 +0000 (09:43 +0200)]
luci-mod-admin-full: fix uci revert success message
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 2 Jul 2018 07:23:56 +0000 (09:23 +0200)]
luci-theme-openwrt: minor mobile style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 2 Jul 2018 06:45:25 +0000 (08:45 +0200)]
luci-theme-openwrt: add further style tweaks
- slightly increase button color saturation
- unify margins and paddings
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 2 Jul 2018 06:45:02 +0000 (08:45 +0200)]
luci-mod-admin-full: cleanup markup on flashops page
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 29 Jun 2018 15:48:31 +0000 (17:48 +0200)]
luci-mod-admin-full: rework wireless network status indicator
Rework markup and logic of the wireless network status indicator to match
that of the interface status widget.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 29 Jun 2018 15:46:56 +0000 (17:46 +0200)]
luci-base: rework "in request" flagging logic for menu nodes
The previous implementation failed to mark active nodes under some
circumstances.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Yurii [Sun, 1 Jul 2018 20:51:38 +0000 (23:51 +0300)]
luci-base: update Ukrainian translation
Updated with the latest synchronization of the translation.
Signed-off-by: Yurii yuripet@gmail.com
Yurii [Sun, 1 Jul 2018 20:48:45 +0000 (23:48 +0300)]
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.
Signed-off-by: Yurii yuripet@gmail.com
Dirk Brenken [Sun, 1 Jul 2018 19:27:36 +0000 (21:27 +0200)]
Merge pull request #1924 from dibdot/lxc_fix
luci-app-lxc: add backingstore support
Dirk Brenken [Sun, 1 Jul 2018 17:59:52 +0000 (19:59 +0200)]
luci-app-lxc: add backingstore support
* second try to enable backingstore support, untested (see #1919)
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Sun, 1 Jul 2018 16:45:28 +0000 (19:45 +0300)]
Merge pull request #1921 from musashino205/l10n/fw-upd-ja
luci-app-firewall: update Japanese translation
Dirk Brenken [Sat, 30 Jun 2018 21:08:16 +0000 (23:08 +0200)]
Merge pull request #1920 from dibdot/lxc_fix
luci-app-lxc: small fixes & cosmetics
Dirk Brenken [Sat, 30 Jun 2018 10:55:39 +0000 (12:55 +0200)]
luci-app-lxc: small fixes & cosmetics
* backingstore support via ubus does not work, remove it for now
* fix target mapping for linuximages.org
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
INAGAKI Hiroshi [Sat, 30 Jun 2018 14:19:50 +0000 (23:19 +0900)]
luci-app-firewall: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Sat, 30 Jun 2018 14:10:45 +0000 (23:10 +0900)]
i18n: sync translations
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Hannu Nyman [Fri, 29 Jun 2018 15:04:57 +0000 (18:04 +0300)]
Merge pull request #1902 from panda-mute/patch-1
Update 40_luci-transmission
Jo-Philipp Wich [Fri, 29 Jun 2018 06:57:22 +0000 (08:57 +0200)]
luci-theme-bootstrap: fix input width in table cells
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 28 Jun 2018 07:43:45 +0000 (09:43 +0200)]
luci-app-upnp: cleanup UPnP lease status markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 28 Jun 2018 07:39:34 +0000 (09:39 +0200)]
luci-mod-admin-full: unify DHCP lease status code
Merge the DHCP lease status code of the status overview and DHCP/DNS pages
into a single shared partial template.
Also remove some redundant markup on the index page and wireless assoc list
templates.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 28 Jun 2018 07:32:16 +0000 (09:32 +0200)]
luci-base: luci.tools.status: add host_hints to DHCPv6 leases
Attempt to derive a MAC from the DHCPv6 lease DUID and use it to look up
a host hint. If a hint is found, add it to the lease information.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 27 Jun 2018 14:43:36 +0000 (16:43 +0200)]
Merge pull request #1915 from Ansuel/upgrade
luci-base: update luasrcdiet
Ansuel Smith [Wed, 27 Jun 2018 14:14:12 +0000 (16:14 +0200)]
luci-base: update luasrcdiet
Tested and works with no problem.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Jo-Philipp Wich [Tue, 26 Jun 2018 20:00:01 +0000 (22:00 +0200)]
luci-theme-material: fix switch status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 26 Jun 2018 17:49:42 +0000 (19:49 +0200)]
luci-mod-admin-full: properly remap ports in switch status display
Fixes: 60c5d15e9 ("luci-mod-admin-full: fix possible switch status layout bug")
Fixes: bbf096c79 ("luci-mod-admin-full: cleanup markup")
Reported-at: https://forum.lede-project.org/t/x/15897/19
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 26 Jun 2018 13:24:16 +0000 (15:24 +0200)]
luci-mod-admin-full: fix possible switch status layout bug
In some cases we might get status information for more ports than which are
actually usable, prevent overflowing the port status row in this case.
Reported-at: https://forum.lede-project.org/t/x/15897/14
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 26 Jun 2018 12:59:24 +0000 (14:59 +0200)]
luci-theme-openwrt: add some compatibility styles
Add a few CSS rules and general tweaks improving the look of legacy markup.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 26 Jun 2018 12:34:58 +0000 (14:34 +0200)]
Merge pull request #1912 from Ansuel/fixassoci
luci-mod-admin-full: fix missing wifi_assoclist
Jo-Philipp Wich [Tue, 26 Jun 2018 12:31:39 +0000 (14:31 +0200)]
luci-theme-freifunk-generic: fix & modernize
Align theme with current markup, port missing CSS directives from OpenWrt
theme and drop a few outdated resources.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Ansuel Smith [Tue, 26 Jun 2018 12:30:36 +0000 (14:30 +0200)]
luci-mod-admin-full: fix missing wifi_assoclist
With #
e5ba594d77eed77d31d4b9b8c0e86026eb5a5fac the list of the connected device broke up. This fix this problem by creating a proper request link.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Jo-Philipp Wich [Mon, 25 Jun 2018 09:41:41 +0000 (11:41 +0200)]
Merge pull request #1881 from TDT-AG/pr/
20180614-luci-mod-admin-full-fix-ssh-key-textarea
luci-mod-admin-full: fix empty SSH-Keys textarea issue
zjw [Wed, 13 Jun 2018 14:30:25 +0000 (10:30 -0400)]
luci-mod-admin-full: report SNR unit as dB, not dBm
Fixes: #1880
Reported-by: "zjw"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 09:19:36 +0000 (11:19 +0200)]
Merge pull request #1906 from ldir-EDB0/typofix
luci-app-rp-pppoe: Fix typo
Jo-Philipp Wich [Mon, 25 Jun 2018 09:12:25 +0000 (11:12 +0200)]
luci-base: add "Name" label to autogenerated title column
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:52:29 +0000 (09:52 +0200)]
luci-theme-bootstrap: render tblsection row titles
The Bootstrap theme lacked appropriate CSS yet to render section title
attributes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:51:18 +0000 (09:51 +0200)]
luci-base: annotate tblsection description row as well
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:42:10 +0000 (09:42 +0200)]
luci-theme-bootstrap: remove unused styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:33:07 +0000 (09:33 +0200)]
luci-mod-admin-full: fix average traffic calculation in realtime bandwidth
Fixes #1908.
Suggested-by: "mgalyean"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:19:59 +0000 (09:19 +0200)]
luci-mod-admin-full: fix initializing realtime graphs
Commit
69782ccbc ("luci-base: xhr.js: defer starting poll queue") changed
the way XHR poll queues are started which broke the timing on the realtime
graph pages.
Fix the problem by manually starting the poller after registering the request
handlers.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:01:33 +0000 (09:01 +0200)]
luci-base, luci-mod-admin-full: unify wifi assoclist code
Merge the assoclist code of the status overview and wireless overview pages
into a single shared partial template.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 06:58:34 +0000 (08:58 +0200)]
luci-mod-admin-full: replace status page legend tags with h3 (#1907)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 06:49:44 +0000 (08:49 +0200)]
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 16:13:38 +0000 (17:13 +0100)]
luci-app-rp-pppoe: Fix typo
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Jo-Philipp Wich [Wed, 20 Jun 2018 12:00:00 +0000 (14:00 +0200)]
luci-app-shadowsocks-libev: cleanup section add markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:57:08 +0000 (17:57 +0200)]
luci-mod-admin-full: packages: display available packages by default
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:36 +0000 (17:18 +0200)]
luci-app-travelmate: consolidate markup
Rework the various application view templates to properly render with the
latest responsive design changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:02 +0000 (17:18 +0200)]
luci-app-upnp: rework lease status indicator
Turn the dynamic lease status table into responsive table by using the
cbi_update_table() helper in conjunction with title annotation attributes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 14:58:39 +0000 (16:58 +0200)]
luci-app-firewall: cleanup template markup
Rework the cbi section add template markup to properly render with the
latest responsive design changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:17:04 +0000 (17:17 +0200)]
luci-mod-admin-full: cleanup markup
Globally cleanup template markup to support responsive design changes in
OpenWrt theme.
Rework handling of dynamic status tables, consolidate hand-written markup,
fix small render bugs in various places and annotate tables where needed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:20:45 +0000 (17:20 +0200)]
luci-theme-material: align CSS with markup changes
Add the bare minimum of changes to make the theme render correctly with the
latest markup, requires further refinement and tuning in the future.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:21:00 +0000 (17:21 +0200)]
luci-theme-bootstrap: align CSS with markup changes
Add changes to make the theme render correctly with the latest markup,
requires further refinement and tuning in the future.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:01:22 +0000 (17:01 +0200)]
luci-theme-openwrt: rework and polish OpenWrt theme
- polish styling
- move main menu to the left for large resolutions and collapse into
dropdown header bar for small mobile resolutions
- make tables responsive by utilizing extra attributes to turn rows
into wrappable flexboxes for low resolutions
- mostly get rid of button icon references and use a uniform color
scheme for action-, positive, negative and neutral buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:10:38 +0000 (17:10 +0200)]
luci-base: globally cleanup markup
- add responsive attributes to partial cbi templates
- unify and fix button style classes
- fix styling of sysauth dialog
- rework firewall_zoneforwards widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 23 Jun 2018 08:01:42 +0000 (10:01 +0200)]
Merge pull request #1905 from ldir-EDB0/bcp38
luci-app=bcp38: improve interface selection dropdown
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 07:43:00 +0000 (08:43 +0100)]
luci-app-bcp38: improve interface selection dropdown
Certain types of interface were excluded from bcp38's concept of
upstream wan interface e.g. pppoa-wan
Shamelessly copies the interface list generation from luci-app-sqm which
solved exactly the same problem and gives additional clues by displaying
the firewall zone (typically wan/lan etc)
Run-tested-on: DGN3500
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>