Spaces:
Running
on
Zero
Running
on
Zero
File size: 456 Bytes
7b997f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
def info_html(json_data, title, subtitle):
"""
:param json_data:
:param title:
:param subtitle:
:return:
"""
return f"""
<div style='padding: 0; border-radius: 10px;'>
<p style='margin: 0; font-weight: bold;'>{title}</p>
<details>
<summary>Details</summary>
<p style='margin: 0; font-weight: bold;'>{subtitle}</p>
</details>
</div>
"""
|