parent
cdc11d709b
commit
95b39d037e
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{page_config['appName'] | e}}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{# Copy so we do not modify the page_config with updates. #}
|
||||
{% set page_config_full = page_config.copy() %}
|
||||
|
||||
{# Set a dummy variable - we just want the side effect of the update. #}
|
||||
{% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %}
|
||||
|
||||
{# Sentinel value to say that we are on the tree page #}
|
||||
{% set _ = page_config_full.update(classicPage='tree') %}
|
||||
|
||||
<script id="jupyter-config-data" type="application/json">
|
||||
{{ page_config_full | tojson }}
|
||||
</script>
|
||||
<script src="{{page_config['fullStaticUrl'] | e}}/bundle.js" main="index"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
/* Remove token from URL. */
|
||||
(function () {
|
||||
var parsedUrl = new URL(window.location.href);
|
||||
if (parsedUrl.searchParams.get('token')) {
|
||||
parsedUrl.searchParams.delete('token');
|
||||
window.history.replaceState({ }, '', parsedUrl.href);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "@jupyterlab-classic/filebrowser-extension",
|
||||
"version": "0.1.0",
|
||||
"description": "JupyterLab Classic - File browser Extension",
|
||||
"homepage": "https://github.com/jtpio/jupyterlab-classic",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jtpio/jupyterlab-classic/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jtpio/jupyterlab-classic.git"
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
"author": "Project Jupyter",
|
||||
"sideEffects": [
|
||||
"style/**/*.css"
|
||||
],
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"style": "style/index.css",
|
||||
"directories": {
|
||||
"lib": "lib/"
|
||||
},
|
||||
"files": [
|
||||
"lib/*.d.ts",
|
||||
"lib/*.js.map",
|
||||
"lib/*.js",
|
||||
"schema/*.json",
|
||||
"style/**/*.css"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab-classic/application": "0.1.0",
|
||||
"@jupyterlab/application": "^3.0.0-rc.13",
|
||||
"@jupyterlab/apputils": "^3.0.0-rc.13",
|
||||
"@jupyterlab/coreutils": "^5.0.0-rc.13",
|
||||
"@jupyterlab/docmanager": "^3.0.0-rc.13",
|
||||
"@jupyterlab/filebrowser": "^3.0.0-rc.13",
|
||||
"@jupyterlab/launcher": "^3.0.0-rc.13",
|
||||
"@jupyterlab/mainmenu": "^3.0.0-rc.13",
|
||||
"@jupyterlab/services": "^6.0.0-rc.13",
|
||||
"@jupyterlab/settingregistry": "^3.0.0-rc.13",
|
||||
"@jupyterlab/statedb": "^3.0.0-rc.13",
|
||||
"@jupyterlab/translation": "^3.0.0-rc.13",
|
||||
"@jupyterlab/ui-components": "^3.0.0-rc.13",
|
||||
"@lumino/algorithm": "^1.3.3",
|
||||
"@lumino/commands": "^1.12.0",
|
||||
"@lumino/messaging": "^1.4.3",
|
||||
"@lumino/widgets": "^1.16.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rimraf": "~3.0.0",
|
||||
"typescript": "~4.0.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"jupyterlab": {
|
||||
"extension": true
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,3 @@
|
||||
.jp-FileBrowser {
|
||||
height: 100%;
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
@import url('~@jupyterlab/filebrowser/style/index.css');
|
||||
|
||||
@import url('./base.css');
|
||||
@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "../../tsconfigbase",
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"rootDir": "src"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../application"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in new issue