Add options to import documents into specific folders or compendium packs and sort them by tier.
This commit is contained in:
parent
3e9bc42ca4
commit
f5153485af
4 changed files with 133 additions and 10 deletions
|
|
@ -76,6 +76,35 @@
|
|||
{{/each}}
|
||||
</div>
|
||||
|
||||
<div class="import-options"
|
||||
style="margin-top: 10px; padding: 10px; background: rgba(0,0,0,0.1); border-radius: 5px;">
|
||||
<div class="form-group">
|
||||
<label>Import Target</label>
|
||||
<select name="importTarget">
|
||||
<option value="">World (Root)</option>
|
||||
{{#if folders.length}}
|
||||
<optgroup label="Folders">
|
||||
{{#each folders}}
|
||||
<option value="{{this.id}}">{{this.name}}</option>
|
||||
{{/each}}
|
||||
</optgroup>
|
||||
{{/if}}
|
||||
{{#if packs.length}}
|
||||
<optgroup label="Compendiums">
|
||||
{{#each packs}}
|
||||
<option value="{{this.collection}}">{{this.metadata.label}}</option>
|
||||
{{/each}}
|
||||
</optgroup>
|
||||
{{/if}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>
|
||||
<input type="checkbox" name="sortTier"> Sort into Sub-folders by Tier
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="action-footer">
|
||||
<button type="button" data-action="back"><i class="fas fa-arrow-left"></i> Back</button>
|
||||
<button type="button" data-action="import"><i class="fas fa-file-import"></i> Confirm Import</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue