Mercurial > libervia-web
annotate libervia/web/pages/_browser/loading.py @ 1618:5d9889f14012 default tip @
server: start major redesign
- Add icons to menu items
- Switch menu items representation from tuple to dictionary for future extensibility:
- Include icon information
- Prepare for additional data
- Remove "login" from main menu, add login page URL to template data, as it is now a separate right-aligned item
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Oct 2024 23:07:01 +0200 |
parents | eb00d593801d |
children |
rev | line source |
---|---|
1371
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 """manage common dialogs""" |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 from browser import document |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 def remove_loading_screen(): |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 print("removing loading screen") |
08739952a18f
browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 document['loading_screen'].remove() |