summaryrefslogtreecommitdiffhomepage
path: root/themes
AgeCommit message (Collapse)Author
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-09-18Merge pull request #2159 from ↵Jo-Philipp Wich
TDT-AG/pr/20180918-luci-theme-material-css-customize luci-theme-material: make colors configurable
2018-09-18luci-theme-material: make colors configurableFlorian Eckert
The var() css function can be used to insert the value of a custom property. A custom.css file is added to change the colors. This file will get included in the cascade.css file. The following colors could be costomized in the file costom.css. --header-bg --header-color --menu-bg-color --menu-color --submenu-bg-hover --submenu-bg-hover-active Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-14luci-theme-material: Monospace font for textarea elementsAmeer Dawood
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.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-08-07Merge pull request #2043 from Ansuel/materialfixJo-Philipp Wich
luci-theme-material: fix theme for applyreboot page changes
2018-08-07luci-theme-material: fix theme for applyreboot page changesAnsuel Smith
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page 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-openwrt: style tweaks for DSL status displayJo-Philipp Wich
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-openwrt: fix button placement quirkJo-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-23luci-theme-openwrt: add styling for input-adjacent buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22luci-theme-openwrt: support rendering tblsection cell descriptionsJo-Philipp Wich
Add support for rendering the "data-description" attribute when rendering decomposed tables for small screen resolutions. 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-openwrt: fix another instance of misplaced page action buttonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18luci-theme-openwrt: fixes for page action button placementJo-Philipp Wich
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-material: table and button style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13luci-theme-openwrt: cleanup CSSJo-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-12luci-theme-openwrt: consolidate font sizes and button stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09luci-theme-material: table layout fixes and minor CSS correctionsJo-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-09luci-theme-openwrt: 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-07-02luci-theme-openwrt: minor mobile style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-02luci-theme-openwrt: add further style tweaksJo-Philipp Wich
- slightly increase button color saturation - unify margins and paddings 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-26luci-theme-material: fix switch status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-26luci-theme-openwrt: add some compatibility stylesJo-Philipp Wich
Add a few CSS rules and general tweaks improving the look of legacy markup. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-26luci-theme-freifunk-generic: fix & modernizeJo-Philipp Wich
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>
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-material: align CSS with markup changesJo-Philipp Wich
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>
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-23luci-theme-openwrt: rework and polish OpenWrt themeJo-Philipp Wich
- 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>
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: drop errorbox stylesJo-Philipp Wich
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-material: add new style classesJo-Philipp Wich
Add new style classes required for status page changes. 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-30luci-theme-openwrt: add new style classesJo-Philipp Wich
Add new style classes required for status page changes, also drop old Internet Explorer compatibility CSS. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28Merge pull request #1827 from Ansuel/luci-mapJo-Philipp Wich
luci-theme-material: upgrade jquery