summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap
AgeCommit message (Collapse)Author
2018-09-29luci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease columnJo-Philipp Wich
Fixes #2132. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29themes: add data-page attribute to body elementsJo-Philipp Wich
This is useful to write page specific CSS rules. Also fix a missing space in the body CSS class name in the bootstrap theme while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-bootstrap: fix typo in admin node lookupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-bootstrap: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-19modules: Make luci-base sufficient to use luci appsDaniel F. Dickinson
Per the discussion in https://github.com/openwrt/luci/issues/869, make luci-base sufficient to login, logout, and review and apply or revert uci changes. This allows most luci-app-xxx to work without having luci-mod-admin-full installed. It has been tested with some apps and not luci-mod-admin-full, as well as with luci-mod-admin-full (to make sure the usual case doesn't break). Instead of creating a new module namespace (e.g. 'Base') we reduce the opportunities for breakage by having luci-base take over the 'shell' of the 'Administration' (admin/....) namespace. Since admin is assumed by all current building LuCI components (including Freifunk), this doesn't introduce the 'Administration' tab into any situation where it would not already be present (but includes it where it was before). We also add a "Component not installed" page to avoid fatal errors and backtrace when e.g. luci-mod-admin-full is not installed. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-13treewide: rework uci change displayJo-Philipp Wich
- Use native rpcd uci changes format instead of incompletely converting back and forth between the old and the new format - Rework uci changelog template to print the equivalent uci commands for the various changes - Rework theme headers to properly count the uncomitted changes - Rework theme CSS to properly style new changelog Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-08luci-mod-admin-full: fix broken applyreboot pageAnsuel Smith
This improve applyreboot page and fix problem with luci-nginx that doesn't refresh the page when the router reboot. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-31luci-theme-bootstrap: fix CSS regression in kernel/system log pagesJo-Philipp Wich
An unrelated removed some crucial fixes due to improper rebasing. Fixes: 7ba4eb1a4 ("luci-theme-bootstrap: add styling for input-adjacent buttons") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-29luci-theme-bootstrap: style tweak for DSL status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-bootstrap: add styling for input-adjacent buttonsJo-Philipp Wich
Also add styling for CBI column title references. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-19luci-theme-bootstrap: allow pointer events on readonly textareas and dropdownsJo-Philipp Wich
This is required to scroll and select text. Fixes #1965 Fixes 887d0a685 ("luci-theme-bootstrap: cleanup CSS") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18luci-theme-bootstrap: various fixesJo-Philipp Wich
- Styling fixes for table hover rows, striping and title row coloring - Fixes for page action button placement Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15luci-theme-bootstrap: small style fix for link buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13luci-theme-bootstrap: margin fix for multiple wifs on status overviewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13luci-theme-bootstrap: cleanup CSSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12luci-theme-bootstrap: compress color names, fix table stripingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09luci-theme-bootstrap: add CSS fixes for IE 11Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
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-03luci-theme-bootstrap: minor style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-29luci-theme-bootstrap: fix input width in table cellsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25luci-theme-bootstrap: render tblsection row titlesJo-Philipp Wich
The Bootstrap theme lacked appropriate CSS yet to render section title attributes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-25luci-theme-bootstrap: remove unused stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-bootstrap: align CSS with markup changesJo-Philipp Wich
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>
2018-06-08luci-base: add markup, JS and CSS for new dropdownJo-Philipp Wich
This commit introduces the required code for a new, markup based dropdown widget which can be used as a styleable alternative to select boxes or radio/checkbox button groups. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: unify no-password / no-javascript alert boxesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: adjust CSS for reworked apply widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-theme-bootstrap: add new style classesJo-Philipp Wich
Add new style classes required for status page changes, also drop old Internet Explorer compatibility script and vendor prefixed properties. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28themes: add forward-compatibility CSSJo-Philipp Wich
Subsequent changes will largely replace tables with div based markup, so add forward compatibility style rules to keep the rendering intact. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-26themes: fix CSS class of uci change indicatorJo-Philipp Wich
The previous commit incorrectly added a new class attribute without considering existing ones. Fixes 736d8fee4 ("themes: add common class to uci change indicator") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-26themes: add common class to uci change indicatorJo-Philipp Wich
Add a common CSS class name to the change indicator and modify the openwrt.org theme to hide it when no changes are present, similar to all other themes. This is needed for upcoming uci apply handling changes to be able to auto-hide the indicator without page reload after an apply. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05treewide: improve handling of page redirections in uci change viewsJo-Philipp Wich
Instead of passing the full LuCI request url, pass the relative resolved request path instead and filter the received value through the lookup() dispatcher function to only allow paths to actual internal pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-13luci-theme-bootstrap: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-02-22luci-theme-boostrap: add JavaScript warning if disabledFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-01-02luci-theme-bootstrap: tune default style select boxesJo-Philipp Wich
The previous styling made select dropdowns look like disabled text input fields on Chrome browsers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-10luci-theme-bootstrap: fix minor CSS errorsArjen de Korte
Signed-off-by: Arjen de Korte \<build+luci@de-korte.org\>
2016-12-05Update cascade.cssarjendekorte
The linear-gradient function syntax uses 'to bottom' instead of 'top' for a gradient from top to bottom.
2016-08-18luci-theme-bootstrap: add missing CSS classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-31luci-theme-bootstrap: Remove jql.min.js which does not existHsing-Wang Liao
Fix 404 error Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-02-02Fix embedded links: github instead of luci.subsignal.orgHannu Nyman
Fix links to point into Github repo instead of luci.subsignal.org - the hint to file a bug in dispatcher - footers of Bootstrap and Firefunk themes Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20luci-theme-bootstrap: add new utility class for table valign, minor tweaksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-19luci-theme-bootstrap: css fix for map level tabsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-18luci-theme-bootstrap: style fixes for map level tabs and disabled buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-17luci-theme-bootstrap: fix menu url generation (#625)Jo-Philipp Wich
Also untangle Lua code and markup for better readability, use tabs for indentation and build_url() to construct paths instead of concatenating them manually. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-theme-bootstrap: add redir parameter to uci change menuJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-10Merge pull request #333 from legendtang/masterJo-Philipp Wich
themes/bootstrap: add media queries to bootstrap-theme for better responsive UI on mobile devices
2015-03-01theme/bootstrap: add a mssing class style in form section (#298)Legend Tang
NOTE: three <br /> in some luci-app's cbi-tab-descr section which help to workaround must be removed.
2015-02-28add media queries for better responsive UI on mobile devicesLegend Tang
This is for modern browsers only
2015-01-19luci-themes: luci.main.mediaurlbase not set correctlyChristian Schoenebeck
Currently by default theme Bootstrap is installed but luci.main.mediaurlbase (it holds the current active theme) still has openwrt.org set. I did not find the mechanism how LuCI starts Bootstrap theme but the installation should set luci.main.mediaurlbase correctly. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>