Spaces:
Running
on
Zero
Running
on
Zero
Update html_templates.py
Browse files- html_templates.py +2 -2
html_templates.py
CHANGED
@@ -37,13 +37,13 @@ def get_color_scheme(is_single_dog: bool) -> Union[str, List[str]]:
|
|
37 |
]
|
38 |
return single_dog_color if is_single_dog else color_list
|
39 |
|
40 |
-
def
|
41 |
"""Format warning messages in a consistent style."""
|
42 |
return f'''
|
43 |
<div class="dog-info-card">
|
44 |
<div class="breed-info">
|
45 |
<p class="warning-message">
|
46 |
-
<span class="icon"
|
47 |
{message}
|
48 |
</p>
|
49 |
</div>
|
|
|
37 |
]
|
38 |
return single_dog_color if is_single_dog else color_list
|
39 |
|
40 |
+
def format_hint_html(message: str) -> str:
|
41 |
"""Format warning messages in a consistent style."""
|
42 |
return f'''
|
43 |
<div class="dog-info-card">
|
44 |
<div class="breed-info">
|
45 |
<p class="warning-message">
|
46 |
+
<span class="icon">💡</span>
|
47 |
{message}
|
48 |
</p>
|
49 |
</div>
|