view libervia/web/pages/_browser/loading.py @ 1533:285c49d7aad3

_browser (template): add `media_type_main` and `media_type_sub` filters: this is to follow main template module change, as string slicing is not done the same way in jinja2 and nunjucks.
author Goffi <goffi@goffi.org>
date Thu, 22 Jun 2023 16:36:18 +0200
parents eb00d593801d
children
line wrap: on
line source

"""manage common dialogs"""

from browser import document

def remove_loading_screen():
    print("removing loading screen")
    document['loading_screen'].remove()