84 lines
4.9 KiB
HTML
84 lines
4.9 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
<header class="sheet-header">
|
|
<img src="{{item.img}}" data-edit="img" title="{{item.name}}" height="64" width="64"/>
|
|
<h1><input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'Name' }}"/></h1>
|
|
</header>
|
|
<div class="sheet-content">
|
|
<div class="flexrow">
|
|
<div>Rank Bonus Progression
|
|
<select class="select-fixed-width" name="system.bonus_progression" value="{{system.bonus_progression}}" itemid="{{ item._id }}">
|
|
{{selectOptions config.rankBonusProgressionList selected=system.bonus_progression valueAttr="key" labelAttr="label"}}
|
|
</select>
|
|
</div>
|
|
<div>Game system
|
|
<select class="select-fixed-width" name="system.game_system" value="{{system.game_system}}" itemid="{{ item._id }}">
|
|
{{selectOptions config.gameSystems selected=system.game_system valueAttr="key" labelAttr="label"}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
Skill Category
|
|
<select name="system.category" class="app-stat-selector" value="{{system.category}}">
|
|
{{selectOptions owned_skillcats selected=selected_skillcat nameAttr="name" valueAttr="name" labelAttr="name"}}
|
|
</select>
|
|
</div>
|
|
<div>
|
|
Skill Designation
|
|
<select name="system.designation" class="app-stat-selector" value="{{system.designation}}" itemid="{{ item._id }}">
|
|
{{selectOptions designations selected=system.designation}}
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<table>
|
|
<tr>
|
|
<th>{{localize "rmfrp.skill.favorite"}}</th>
|
|
<th>{{localize "rmfrp.skill.ranks"}}</th>
|
|
<th>{{localize "rmfrp.skill.new_ranks"}}</th>
|
|
<th>{{localize "rmfrp.skill.rank_bonus"}}</th>
|
|
<th>{{localize "rmfrp.skill.category_bonus"}}</th>
|
|
<th>{{localize "rmfrp.skill.item_bonus"}}</th>
|
|
<th>{{localize "rmfrp.skill.special_bonus_1"}}</th>
|
|
<th>{{localize "rmfrp.skill.special_bonus_2"}}</th>
|
|
<th>{{localize "rmfrp.skill.total_bonus"}}</th>
|
|
</tr>
|
|
<td>
|
|
<input type="checkbox" name="system.favorite" {{checked system.favorite}}/>
|
|
</td>
|
|
<td>
|
|
<input name="system.ranks" type="text" value="{{system.ranks}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
{{#switch system.new_ranks.value}}
|
|
{{#case 0}} <a class="skillsheet-newrank" data-item-id="{{item._id}}" value="{{system.new_ranks.value}}"><i class="fa-regular fa-square"></i> <i class="fa-regular fa-square"></i> <i class="fa-regular fa-square"></i></a> {{/case}}
|
|
{{#case 1}} <a class="skillsheet-newrank" data-item-id="{{item._id}}" value="{{system.new_ranks.value}}"><i class="fa-regular fa-square-check"></i> <i class="fa-regular fa-square"></i> <i class="fa-regular fa-square"></i></a> {{/case}}
|
|
{{#case 2}} <a class="skillsheet-newrank" data-item-id="{{item._id}}" value="{{system.new_ranks.value}}"><i class="fa-regular fa-square-check"></i> <i class="fa-regular fa-square-check"></i> <i class="fa-regular fa-square"></i></a> {{/case}}
|
|
{{#case 3}} <a class="skillsheet-newrank" data-item-id="{{item._id}}" value="{{system.new_ranks.value}}"><i class="fa-regular fa-square-check"></i> <i class="fa-regular fa-square-check"></i> <i class="fa-regular fa-square-check"></i></a> {{/case}}
|
|
{{/switch}}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<input name="system.rank_bonus" type="text" value="{{system.rank_bonus}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<input name="system.category_bonus" type="text" value="{{system.category_bonus}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<input name="system.item_bonus" type="text" value="{{system.item_bonus}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<input name="system.special_bonus_1" type="text" value="{{system.special_bonus_1}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<input name="system.special_bonus_2" type="text" value="{{system.special_bonus_2}}" data-dtype="Number"/>
|
|
</td>
|
|
<td>
|
|
<input name="system.total_bonus" type="text" value="{{system.total_bonus}}" data-dtype="Number"/>
|
|
</td>
|
|
</table>
|
|
{{localize "rmfrp.skill.description"}}
|
|
{{editor enrichedDescription target="system.description" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</div>
|
|
</form>
|