summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap
AgeCommit message (Collapse)Author
2021-10-08luci-theme-bootstrap: rework uci changelog stylingJo-Philipp Wich
Fixes: #5405 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-07luci-theme-bootstrap: add dark theme variantTeoh Han Hui
Add a dark theme variant which is enabled by default when prefers-color-scheme is set to dark. Signed-off-by: Teoh Han Hui <teohhanhui@gmail.com>
2021-10-05themes: warn if booted from initramfsPaul Spooren
Some devices offer a full LuCI interface from their recovery interface. As it's read-only it should only be used for installing sysupgrades and therefore warn users that no settings are saved. Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-08-05luci-theme: fix css for flash advanced settingsAnsuel Smith
Fix themes for broken display of advanced button in the sysupgrade modal. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-06-13luci-theme-bootstrap: mobile style fixes for vlan filter matrixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09themes: Call striptags() on hostname to prevent XSSHauke Mehrtens
This calls striptags() on the hostname to prevent any XSS over the hostname. This should fix CVE-2021-33425 as far as I understood it. If someone adds some Javascript into system.@system[0].hostname it would have been directly added to the page, this prevents the problem. This can only be exploited by someone being able to modify the uci configuration, normally a user with such privileges could also just modify the webpage. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-06-01luci-theme-bootstrap: add svg help icon to form field descriptionsJo-Philipp Wich
The still referenced help.gif icon is absent by default since it has been moved to luci-compat. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-12-27luci-theme-bootstrap: fix text wrapping in buttonsDirk Brenken
* should fix #4647 Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-08-16themes: remove deprecated reference to enabling SSHHannu Nyman
Remove the reference to setting a password being linked to SSH capability. (SSH has been initially enabled since year 2015.) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-06-16luci-theme-bootstrap: update href for Bootstrap "brand"Russell Morris
In the Material theme, clicking on the logo takes you to the status page. This seems logical, and is very helpful. But in Bootstrap, it doesn't do anything, so just pulling the same href from Material to Bootstrap, so the link works in Bootstrap as well. Signed-off-by: Russell Morris <rmorris@rkmorris.us> [adjust commit subject, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-bootstrap: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-08Merge pull request #3819 from ptpt52/themeJo-Philipp Wich
set mediaurlbase only when it is the first time to be installed
2020-04-03luci-theme-*: set mediaurlbase if it is the first time to be installedChen Minqiang
If we build multi-themes into firmware, each of them set itself to be the default theme, what theme should it be? To make it clear, we only set mediaurlbase if the theme is the first time to be installed/built-in. This resolve the issue that theme always change to somewhat default after upgrading the firmware even with a config-keep-upgrade Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-04-03luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflowsJo-Philipp Wich
Fixes: #3795 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-30themes: generalize indicator markup and stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-27luci-theme-bootstrap: dynamically adjust body marginJo-Philipp Wich
Fixes: #3722 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-24luci-theme-bootstrap: fixup assoclist stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e)
2020-03-15themes: ensure that data-page attribute is escapedJo-Philipp Wich
Fixes: #3757 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-04luci-theme-bootstrap: fix overview wireless display quirksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-25themes: render menu even when not logged inJo-Philipp Wich
Ref: #3563 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-19luci-theme-bootstrap: add CSS fixes for tooltip elementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-15luci-theme-bootstrap: fix invalid dropdown state stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-25Merge pull request #3401 from MartB/modal-heightfixv2Jo-Philipp Wich
luci-theme-*: remove modal max-height #3383 v2
2019-12-16luci-theme-bootstrap: render menu on client sideJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-10luci-theme-*: remove modal max-height #3383 v2MartB
Signed-off-by: MartB <mart.b@outlook.de>
2019-12-02luci-theme-bootstrap: fix background of large modal overlays.MartB
Signed-off-by: MartB <mart.b@outlook.de>
2019-11-22luci-theme-bootstrap: allow textarea resizingJo-Philipp Wich
Fixes: #3317 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-16treewide: fix "Unhandled token" errors with Lua CBI mapsJo-Philipp Wich
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>
2019-11-13luci-theme-bootstrap: minor page action alignment fixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10luci-theme-bootstrap: fix mobile input cutoff in dropdownsJo-Philipp Wich
Fixes: #3285 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10themes: add necessary styles for ComboButtonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10luci-theme-bootstrap: minor CSS fixesJo-Philipp Wich
- Don't remove background for disabled buttons - Move inactive tooltip element further out of the view area Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08luci-theme-bootstrap: fix ifacebox cutoff on OS X SafariJo-Philipp Wich
Fixes: #3278 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-09Replaced an old icon with a new one, format changed from ICO to PNG to make ↵Ashus
it even smaller. - references #2251 Signed-off-by: Ashus <github.com@ashus.net>
2019-09-12luci-theme-bootstrap: tune .alert-message padding and marginJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11luci-theme-bootstrap: cleanup alert-message css, add fade-in/fade-out animsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-theme-bootstrap: mobile style fixes for wifi overview viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-theme-bootstrap: add required styles for file upload widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-theme-bootstrap: add CBI order drag/drop stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-theme-bootstrap: add various CSS tweaksJo-Philipp Wich
- Apply the same style to <button> and <input type="button"> elements - Increase width of modal CBI dialogs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: replace uci change pages with client side modal dialogJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-28Fix a overview page style issue for various themesAnton Kikin
Fixed a overview page style issue with interface boxes for bootstrap, material and rosy themes. The issue only appears in the Chrome browser and lies in the fact that the block with the device name and MAC address gets out of the interface block. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-03themes: don't reset theme on package upgradesJo-Philipp Wich
Fixes: #2743 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08luci-theme-bootstrap: fixed input fields having disabled/uneditable colourDavid Hari
Submitted-by: David Hari <d-hari@hotmail.com> [reword commit subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-16luci-theme-bootstrap: fix textarea height after CSS minificationJo-Philipp Wich
Fixes #2378 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10luci-theme-bootstrap: add required CSS rules for new tabbing codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10luci-theme-bootstrap: dynlist style tweakJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-02luci-theme-bootstrap, luci-theme-openwrt: allow dynlist item content to wrapJo-Philipp Wich
Very long values without whitespace can easily overflow the dynlist item container, so allow the browser to forcibly break such lines. Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27luci-theme-bootstrap: allow tabmenus to wrap (#2333)Jo-Philipp Wich
Allow the tab menu line to wrap around on narrow screens to fix the issue reported in PR #2333. Also add the .nowrap utility class to the Bootstrap theme while we're touching it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-theme-bootstrap: add responsive CSSJo-Philipp Wich
Add responsive CSS to improve the rendering on small screen devices. Tested on Mobile Safari using an iPhone 5 and iPhone 6, ymmv for other platforms. Signed-off-by: Jo-Philipp Wich <jo@mein.io>