summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sqm/htdocs/luci-static
AgeCommit message (Collapse)Author
2022-12-26luci-app-sqm: Move verbose descriptions into help textToke Høiland-Jørgensen
The field labels contain verbose descriptions which looks terrible in the UI. Replace them with short labels and move the verbose text into the help text where it belongs. Reported by Github user @saldry at https://github.com/openwrt/luci/issues/6161 Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2021-06-13luci-app-sqm: only reload view once sqm enable/start completedJo-Philipp Wich
Chain the exec calls to enable and start the SQM service and only reload the view once these operations are complete and return the entire promise chain from the handler function to ensure that the busy indicator remains active throughout the entire duration of the operation. Also replace exec_direct() with exec() as there is no need to bypass ubus for the init script calls. Fixes: e76d9cc767 ("luci-app-sqm: fix JS error if service is disabled") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09luci-app-sqm: fix JS error if service is disabledDirk Brenken
* fix a 'resource not found error' if the sqm service has been disabled and the dir '/var/run/sqm/available_qdiscs' not exist * inform the user about this issue and provide a button to enable & start the service Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-12-31luci-app-sqm: Use CAKE as default qdiscToke Høiland-Jørgensen
The sqm-scripts package depends on kmod-sched-cake, meaning CAKE is always available in normal installs. So we might as well just make CAKE the default config in SQM configs. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-10-25luci-app-sqm: fix missing interface in selectionAnsuel Smith
Show device instead of interface in interface selection. Fixes: #4539 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-23luci-app-sqm: convert to client side implementationAnsuel Smith
Convert sqm app to client side implementation. Only a small rework in the logic to get qos scripts help text. The rest of the script is a porting 1:1. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>