use link for example

pull/1/head
yann300 6 years ago
parent 854e743b2d
commit 33852ebc69
  1. 4
      src/app/ui/landing-page/landing-page.js

@ -93,8 +93,8 @@ export class LandingPage extends BaseApi {
let load = function (service, item, examples) { let load = function (service, item, examples) {
let compilerImport = new CompilerImport() let compilerImport = new CompilerImport()
let fileProviders = globalRegistry.get('fileproviders').api let fileProviders = globalRegistry.get('fileproviders').api
const msg = yo`<div><span>Enter the ${item} you would like to load.</span> const msg = yo`<div class="p-2"><span>Enter the ${item} you would like to load.</span>
<div>e.g ${examples.map((url) => { return yo`<div>${url}</div>` })}</div></div>` <div>e.g ${examples.map((url) => { return yo`<div><a>${url}</a></div>` })}</div></div>`
modalDialogCustom.prompt(`Import from ${service}`, msg, null, (target) => { modalDialogCustom.prompt(`Import from ${service}`, msg, null, (target) => {
if (target !== '') { if (target !== '') {

Loading…
Cancel
Save