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:
Sven Balzer
2024-11-05 13:07:17 +01:00
parent 2f9410180c
commit 6aa65be7a0
8 changed files with 721 additions and 803 deletions
+11
View File
@@ -0,0 +1,11 @@
<div class="editable-input editable-{{type}}">
{{#if (eq type "checkbox")}}
<input type="checkbox" name="{{name}}" {{checked value}}>
{{else}}
<input type="{{type}}" name="{{name}}" value="{{value}}" placeholder="{{placeholder}}">
{{/if}}
{{#if placeholder}}
<div class="placeholder">{{placeholder}}</div>
{{/if}}
</div>