27 lines
No EOL
727 B
Handlebars
27 lines
No EOL
727 B
Handlebars
<div class="dh-wrapper">
|
|
|
|
|
|
{{#if isInput}}
|
|
<div class="form-group">
|
|
<label>Import Type</label>
|
|
<select name="type">
|
|
{{#each types as |label key|}}
|
|
<option value="{{key}}">{{label}}</option>
|
|
{{/each}}
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group" style="flex: 1;">
|
|
<label>Paste Statblocks</label>
|
|
<textarea name="text" placeholder="Paste data here...">{{inputText}}</textarea>
|
|
</div>
|
|
|
|
<div class="action-footer">
|
|
<button type="button" data-action="parse"><i class="fas fa-search"></i> Review Data</button>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if isPreview}}
|
|
{{> "modules/dh-importer/templates/preview.hbs"}}
|
|
{{/if}}
|
|
</div> |