A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ydataai/ydata-profiling/commit/e4814fd042c3594c0bf7841fccc3a6c1c328a3f0 below:

alert style name in widget · ydataai/ydata-profiling@e4814fd · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+6

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+6

-1

lines changed Original file line number Diff line number Diff line change

@@ -29,10 +29,15 @@ def render(self) -> widgets.GridBox:

29 29

)

30 30

)

31 31

)

32 + 33 +

style_name = styles[type_name]

34 +

if style_name not in ('primary', 'success', 'info', 'warning', 'danger'):

35 +

style_name = ''

36 + 32 37

items.append(

33 38

Button(

34 39

description=type_name.replace("_", " ").capitalize(),

35 -

button_style=styles[type_name],

40 +

button_style=style_name,

36 41

disabled=True,

37 42

)

38 43

)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4