First sheet release with datas
This commit is contained in:
@@ -1,13 +1,29 @@
|
||||
{{#each data.ames as |ame key|}}
|
||||
<span class="flexrow">
|
||||
<h4 class="ame-margin ame-subtitle">{{typedata.label}}</h4>
|
||||
<div class="item-filler"> </div>
|
||||
|
||||
<span class="ame-checkbox-label">-1<input class="ame-checkbox" type="checkbox" data-ame-key="{{typeame}}"></span>
|
||||
<span class="ame-checkbox-label">-2<input class="ame-checkbox" type="checkbox" data-ame-key="{{typeame}}"></span>
|
||||
<span class="ame-checkbox-label">-3<input class="ame-checkbox" type="checkbox" data-ame-key="{{typeame}}"></span>
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
||||
name="data.amestype.{{typeame}}.cohesion" value="{{typedata.cohesion}}" data-dtype="Number" {{#unless
|
||||
@root.editScore}}disabled{{/unless}} /> /
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
||||
name="data.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless
|
||||
@root.editScore}}disabled{{/unless}}>
|
||||
</span>
|
||||
|
||||
<ul class="ame-margin">
|
||||
{{#each data.ames as |ame key|}}
|
||||
{{#if (eq ame.type ../typeame)}}
|
||||
<li class="item stat flexrow list-item list-item-shadow item-ame-roll" data-attr-key="{{key}}">
|
||||
<span class="stat-label stat-margin" name="{{key}}">
|
||||
<h4 class="ame-margin"><a class="roll-ame ame-margin" data-stat-key="{{key}}">{{ame.label}}</a></h4>
|
||||
</span>
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.ames.{{key}}.value" value="{{ame.value}}"
|
||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.ames.{{key}}.cohesion" value="{{ame.cohesion}}"
|
||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
|
||||
</li>
|
||||
<li class="ame-padding item stat flexrow item-ame-roll" data-attr-key="{{key}}">
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
|
||||
name="data.ames.{{key}}.value" value="{{ame.value}}" data-dtype="Number" {{#unless
|
||||
@root.editScore}}disabled{{/unless}} />
|
||||
<span class="ame-label ame-margin" name="{{key}}">
|
||||
<a class="roll-ame" data-stat-key="{{key}}">{{ame.label}}</a>
|
||||
</span>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user