mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 18:46:36 -05:00
* Merge from vscode merge-base * Turn off basic checks * Enable compilation, unit, and integration tests
131 lines
8.0 KiB
HTML
131 lines
8.0 KiB
HTML
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
performance.mark('code/didStartRenderer');
|
|
</script>
|
|
<meta charset="utf-8" />
|
|
|
|
<!-- Mobile tweaks -->
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-title" content="Code">
|
|
<link rel="apple-touch-icon" href="{{WORKBENCH_WEB_BASE_URL}}/resources/server/code-192.png" />
|
|
|
|
<!-- Disable pinch zooming -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
|
|
|
<!-- Workbench Configuration -->
|
|
<meta id="vscode-workbench-web-configuration" data-settings="{{WORKBENCH_WEB_CONFIGURATION}}">
|
|
|
|
<!-- Workbench Auth Session -->
|
|
<meta id="vscode-workbench-auth-session" data-settings="{{WORKBENCH_AUTH_SESSION}}">
|
|
|
|
<!-- Workbench Icon/Manifest/CSS -->
|
|
<link rel="icon" href="{{WORKBENCH_WEB_BASE_URL}}/resources/server/favicon.ico" type="image/x-icon" />
|
|
<link rel="manifest" href="{{WORKBENCH_WEB_BASE_URL}}/resources/server/manifest.json" crossorigin="use-credentials" />
|
|
<link data-name="vs/workbench/workbench.web.main" rel="stylesheet" href="{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.css">
|
|
|
|
</head>
|
|
|
|
<body aria-label="">
|
|
</body>
|
|
|
|
<!-- Startup (do not modify order of script tags!) -->
|
|
<!-- {{SQL CARBON EDIT}} - preload modules that don't work with vscode module loader -->
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/jquery/dist/jquery.min.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/lib/jquery.event.drag-2.3.0.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/lib/jquery-ui-1.9.2.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/reflect-metadata/Reflect.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/slick.core.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/slick.grid.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/slick.dataview.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/slick.editors.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/slickgrid/plugins/slick.cellrangedecorator.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/node_modules/zone.js/dist/zone.min.js"></script>
|
|
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/loader.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/webPackagePaths.js"></script>
|
|
<script>
|
|
const baseUrl = new URL('{{WORKBENCH_WEB_BASE_URL}}', window.location.origin).toString();
|
|
Object.keys(self.webPackagePaths).map(function (key, index) {
|
|
self.webPackagePaths[key] = `${baseUrl}/node_modules/${key}/${self.webPackagePaths[key]}`;
|
|
});
|
|
|
|
// Set up nls if the user is not using the default language (English)
|
|
const nlsConfig = {};
|
|
const locale = window.localStorage.getItem('vscode.nls.locale') || navigator.language;
|
|
if (!locale.startsWith('en')) {
|
|
nlsConfig['vs/nls'] = {
|
|
availableLanguages: {
|
|
'*': locale
|
|
},
|
|
translationServiceUrl: '{{WORKBENCH_NLS_BASE_URL}}'
|
|
};
|
|
}
|
|
|
|
require.config({
|
|
baseUrl: `${baseUrl}/out`,
|
|
recordStats: true,
|
|
trustedTypesPolicy: window.trustedTypes?.createPolicy('amdLoader', {
|
|
createScriptURL(value) {
|
|
if(value.startsWith(window.location.origin)) {
|
|
return value;
|
|
}
|
|
throw new Error(`Invalid script url: ${value}`)
|
|
}
|
|
}),
|
|
paths: {
|
|
'vscode-textmate': `${window.location.origin}/static/node_modules/vscode-textmate/release/main`,
|
|
'vscode-oniguruma': `${window.location.origin}/static/node_modules/vscode-oniguruma/release/main`,
|
|
'xterm': `${window.location.origin}/static/node_modules/xterm/lib/xterm.js`,
|
|
'xterm-addon-search': `${window.location.origin}/static/node_modules/xterm-addon-search/lib/xterm-addon-search.js`,
|
|
'xterm-addon-unicode11': `${window.location.origin}/static/node_modules/xterm-addon-unicode11/lib/xterm-addon-unicode11.js`,
|
|
'xterm-addon-webgl': `${window.location.origin}/static/node_modules/xterm-addon-webgl/lib/xterm-addon-webgl.js`,
|
|
'@angular/core': `${window.location.origin}/static/node_modules/@angular/core/bundles/core.umd.js`,
|
|
'@angular/common': `${window.location.origin}/static/node_modules/@angular/common/bundles/common.umd.js`,
|
|
'@angular/compiler': `${window.location.origin}/static/node_modules/@angular/compiler/bundles/compiler.umd.js`,
|
|
'@angular/platform-browser': `${window.location.origin}/static/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js`,
|
|
'@angular/platform-browser-dynamic': `${window.location.origin}/static/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js`,
|
|
'@angular/platform-browser/animations': `${window.location.origin}/static/node_modules/@angular/platform-browser/bundles/platform-browser-animations.umd.js`,
|
|
'@angular/forms': `${window.location.origin}/static/node_modules/@angular/forms/bundles/forms.umd.js`,
|
|
'@angular/http': `${window.location.origin}/static/node_modules/@angular/http/bundles/http.umd.js`,
|
|
'@angular/router': `${window.location.origin}/static/node_modules/@angular/router/bundles/router.umd.js`,
|
|
'@angular/animations': `${window.location.origin}/static/node_modules/@angular/animations/bundles/animations.umd.n.js`,
|
|
'angular2-grid': `${window.location.origin}/static/node_modules/angular2-grid/bundles/NgGrid.umd.js`,
|
|
'angular2-slickgrid': `${window.location.origin}/static/node_modules/angular2-slickgrid/out/bundles/angular2-slickgrid.umd.js`,
|
|
'chart.js': `${window.location.origin}/static/node_modules/chart.js/dist/Chart.bundle.min.js`,
|
|
'html-to-image': `${window.location.origin}/static/node_modules/html-to-image/dist/html-to-image.js`,
|
|
'ng2-charts': `${window.location.origin}/static/node_modules/ng2-charts/bundles/ng2-charts.umd.js`,
|
|
'rxjs/Observable': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?0`,
|
|
'rxjs/observable/merge': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?1`,
|
|
'rxjs/operator/share': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?2`,
|
|
'rxjs/Subject': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?3`,
|
|
'rxjs/observable/forkJoin': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?4`,
|
|
'rxjs/operator/map': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?5`,
|
|
'rxjs/observable/fromPromise': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?6`,
|
|
'rxjs/add/observable/fromPromise': `${window.location.origin}/static/node_modules/rxjs/bundles/Rx.min.js?7`,
|
|
'sanitize-html': `${window.location.origin}/static/node_modules/sanitize-html/dist/sanitize-html.js`,
|
|
'ansi_up': `${window.location.origin}/static/node_modules/ansi_up/ansi_up.js`,
|
|
'tas-client-umd': `${window.location.origin}/static/node_modules/tas-client-umd/lib/tas-client-umd.js`,
|
|
'iconv-lite-umd': `${window.location.origin}/static/node_modules/iconv-lite-umd/lib/iconv-lite-umd.js`,
|
|
'jschardet': `${window.location.origin}/static/node_modules/jschardet/dist/jschardet.min.js`,
|
|
'turndown': `${window.location.origin}/static/node_modules/turndown/lib/turndown.browser.umd.js`,
|
|
'mark.js': `${window.location.origin}/static/node_modules/mark.js/dist/mark.min.js`,
|
|
'gridstack': `${window.location.origin}/static/node_modules/gridstack/dist/gridstack-h5.js`,
|
|
'plotly.js-dist-min': `${window.location.origin}/static/node_modules/plotly.js-dist-min/plotly.min.js`,
|
|
'azdataGraph': `${window.location.origin}/static/node_modules/azdataGraph/dist/build.js`
|
|
}
|
|
});
|
|
</script>
|
|
|
|
|
|
<script>
|
|
performance.mark('code/willLoadWorkbenchMain');
|
|
</script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.nls.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/workbench/workbench.web.main.js"></script>
|
|
<script src="{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/workbench.js"></script>
|
|
</html>
|