Skip to content

Commit

Permalink
fix: display a message at the top of the notebook while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Sep 1, 2023
1 parent dbc8c46 commit 2bbc233
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sepal_ui/frontend/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,9 @@ nav.v-navigation-drawer {
width: calc(100vw - 80px);
height: calc(100vh - 20px);
}

/* hide the disclaimer message placed on top of the ui notebook
* the message will be displayed until the css is loaded */
#loading-app {
display: none !important;
}
7 changes: 7 additions & 0 deletions sepal_ui/templates/map_app/ui.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><h1 class=\"text-center h3\" id=\"loading-app\">Setting things up for you... Thanks for waiting!</h1></center>"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
7 changes: 7 additions & 0 deletions sepal_ui/templates/panel_app/ui.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><h1 class=\"text-center h3\" id=\"loading-app\">Setting things up for you... Thanks for waiting!</h1></center>"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 2bbc233

Please sign in to comment.