Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button_style arguments to widgets #171

Merged
merged 3 commits into from
Sep 28, 2020
Merged

Conversation

CasperWA
Copy link
Owner

This adds a button_style parameter to the widgets HeaderDescription, OptimadeQueryFilterWidget, and OptimadeSummaryWidget.
The parameter is based on an enumeration of the different styles of buttons allowed: "default", "primary", "info", "success", "warnings", "danger".

The buttons affected all default to "default", except the Search button in OptimadeQueryFilterWidget, which defaults to "primary".

CasperWA and others added 3 commits September 28, 2020 14:50
This is for the manually classed buttons in informational.py and
summary.py.
@CasperWA CasperWA merged commit 7e0604b into develop Sep 28, 2020
@CasperWA CasperWA deleted the add_btn_style_choice branch September 28, 2020 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant