mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Move SQL 2019 extension's notebook code into Azure Data Studio (#4090)
This commit is contained in:
1
extensions/notebook/resources/dark/manage_inverse.svg
Normal file
1
extensions/notebook/resources/dark/manage_inverse.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#fff;}</style></defs><title>configure_inverse</title><path class="cls-1" d="M15.08,1.71c.14.23.26.46.37.67a5.88,5.88,0,0,1,.29.65,4,4,0,0,1,.19.68,4.27,4.27,0,0,1,.07.78,4.43,4.43,0,0,1-.16,1.19,4.51,4.51,0,0,1-3.15,3.15A4.43,4.43,0,0,1,11.5,9l-.36,0-.36,0-6.3,6.3a2.56,2.56,0,0,1-.86.57,2.65,2.65,0,0,1-1,.2,2.53,2.53,0,0,1-1-.21A2.65,2.65,0,0,1,.21,14.39a2.53,2.53,0,0,1-.21-1,2.65,2.65,0,0,1,.2-1,2.56,2.56,0,0,1,.57-.86l6.3-6.3Q7,5,7,4.86c0-.12,0-.24,0-.36A4.43,4.43,0,0,1,7.16,3.3,4.51,4.51,0,0,1,10.31.15,4.43,4.43,0,0,1,11.5,0a4.27,4.27,0,0,1,.78.07A4,4,0,0,1,13,.25a5.88,5.88,0,0,1,.65.29l.67.37L11.2,4l.8.8ZM11.5,8a3.38,3.38,0,0,0,1.36-.28,3.53,3.53,0,0,0,1.86-1.86A3.38,3.38,0,0,0,15,4.49a3.29,3.29,0,0,0-.19-1.1L12,6.19,9.8,4l2.8-2.81A3.29,3.29,0,0,0,11.5,1a3.38,3.38,0,0,0-1.36.28A3.53,3.53,0,0,0,8.28,3.13,3.38,3.38,0,0,0,8,4.49,3,3,0,0,0,8,5q0,.26.11.52L1.48,12.23A1.62,1.62,0,0,0,1,13.37a1.55,1.55,0,0,0,.13.63,1.63,1.63,0,0,0,.86.86,1.55,1.55,0,0,0,.63.13,1.62,1.62,0,0,0,1.15-.48l6.69-6.68.52.11A3,3,0,0,0,11.5,8Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
4
extensions/notebook/resources/jupyter_config/custom.js
Normal file
4
extensions/notebook/resources/jupyter_config/custom.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// Make sure that all links load in the same tab
|
||||
define(['base/js/namespace'], function (Jupyter) {
|
||||
Jupyter._target = '_self';
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
# Disable CSP in order to load Jupyter inside Azure Data Studio
|
||||
c.NotebookApp.tornado_settings = {
|
||||
'headers': {'Content-Security-Policy': ''}
|
||||
}
|
||||
|
||||
c.NotebookApp.open_browser = False
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"kernel_python_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"kernel_scala_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"kernel_r_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"ignore_ssl_errors": true,
|
||||
"logging_config": {
|
||||
"version": 1,
|
||||
"formatters": {
|
||||
"magicsFormatter": {
|
||||
"format": "%(asctime)s\t%(levelname)s\t%(message)s",
|
||||
"datefmt": ""
|
||||
}
|
||||
},
|
||||
"handlers": {
|
||||
"magicsHandler": {
|
||||
"class": "hdijupyterutils.filehandler.MagicsFileHandler",
|
||||
"formatter": "magicsFormatter",
|
||||
"home_path": ""
|
||||
}
|
||||
},
|
||||
"loggers": {
|
||||
"magicsLogger": {
|
||||
"handlers": [
|
||||
"magicsHandler"
|
||||
],
|
||||
"level": "DEBUG",
|
||||
"propagate": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
extensions/notebook/resources/light/manage.svg
Normal file
1
extensions/notebook/resources/light/manage.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>configure</title><path d="M15.08,1.71c.14.23.26.46.37.67a5.88,5.88,0,0,1,.29.65,4,4,0,0,1,.19.68,4.27,4.27,0,0,1,.07.78,4.43,4.43,0,0,1-.16,1.19,4.51,4.51,0,0,1-3.15,3.15A4.43,4.43,0,0,1,11.5,9l-.36,0-.36,0-6.3,6.3a2.56,2.56,0,0,1-.86.57,2.65,2.65,0,0,1-1,.2,2.53,2.53,0,0,1-1-.21A2.65,2.65,0,0,1,.21,14.39a2.53,2.53,0,0,1-.21-1,2.65,2.65,0,0,1,.2-1,2.56,2.56,0,0,1,.57-.86l6.3-6.3Q7,5,7,4.86c0-.12,0-.24,0-.36A4.43,4.43,0,0,1,7.16,3.3,4.51,4.51,0,0,1,10.31.15,4.43,4.43,0,0,1,11.5,0a4.27,4.27,0,0,1,.78.07A4,4,0,0,1,13,.25a5.88,5.88,0,0,1,.65.29l.67.37L11.2,4l.8.8ZM11.5,8a3.38,3.38,0,0,0,1.36-.28,3.53,3.53,0,0,0,1.86-1.86A3.38,3.38,0,0,0,15,4.49a3.29,3.29,0,0,0-.19-1.1L12,6.19,9.8,4l2.8-2.81A3.29,3.29,0,0,0,11.5,1a3.38,3.38,0,0,0-1.36.28A3.53,3.53,0,0,0,8.28,3.13,3.38,3.38,0,0,0,8,4.49,3,3,0,0,0,8,5q0,.26.11.52L1.48,12.23A1.62,1.62,0,0,0,1,13.37a1.55,1.55,0,0,0,.13.63,1.63,1.63,0,0,0,.86.86,1.55,1.55,0,0,0,.63.13,1.62,1.62,0,0,0,1.15-.48l6.69-6.68.52.11A3,3,0,0,0,11.5,8Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user