Add DialogManager to a global API and create the Ask dialog for the user
This commit is contained in:
parent
02b49687cf
commit
44a88cc7b5
10 changed files with 334 additions and 1 deletions
12
templates/Ask/inputs.hbs
Normal file
12
templates/Ask/inputs.hbs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div class="dialog-content">
|
||||
{{#if description}}
|
||||
<p>
|
||||
{{ description }}
|
||||
</p>
|
||||
{{/if}}
|
||||
{{#each inputs as | i |}}
|
||||
<div class="prompt">
|
||||
{{> (concat (systemFilePath "templates/Ask/inputs/" ) i.type ".hbs") i}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue