Step 4 - Manage perks
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
<li class="flexrow"><label class="generic-label">Level</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.level" value="{{data.level}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Remaining round</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.roundcount" value="{{data.roundcount}}" data-dtype="Number">
|
||||
{{#select data.roundcount}}
|
||||
<option value="3">Ready</option>
|
||||
<option value="2">Activated</option>
|
||||
<option value="1">2 Rounds left</option>
|
||||
<option value="0">1 Round left</option>
|
||||
<li class="flexrow"><label class="generic-label">Perk Status</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.status" value="{{data.status}}" data-dtype="String">
|
||||
{{#select data.status}}
|
||||
<option value="ready">Ready</option>
|
||||
<option value="activated">Activated</option>
|
||||
<option value="round2">2 Rounds left</option>
|
||||
<option value="round1">1 Round left</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
@@ -37,7 +37,24 @@
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Effects Gained</label>
|
||||
</li>
|
||||
<li>
|
||||
<ul class="ul-level1">
|
||||
<li class="flexrow"><div class="drop-perk-effect"><label>Drop Effects here !</label></div>
|
||||
</li>
|
||||
{{#each data.effectsgained as |effect idx|}}
|
||||
<li class="flexrow">
|
||||
<label name="data.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
||||
<div class="item-controls padd-left">
|
||||
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
{{#each data.features as |feature key|}}
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">{{feature.label}} ? </label>
|
||||
|
Reference in New Issue
Block a user