mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
added deploy entry on welocme page (#5871)
* added deploy entry on welocme page * deploy section on welcome page * remove docker deploy * remove deploy docker entry for now
This commit is contained in:
@@ -5,10 +5,18 @@
|
|||||||
|
|
||||||
import { escape } from 'vs/base/common/strings';
|
import { escape } from 'vs/base/common/strings';
|
||||||
import { localize } from 'vs/nls';
|
import { localize } from 'vs/nls';
|
||||||
|
import product from 'vs/platform/product/node/product';
|
||||||
|
|
||||||
export function used() {
|
export function used() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showDeploySection(): boolean {
|
||||||
|
// only show the deploy section for insider build and dev environment for now until the feature is stable
|
||||||
|
// tracking issue: https://github.com/microsoft/azuredatastudio/issues/5987
|
||||||
|
return product.quality !== 'stable';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export default () => `
|
export default () => `
|
||||||
<div class="welcomePageContainer">
|
<div class="welcomePageContainer">
|
||||||
<div class="welcomePage">
|
<div class="welcomePage">
|
||||||
@@ -28,6 +36,14 @@ export default () => `
|
|||||||
<li class="windows-only linux-only"><a href="command:workbench.action.files.openFile">${escape(localize('welcomePage.openFileLinuxPC', "Open file"))}</a></li>
|
<li class="windows-only linux-only"><a href="command:workbench.action.files.openFile">${escape(localize('welcomePage.openFileLinuxPC', "Open file"))}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="section deploy" style="display:${showDeploySection() ? 'block' : 'none'}">
|
||||||
|
<h2 class="caption">${escape(localize('welcomePage.deploy', "Deploy"))}</h2>
|
||||||
|
<ul>
|
||||||
|
<!--<li><a href="command:azdata.resource.sql-image.deploy">${escape(localize('welcomePage.deploy-image', "Deploy SQL Server on Docker…"))}</a></li>-->
|
||||||
|
<li><a href="command:azdata.resource.sql-bdc.deploy">${escape(localize('welcomePage.deploy-bdc', "Deploy SQL Server big data cluster…"))}</a></li>
|
||||||
|
<li><a href="command:azdata.resource.deploy">${escape(localize('welcomePage.MoreOptions', "More…"))}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div class="section recent">
|
<div class="section recent">
|
||||||
<h2 class="caption">${escape(localize('welcomePage.recent', "Recent"))}</h2>
|
<h2 class="caption">${escape(localize('welcomePage.recent', "Recent"))}</h2>
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
|
|||||||
Reference in New Issue
Block a user