38 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="ame-block">
 | |
|   <span class="flexrow">
 | |
|     <h4 class="ame-margin ame-subtitle">{{typedata.label}}</h4>
 | |
|     <div class="item-filler"> </div>
 | |
| 
 | |
|     <select class="input-numeric-short padd-right status-small-label color-class-common" type="text"
 | |
|       name="system.amestype.{{typeame}}.malus" value="{{typedata.malus}}" data-dtype="Number">
 | |
|       {{#select typedata.malus}}
 | |
|       <option value="0">0</option>
 | |
|       <option value="-1">-1</option>
 | |
|       <option value="-2">-2</option>
 | |
|       <option value="-3">-3</option>
 | |
|       {{/select}}
 | |
|     </select>
 | |
| 
 | |
|     <input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
 | |
|       name="system.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="system.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless
 | |
|       @root.editScore}}disabled{{/unless}}>
 | |
|   </span>
 | |
| 
 | |
|   <ul class="ame-margin">
 | |
|     <li class="ame-padding item stat flexrow item-ame-roll" data-ame-key="{{key}}">
 | |
|       {{#each system.ames as |ame key|}}
 | |
|       {{#if (eq ame.type ../typeame)}}
 | |
|       <span class="ame-label ame-margin " name="{{key}}">
 | |
|         <button class="common-button roll-ame-button" data-ame-key="{{key}}">{{ame.label}}</button>
 | |
|         <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
 | |
|           name="system.ames.{{key}}.value" value="{{ame.value}}" data-dtype="Number" {{#unless
 | |
|           @root.editScore}}disabled{{/unless}} />
 | |
|       </span>
 | |
|       {{/if}}
 | |
|       {{/each}}
 | |
|     </li>
 | |
|   </ul>
 | |
| </div> |