瀏覽代碼

Added tour variable

Roshan Prabhakar 8 年之前
父節點
當前提交
aacfc8729c
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/landing/plugin.ts

+ 5 - 0
src/landing/plugin.ts

@@ -76,6 +76,11 @@ function activateLanding(app: Application, services: ServiceManager): void {
     app.commands.execute('file-operations:new-notebook');
   });
 
+  let tour = document.createElement('span')
+  title.textContent = 'Take a tour';
+  title.className = 'jp-Landing-tour';
+  dialog.appendChild(header);
+
   img = body.getElementsByClassName('jp-ImageConsole')[0];
   img.addEventListener('click', () => {
     app.commands.execute(`console:create-${services.kernelspecs.default}`);