Files
Web-NibblePoker/website/renderers/button.py
Herwin Bozet b2064cbbaf Nearly finished the Excel Password Remover revamp, Only the download is missing
Update commons.yml, excel-password-remover.yml, and 14 more files...
2025-03-01 18:27:13 +01:00

12 lines
357 B
Python

from flask import render_template
def render_button(inner_html: str, disabled: bool = False, dom_id: str = None, extra_classes: str = "") -> str:
return render_template(
"elements/button.jinja",
button_inner_html=inner_html,
button_disabled=disabled,
button_extra_classes=extra_classes,
button_id=dom_id,
)