__filename__ = "webapp_suspended.py" __author__ = "Bob Mottram" __license__ = "AGPL3+" __version__ = "1.7.0" __maintainer__ = "Bob Mottram" __email__ = "bob@libreserver.org" __status__ = "Production" __module_group__ = "Web Interface" from utils import get_config_param from webapp_utils import html_header_with_external_style from webapp_utils import html_footer from data import is_a_file def html_suspended(base_dir: str) -> str: """Show the screen for suspended accounts """ suspended_form: str = '' css_filename: str = base_dir + '/epicyon-suspended.css' if is_a_file(base_dir + '/suspended.css'): css_filename = base_dir + '/suspended.css' instance_title: str = get_config_param(base_dir, 'instanceTitle') preload_images: list[str] = [] suspended_form = \ html_header_with_external_style(css_filename, instance_title, None, preload_images) suspended_form += \ '
Account Suspended
\n' + \ 'See Terms of Service
\n' + \ '