further dev

This commit is contained in:
Joscha Maier 2024-11-24 18:59:43 +01:00
parent dd42e5487c
commit 8470800ee3
No known key found for this signature in database
GPG Key ID: 8C4D045D84A30ABA
3 changed files with 691 additions and 182 deletions

View File

@ -17,7 +17,7 @@ Hooks.once("init", async function() {
Actors.unregisterSheet("core", ActorSheet);
Actors.registerSheet(SYSTEM.id, "{{sheets.BaseActorSheet}}", {types: ["PlayerCharacter"], makeDefault: true});
sheets.BaseActorSheet.getTemplate();
CONFIG.Actor.dataModels = models.playerCharacterModel;
})

850
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,20 @@
<form class="{{cssClass}} {{actor.type}} flexcol" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="100" width="100"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
<div class="resources grid">
<div class="resource flex-group-center">
<label for="system.trope" class="resource-label">Trope</label>
<div class="resource-content flexrow flex-center flex-between">
<input type="text" name="system.trope" value="{{system.trope}}" data-dtype="String"/>
</div>
</div>
</div>
</div>
</header>
</form>