Avancement feuille de personnage
Avancement feuille d'items Ajout des données JSON pour génération des compendiums.
This commit is contained in:
		| @@ -17,7 +17,6 @@ | ||||
|  | ||||
|     {{!-- Description Tab --}} | ||||
|     <div class="tab" data-group="primary" data-tab="description"> | ||||
|  | ||||
|       <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize "subtype"}}</label> | ||||
|         <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|   | ||||
							
								
								
									
										26
									
								
								templates/item/item-sheet.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								templates/item/item-sheet.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| <form class="{{cssClass}}" autocomplete="off"> | ||||
|     <div class="wrap flexrow"> | ||||
|         <div class="main flex1"> | ||||
|             {{> "systems/bol/templates/item/parts/item-header.hbs"}} | ||||
|             {{!-- Sheet Tab Navigation --}} | ||||
|             <nav class="sheet-tabs tabs" data-group="primary"> | ||||
|                 <a class="item" data-tab="description">{{localize "BOL.ui.tab.description"}}</a> | ||||
|                 <a class="item" data-tab="properties">{{localize "BOL.ui.tab.properties"}}</a> | ||||
|             </nav> | ||||
|             {{!-- Sheet Body --}} | ||||
|             <section class="sheet-body"> | ||||
|                 <div class="tab" data-group="primary" data-tab="description"> | ||||
|                     {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} | ||||
|                 </div> | ||||
|                 <div class="tab properties" data-group="primary" data-tab="properties"> | ||||
|                     {{#if (equals item.type "item")}} | ||||
|                         {{> "systems/bol/templates/item/parts/properties/item-properties.hbs"}} | ||||
|                     {{/if}} | ||||
|                     {{#if (equals item.type "feature")}} | ||||
|                         {{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}} | ||||
|                     {{/if}} | ||||
|                 </div> | ||||
|             </section> | ||||
|         </div> | ||||
|     </div> | ||||
| </form> | ||||
							
								
								
									
										11
									
								
								templates/item/parts/item-header.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								templates/item/parts/item-header.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| {{!-- Sheet Header --}} | ||||
| <header class="sheet-header"> | ||||
|     <div class="header-field-group flexrow"> | ||||
|         <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/> | ||||
|         <h1><input class="itemname flex6" name="name" type="text" value="{{name}}" placeholder="Name"/></h1> | ||||
|     </div> | ||||
| <!--    <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>--> | ||||
| <!--    <div class="header-fields">--> | ||||
| <!--        <h1 class="itemname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>--> | ||||
| <!--    </div>--> | ||||
| </header> | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/armor-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/armor-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/feature-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/feature-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/item-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/item-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/melee-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/melee-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/ranged-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/ranged-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
							
								
								
									
										28
									
								
								templates/item/parts/properties/weapon-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								templates/item/parts/properties/weapon-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">{{localize "subtype"}}</label> | ||||
|     <select name="data.subtype" value="{{data.subtype}}" data-dtype="String"> | ||||
|         {{#select data.subtype}} | ||||
|             <option value="boon">{{localize "Avantage"}}</option> | ||||
|             <option value="flaw">{{localize "Flaw"}}</option> | ||||
|             <option value="career">{{localize "Career"}}</option> | ||||
|             <option value="language">{{localize "Language"}}</option> | ||||
|         {{/select}} | ||||
|     </select> | ||||
| </div> | ||||
|  | ||||
| <!--            <div class="grid grid-2col">--> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Quantity</label> | ||||
|     <input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <div class="property flexrow"> | ||||
|     <label class="property-label">Weight</label> | ||||
|     <input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/> | ||||
| </div> | ||||
| <!--            </div>--> | ||||
| {{#each data.properties as |property key|}} | ||||
|     <div class="property flexrow"> | ||||
|         <label class="property-label">{{localize key}}</label> | ||||
|         <label class="attribute-value checkbox"><input type="checkbox" name="data.properties.{{key}}" {{checked property}}/></label> | ||||
|     </div> | ||||
| {{/each}} | ||||
		Reference in New Issue
	
	Block a user