update ActorSheet to ActorSheetV2 and do a general cleanup pass
move editable-input partial into its own file so it doesn't have to be copy-pasted everywhere change css to use nesting
This commit is contained in:
@@ -1,20 +1,3 @@
|
||||
{{#*inline "editable-input"}}
|
||||
<div class="editable-input editable-{{type}}">
|
||||
{{#if @root.editable}}
|
||||
<input type="{{type}}" name="{{name}}" value="{{value}}" placeholder="{{placeholder}}">
|
||||
{{else}}
|
||||
<div>
|
||||
{{value}}
|
||||
{{#unless value}}{{placeholder}}{{/unless}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if placeholder}}
|
||||
<div class="placeholder">{{placeholder}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/inline}}
|
||||
|
||||
<div class="item-sheet {{ cssClass }}" autocomplete="off">
|
||||
<div class="row">
|
||||
<img class="item-image" src="{{ item.img }}" title="{{ item.name }}" {{#if editable}}data-edit="img"{{/if}}>
|
||||
@@ -26,4 +9,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user