dh-importer/templates/importer.hbs
2026-01-23 20:06:09 +01:00

27 lines
No EOL
714 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..."></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>