removed title
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
maltegrosse 2023-01-24 11:19:43 +01:00
parent 2fa3abf56e
commit 6c1ece8fac
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "jupyterlab_sandbox_theme", "name": "jupyterlab_sandbox_theme",
"version": "0.1.1", "version": "0.1.2",
"description": "Sandbox Theme", "description": "Sandbox Theme",
"keywords": [ "keywords": [
"jupyter", "jupyter",

View File

@ -14,6 +14,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
id: 'jupyterlab_sandbox_theme:plugin', id: 'jupyterlab_sandbox_theme:plugin',
requires: [IThemeManager, ILabShell,ISplashScreen], requires: [IThemeManager, ILabShell,ISplashScreen],
activate: (app: JupyterFrontEnd, manager: IThemeManager, shell: ILabShell) => { activate: (app: JupyterFrontEnd, manager: IThemeManager, shell: ILabShell) => {
// todo: https://github.com/jupyterlab/jupyterlab/blob/997f3af68396539136ab0cb8512c73c07e021e4a/packages/apputils-extension/src/index.ts#L156-L163
const style = 'jupyterlab_sandbox_theme/index.css'; const style = 'jupyterlab_sandbox_theme/index.css';
const logo_svg = Logo const logo_svg = Logo
@ -52,9 +53,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
waitForElement('.busy',document.head).then((elm: any) => { waitForElement('.busy',document.head).then((elm: any) => {
elm.setAttribute("href",busy) elm.setAttribute("href",busy)
}); });
waitForElement('title',document.head).then((elm: any) => { // waitForElement('title',document.head).then((elm: any) => {
elm.innerHTML = "Sandbox" // elm.innerHTML = "Sandbox"
}); // });
waitForElement('#jupyterlab-splash',document.body).then((elm: any) => { waitForElement('#jupyterlab-splash',document.body).then((elm: any) => {
let child = elm.firstChild let child = elm.firstChild
child.innerHTML = ' <div class="cube"> <div class="cube1"></div> <div class="cube2"></div></div>'; child.innerHTML = ' <div class="cube"> <div class="cube1"></div> <div class="cube2"></div></div>';