|
@@ -57,29 +57,31 @@ function activateFAQ(app: Application): void {
|
|
|
widget.node.innerHTML = `
|
|
|
<body>
|
|
|
<section id="faqheader">
|
|
|
- <svg class="faqsvg" width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
|
|
|
- <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
|
|
|
- <title>Group 2</title>
|
|
|
- <desc>Created with Sketch.</desc>
|
|
|
- <defs>
|
|
|
- <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
|
- <stop stop-color="#FCAD3C" offset="0%"></stop>
|
|
|
- <stop stop-color="#F4770A" offset="100%"></stop>
|
|
|
- </linearGradient>
|
|
|
- <path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" id="path-2"></path>
|
|
|
- </defs>
|
|
|
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
|
- <g id="Artboard-1" transform="translate(-83.000000, -167.000000)">
|
|
|
- <g id="Group-2" transform="translate(83.000000, 167.000000)">
|
|
|
- <g id="Oval-1">
|
|
|
- <use fill="#FCAE3E" xlink:href="#path-2"></use>
|
|
|
- <use fill="url(#linearGradient-1)" xlink:href="#path-2"></use>
|
|
|
- </g>
|
|
|
- <path d="M21.3993599,31.3568407 C21.3993599,30.3520815 20.5890702,29.5417919 19.5518995,29.5417919 C18.5471403,29.5417919 17.7368507,30.3520815 17.7368507,31.3568407 C17.7368507,32.3940114 18.5471403,33.2043011 19.5518995,33.2043011 C20.5890702,33.2043011 21.3993599,32.3940114 21.3993599,31.3568407 L21.3993599,31.3568407 Z M21.2048904,27.4674504 C21.1724788,26.2033985 21.3993599,24.9717583 21.8855337,23.9021759 C22.4689422,22.6057125 23.2792319,21.860246 24.1543447,21.1147796 C25.1915154,20.1748436 26.3907441,19.1376728 26.9093295,17.1605661 C27.2334453,16.0261606 27.2658569,15.1186362 27.0713874,13.9518191 C26.8120947,12.6553557 26.2610978,11.456127 25.4508081,10.516191 C24.6405185,9.57625501 23.6357593,8.8956117 22.4689422,8.47426109 C21.5614178,8.15014523 20.7511282,8.05291047 20.2325428,8.02049889 C19.9408385,7.9880873 19.0009025,7.95567572 17.8016739,8.24737999 C16.2135062,8.6687306 14.8522196,9.51143183 13.8150488,10.6782489 C12.7778781,11.9098892 12.1296463,13.4656453 12,15.0862246 L15.3383933,15.4103405 C15.4032165,14.8269319 15.597686,13.6601148 16.3755641,12.6553557 C17.7692623,10.8727184 19.9084269,11.0023648 20.0056617,11.0023648 C20.5566587,11.0347764 21.9503568,11.2616575 22.8902928,12.4608861 C23.3116435,13.0118831 23.6033477,13.724938 23.7329941,14.5028161 C23.8626404,15.2482825 23.8626404,15.7020447 23.6681709,16.4150996 C23.4088782,17.5170935 22.7930581,18.1005021 21.9179453,18.9756149 C20.9131861,19.9479625 19.7139574,20.531371 18.806433,22.5084778 C18.1257897,24.0318223 17.8016739,25.6848132 17.8340854,27.4674504 L21.2048904,27.4674504 Z" id="?" fill="#FFFFFF"></path>
|
|
|
- </g>
|
|
|
- </g>
|
|
|
- </g>
|
|
|
- </svg>
|
|
|
+ <svg width="49px" height="49px" viewBox="0 0 49 49" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
+ <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
|
|
|
+ <title>Group 2</title>
|
|
|
+ <desc>Created with Sketch.</desc>
|
|
|
+ <defs>
|
|
|
+ <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
|
+ <stop stop-color="#90CAF9" offset="0%"></stop>
|
|
|
+ <stop stop-color="#2196F3" offset="100%"></stop>
|
|
|
+ </linearGradient>
|
|
|
+ </defs>
|
|
|
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
|
+ <g id="JupyterLab---Main" transform="translate(-638.000000, -156.000000)">
|
|
|
+ <g id="FAQ-Window" transform="translate(321.000000, 4.000000)">
|
|
|
+ <g id="FAQ-Text-Normal" transform="translate(0.000000, 24.000000)">
|
|
|
+ <g id="Group-9" transform="translate(317.000000, 128.000000)">
|
|
|
+ <g id="Group-2">
|
|
|
+ <path d="M24.5,49 C38.0309764,49 49,38.0309764 49,24.5 C49,10.9690236 38.0309764,0 24.5,0 C10.9690236,0 0,10.9690236 0,24.5 C0,38.0309764 10.9690236,49 24.5,49 Z" id="Oval-1" fill="url(#linearGradient-1)"></path>
|
|
|
+ <path d="M26.2142159,38.4121298 C26.2142159,37.1812999 25.221611,36.188695 23.9510769,36.188695 C22.7202469,36.188695 21.7276421,37.1812999 21.7276421,38.4121298 C21.7276421,39.682664 22.7202469,40.6752688 23.9510769,40.6752688 C25.221611,40.6752688 26.2142159,39.682664 26.2142159,38.4121298 L26.2142159,38.4121298 Z M25.9759907,33.6476267 C25.9362865,32.0991632 26.2142159,30.5904039 26.8097788,29.2801655 C27.5244542,27.6919978 28.517059,26.7788014 29.5890722,25.865605 C30.8596064,24.7141834 32.3286615,23.4436492 32.9639286,21.0216935 C33.3609705,19.6320467 33.4006747,18.5203293 33.1624496,17.0909784 C32.844816,15.5028107 32.1698448,14.0337556 31.1772399,12.882334 C30.1846351,11.7309124 28.9538052,10.8971243 27.5244542,10.3809698 C26.4127368,9.98392791 25.420132,9.86481533 24.7848649,9.82511114 C24.4275272,9.78540694 23.2761056,9.74570275 21.8070505,10.1030405 C19.861545,10.619195 18.193969,11.651504 16.9234348,13.0808549 C15.6529006,14.5896143 14.8588168,16.4954155 14.7,18.4806251 L18.7895318,18.8776671 C18.8689402,18.1629916 19.1071654,16.7336407 20.060066,15.5028107 C21.7673463,13.3190801 24.387823,13.4778969 24.5069356,13.4778969 C25.1819069,13.5176011 26.8891871,13.7955304 28.0406087,15.2645855 C28.5567632,15.9395568 28.914101,16.813049 29.0729177,17.7659497 C29.2317345,18.6791461 29.2317345,19.2350048 28.9935094,20.108497 C28.6758758,21.4584396 27.9214961,22.173115 26.8494829,23.2451282 C25.618653,24.436254 24.1495978,25.1509295 23.0378805,27.5728852 C22.2040924,29.4389823 21.8070505,31.4638961 21.8467547,33.6476267 L25.9759907,33.6476267 Z" id="?" fill="#FFFFFF"></path>
|
|
|
+ </g>
|
|
|
+ </g>
|
|
|
+ </g>
|
|
|
+ </g>
|
|
|
+ </g>
|
|
|
+ </g>
|
|
|
+ </svg>
|
|
|
<h1 class="faqh1">
|
|
|
<span class="short-faq">FAQ</span><span class="long-faq">Frequently Asked Questions</span>
|
|
|
</h1>
|
|
@@ -135,7 +137,6 @@ function activateFAQ(app: Application): void {
|
|
|
id: commandId,
|
|
|
handler: () => {
|
|
|
if (!widget.isAttached) app.shell.addToMainArea(widget);
|
|
|
- tracker.addWidget(widget);
|
|
|
let stack = widget.parent;
|
|
|
if (!stack) {
|
|
|
return;
|