266 lines
9.7 KiB
Handlebars
266 lines
9.7 KiB
Handlebars
{{! Beschreibung Allgemein Tab }}
|
|
<section
|
|
class="standard-form tab scrollable {{tab.cssClass}}"
|
|
data-tab="{{tab.id}}"
|
|
data-group="{{tab.group}}"
|
|
>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.Grad.grad"}}</legend>
|
|
<div class="d-flex justify-content-center align-items-center">
|
|
<input
|
|
type="number"
|
|
class="text center"
|
|
style="max-width:3rem;"
|
|
name="system.grad.grad"
|
|
value="{{system.grad.grad}}"
|
|
/>
|
|
<p style="font-size:18px; font-weight: bold; padding: 0 8px">{{localize
|
|
"Midgard6.Grad.erfahrung"
|
|
}}</p>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
|
"Midgard6.Grad.frei"
|
|
}}</label>
|
|
<input
|
|
type="number"
|
|
class="text center"
|
|
style="max-width:3rem;"
|
|
name="system.grad.erfahrungspunkteFrei"
|
|
value="{{system.grad.erfahrungspunkteFrei}}"
|
|
/>
|
|
</div>
|
|
<p style=" font-size:32px; padding: 0 8px">+</p>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
|
"Midgard6.Grad.eingesetzt"
|
|
}}</label>
|
|
<input
|
|
type="number"
|
|
class="text center"
|
|
style="max-width:3rem;"
|
|
name="system.grad.erfahrungspunkteEingesetzt"
|
|
value="{{system.grad.erfahrungspunkteEingesetzt}}"
|
|
/>
|
|
</div>
|
|
|
|
<p style=" font-size:32px; padding: 0 8px">=</p>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
|
"Midgard6.Grad.gesamt"
|
|
}}</label>
|
|
<input
|
|
type="number"
|
|
class="text center"
|
|
style="max-width:3rem;"
|
|
name="system.grad.erfahrungsschatz"
|
|
value="{{system.grad.erfahrungsschatz}}"
|
|
/>
|
|
</div>
|
|
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.Hintergrund.type.gunst.singular"}}
|
|
&
|
|
{{localize "Midgard6.Hintergrund.type.makel.singular"}}</legend>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
{{#with itemTypes.gunst}}
|
|
{{#each this.items as |gunst|}}
|
|
<div
|
|
class="collapsible"
|
|
data-action="collapsible"
|
|
data-item-id="{{gunst._id}}"
|
|
data-type="Item"
|
|
data-document-class="Item"
|
|
>{{gunst.name}}
|
|
<div>
|
|
<i class="fas fa-expand"></i>
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-delete"
|
|
title="{{localize 'DOCUMENT.Delete' type=gunst.name}}"
|
|
style="z-index:9999"
|
|
data-action="deleteDoc"
|
|
>
|
|
<i class="fas fa-trash"></i>
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
{{{gunst.system.beschreibung}}}
|
|
</div>
|
|
{{/each}}
|
|
{{/with}}
|
|
</div>
|
|
<div class="col-6">
|
|
{{#with itemTypes.makel}}
|
|
{{#each this.items as |makel|}}
|
|
<div
|
|
type="button"
|
|
class="collapsible"
|
|
data-action="collapsible"
|
|
data-item-id="{{makel._id}}"
|
|
data-type="Item"
|
|
data-document-class="Item"
|
|
>{{makel.name}}
|
|
<div>
|
|
<i class="fas fa-expand"></i>
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-delete"
|
|
title="{{localize 'DOCUMENT.Delete' type=gunst.name}}"
|
|
style="z-index:9999"
|
|
data-action="deleteDoc"
|
|
>
|
|
<i class="fas fa-trash"></i>
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
{{{makel.system.beschreibung}}}
|
|
</div>
|
|
{{/each}}
|
|
{{/with}}
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="col-6" style="height: 100%">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.Hintergrund.type.legende.plural"}}</legend>
|
|
<div class="row">
|
|
<div class="col">
|
|
{{#with itemTypes.legende}}
|
|
<div class="itemHeader" style="margin-bottom: 8px">
|
|
<div class="document-controls">
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
|
data-action="createDoc"
|
|
data-document-class="Item"
|
|
data-type="legende"
|
|
>
|
|
<i class="fas fa-plus"></i>
|
|
{{localize "DOCUMENT.Create" type=this.label}}
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{#each this.items as |legende|}}
|
|
<div
|
|
class="collapsible"
|
|
data-action="collapsible"
|
|
data-item-id="{{legende._id}}"
|
|
data-type="Item"
|
|
data-document-class="Item"
|
|
>{{legende.name}}
|
|
<div>
|
|
<i class="fas fa-expand"></i>
|
|
<a
|
|
class="item-control item-edit"
|
|
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
|
data-action="viewDoc"
|
|
>
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-delete"
|
|
title="{{localize 'DOCUMENT.Delete' type=legende.name}}"
|
|
style="z-index:9999"
|
|
data-action="deleteDoc"
|
|
>
|
|
<i class="fas fa-trash"></i>
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
{{{legende.system.beschreibung}}}
|
|
</div>
|
|
{{/each}}
|
|
{{/with}}
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="col-6">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.Hintergrund.type.schicksalsgabe.plural"}}</legend>
|
|
<div class="row">
|
|
<div class="col">
|
|
{{#with itemTypes.schicksalsgabe}}
|
|
<div class="itemHeader" style="margin-bottom: 8px">
|
|
<div class="document-controls">
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
|
data-action="createDoc"
|
|
data-document-class="Item"
|
|
data-type="schicksalsgabe"
|
|
>
|
|
<i class="fas fa-plus"></i>
|
|
{{localize "DOCUMENT.Create" type=this.label}}
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{#each this.items as |schicksalsgabe|}}
|
|
<div
|
|
class="collapsible"
|
|
data-action="collapsible"
|
|
data-item-id="{{schicksalsgabe._id}}"
|
|
data-type="Item"
|
|
data-document-class="Item"
|
|
>{{schicksalsgabe.name}}
|
|
<div>
|
|
<i class="fas fa-expand"></i>
|
|
{{#if @root.editable}}
|
|
<a
|
|
class="item-control item-delete"
|
|
title="{{localize 'DOCUMENT.Delete' type=schicksalsgabe.name}}"
|
|
style="z-index:9999"
|
|
data-action="deleteDoc"
|
|
>
|
|
<i class="fas fa-trash"></i>
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
{{{gunst.system.beschreibung}}}
|
|
</div>
|
|
{{/each}}
|
|
{{/with}}
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section> |