fvtt-pegasus-rpg/templates/partial-actor-status.html

76 lines
4.4 KiB
HTML
Raw Normal View History

2022-03-06 20:07:41 +01:00
<ul class="status-block">
2022-03-07 18:48:52 +01:00
<li class="item flexrow">
<span class="stat-label status-small-label status-col-name"><label class="status-small-label"><strong>Status</strong></label></span>
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Cur</label></span>
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Mod</label></span>
2022-03-11 14:00:14 +01:00
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Max</label></span>
2022-03-06 20:07:41 +01:00
</li>
{{#each data.secondary as |stat2 key|}}
2022-03-07 18:48:52 +01:00
<li class="item flexrow " data-attr-key="{{key}}">
2022-03-06 20:07:41 +01:00
<span class="stat-label flexrow status-col-name" name="{{key}}">
<label class="status-small-label"><strong>{{stat2.label}}</strong><br>
{{#if (eq key "health")}}
(KOV -{{stat2.max}})
{{/if}}
{{#if (eq key "delirium")}}
(MV -{{stat2.max}})
{{/if}}
</label>
</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
2022-10-05 10:24:42 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number" {{@root.disabledBonus}}/>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
2022-03-06 20:07:41 +01:00
</li>
{{/each}}
2022-03-07 18:48:52 +01:00
<li class="item flexrow " data-key="nrg">
2022-03-06 20:07:41 +01:00
<span class="stat-label flexrow status-col-name" name="nrg">
<label class="status-small-label"><strong>{{data.nrg.label}}</strong></label>
</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
2022-10-05 10:24:42 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number" {{@root.disabledBonus}}/>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
2022-07-10 10:22:04 +02:00
<span class="small-label status-small-label">&nbsp;/ {{data.nrg.absolutemax}}</span>
2022-03-07 18:48:52 +01:00
</li>
<li class="item flexrow " data-key="nrg">
<span class="stat-label flexrow status-col-name" name="activated-nrg">
<label class="status-small-label"><strong>Activated NRG</strong><br>
</span>
2022-03-07 16:00:53 +01:00
<span class="stat-label flexrow status-col-name" name="activated-nrg">
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
2022-03-07 16:00:53 +01:00
</span>
2022-08-01 21:38:42 +02:00
<span class="padd-right status-small-label no-grow">
2022-08-14 15:27:54 +02:00
<a class="current-nrg-plus plus-minus-button">+</a>
<a class="current-nrg-minus plus-minus-button">&nbsp;-</a>
2022-08-01 21:38:42 +02:00
</span>
2022-03-09 18:12:40 +01:00
<!--<span class="stat-label flexrow status-col-name" name="momentum">
2022-03-07 18:48:52 +01:00
<label class="status-small-label flexrow"><strong>
<a class="stat-icon lock-unlock-sheet">{{#if editScore}}Lock{{else}}Unlock{{/if}}</a>
2022-03-09 18:12:40 +01:00
</strong></label>-->
2022-03-07 18:48:52 +01:00
</span>
2022-03-07 16:00:53 +01:00
</li>
2022-03-07 18:48:52 +01:00
<li class="item flexrow " data-key="momentum">
2022-03-07 16:00:53 +01:00
<span class="stat-label flexrow status-col-name" name="momentum">
<label class="status-small-label"><strong>Momentum</strong></label>
</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.momentum.value" value="{{data.momentum.value}}" data-dtype="Number"/>
2022-07-10 10:22:04 +02:00
<span class="padd-right status-small-label no-grow">
2022-03-07 16:00:53 +01:00
<a class="momentum-plus plus-minus-button">+</a>
2022-07-10 10:22:04 +02:00
<a class="momentum-minus plus-minus-button">&nbsp;-</a>
2022-03-07 16:00:53 +01:00
</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right status-small-label no-grow" name="system.momentum.max" value="{{data.momentum.max}}" data-dtype="Number"/>
2022-07-10 10:22:04 +02:00
<span class="small-label status-small-label">&nbsp;</span>
2022-03-06 20:07:41 +01:00
</li>
2022-03-07 16:00:53 +01:00
<!--<li class="item flexrow list-item" data-key="lock-unlock">
<span class="stat-label flexrow status-col-name" name="momentum">
<a class="stat-icon lock-unlock-sheet"><img class="small-button-container"
src="systems/fvtt-pegasus-rpg/images/icons/{{#if editStatSkill}}unlocked.svg{{else}}locked.svg{{/if}}" alt="lock/unlock"
></a>
</span>-->
</li>
2022-03-06 20:07:41 +01:00
</ul>
<!-- <span class="small-label padd-right packed-left">Act</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
2022-03-06 20:07:41 +01:00
-->