Nearly finished the Excel Password Remover revamp, Only the download is missing

Update commons.yml, excel-password-remover.yml, and 14 more files...
This commit is contained in:
2025-03-01 18:27:13 +01:00
parent 0a02a1e56d
commit b2064cbbaf
16 changed files with 465 additions and 115 deletions

View File

@@ -1,11 +1,11 @@
from flask import render_template
def render_button(inner_html: str, disabled: bool = False, id: str = None) -> str:
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="",
button_id=id,
button_extra_classes=extra_classes,
button_id=dom_id,
)

View File

@@ -2,7 +2,7 @@ from flask import render_template
def render_file_input(input_id: str, multiple: bool, accept: str = None,
upload_button: bool = False, clear_button: bool = False) -> str:
upload_button: bool = False, clear_button: bool = False, user_lang: str = "") -> str:
return render_template(
"elements/file-input.jinja",
file_input_id=input_id,
@@ -10,4 +10,5 @@ def render_file_input(input_id: str, multiple: bool, accept: str = None,
file_accept=accept,
file_upload_button=upload_button,
file_clear_button=clear_button,
user_lang=user_lang,
)