-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This update includes some minor fixes: * change item pile module integration to use financeValues.cash * improvements to actor sheet layout * refactor of settings template
- Loading branch information
1 parent
25e1b37
commit a793c96
Showing
5 changed files
with
44 additions
and
76 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
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,32 @@ | ||
{{#each this as |setting key|}} | ||
<div class="form-group"> | ||
<label>{{{localize setting.name}}}</label> | ||
<div class="form-fields"> | ||
{{#iff setting.htmlType "===" "Number"}} | ||
<input type="number" name="{{key}}" value="{{setting.value}}" data-dtype="Number"> | ||
{{/iff}} | ||
{{#iff setting.htmlType "===" "String"}} | ||
<input type="text" name="{{key}}" value="{{setting.value}}" data-dtype="String"> | ||
{{/iff}} | ||
|
||
{{#iff setting.htmlType "===" "Select"}} | ||
<select name="{{key}}" id = "{{key}}" value="{{setting.value}}"> | ||
{{selectOptions setting.choices selected = setting.value localize = setting.localize}} | ||
</select> | ||
{{/iff}} | ||
|
||
{{#iff setting.htmlType "===" "Boolean"}} | ||
<span class="advanced-settings-checkbox-wrapper"> | ||
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{#if setting.value}}checked{{/if}}> | ||
</span> | ||
{{/iff}} | ||
|
||
{{#iff setting.htmlType "===" "Color"}} | ||
<span class = "color-select" name="{{key}}"> | ||
{{colorPicker name=key value = setting.value default=setting.value}} | ||
</span> | ||
{{/iff}} | ||
</div> | ||
<p class="notes">{{{localize setting.hint}}}</p> | ||
</div> | ||
{{/each}} |