-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more options to Compendium Browser roll table dialogs (#8246)
- Loading branch information
Showing
4 changed files
with
83 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<form> | ||
{{#if rollTables}} | ||
<div class="form-group"> | ||
<label>{{localize "PF2E.CompendiumBrowser.RollTable.AddLabel"}}</label> | ||
<select name="roll-table"> | ||
{{#each rollTables as |table|}} | ||
<option value="{{table.id}}">{{table.name}}</option> | ||
{{/each}} | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<label>{{localize "PF2E.CompendiumBrowser.RollTable.WeightLabel"}}</label> | ||
<input type="text" name="weight" placeholder="1"> | ||
</div> | ||
<hr> | ||
<p>{{localize "PF2E.CompendiumBrowser.RollTable.AddDialogText" count=count}}</p> | ||
{{else}} | ||
<div class="form-group"> | ||
<label>{{localize "Name"}}</label> | ||
<input type="text" name="name" placeholder="{{localize "PF2E.CompendiumBrowser.Title"}}"> | ||
</div> | ||
<div class="form-group"> | ||
<label>{{localize "PF2E.CompendiumBrowser.RollTable.WeightLabel"}}</label> | ||
<input type="text" name="weight" placeholder="1"> | ||
</div> | ||
<hr> | ||
<p>{{localize "PF2E.CompendiumBrowser.RollTable.CreateDialogText" count=count}}</p> | ||
{{/if}} | ||
<br> | ||
</form> |