Reviewed-on: #50 Co-authored-by: Byroks <byroks@gmail.com>
This commit was merged in pull request #50.
This commit is contained in:
1 parent
59f887fa5e
commit
4c097f7013
22 files changed
+559
-720
No files matched your search
@@ -15,7 +15,7 @@
|
||||
<div class="col-6 row align-items-center" style="width: 100%; margin-left: 0">
|
||||
<a
|
||||
class="col-8"
|
||||
data-action="rollSkill"
|
||||
data-action="roll"
|
||||
data-name="{{localize localizationName}}"
|
||||
data-path="{{field.fieldPath}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
@@ -25,7 +25,7 @@
|
||||
}}</p>
|
||||
</a>
|
||||
<a
|
||||
data-action="rollSkill"
|
||||
data-action="roll"
|
||||
data-name="{{localize localizationName}}"
|
||||
data-path="{{field.fieldPath}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
@@ -83,7 +83,7 @@
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<a
|
||||
class=""
|
||||
data-action="rollSkill"
|
||||
data-action="roll"
|
||||
data-name="{{localize localizationName}}"
|
||||
data-path="{{field.fieldPath}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
@@ -93,8 +93,8 @@
|
||||
<input
|
||||
class="resistenzenAttribut"
|
||||
type="number"
|
||||
name="{{field.fieldPath}}"
|
||||
value="{{value}}"
|
||||
name="{{field.fields.value.fieldPath}}"
|
||||
value="{{value.value}}"
|
||||
{{#if @root.system.locked}}disabled{{/if}}
|
||||
/>
|
||||
</div>
|
||||
@@ -202,7 +202,7 @@
|
||||
<a
|
||||
class="item-control"
|
||||
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
||||
data-action="rollWeapon"
|
||||
data-action="roll"
|
||||
data-item-id="{{weapon.id}}"
|
||||
data-skillPath="{{weapon.path}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
@@ -261,7 +261,7 @@
|
||||
<a
|
||||
class="item-control"
|
||||
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
||||
data-action="rollSpell"
|
||||
data-action="roll"
|
||||
data-item-id="{{weapon.id}}"
|
||||
data-skillPath="{{weapon.path}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<p class="col-3 item-name">{{zauber.system.eigenschaften.ursprung}}</p>
|
||||
<p class="col-2 item-name">{{localize "Midgard6.Zauber.stufe"}} {{zauber.system.eigenschaften.stufe}}</p>
|
||||
<a class="align-self-center col-1 fa-solid fa-book-open" {{#unless @root.editable}}disabled{{/unless}} data-action="cycleEquip" data-item-id="{{zauber._id}}" style="{{#if zauber.system.equipped}}color: var(--M6-text-brown);{{/if}}"></a>
|
||||
<a class="align-self-center col-2 fa-solid fa-dice-d20" data-action="rollSpell" {{#unless @root.editable}}disabled{{/unless}} data-name="{{zauber.name}}" data-item-id="{{zauber._id}}"></a>
|
||||
<a class="align-self-center col-2 fa-solid fa-dice-d20" data-action="roll" {{#unless @root.editable}}disabled{{/unless}} data-name="{{zauber.name}}" data-item-id="{{zauber._id}}"></a>
|
||||
<div class="col-1 d-flex document-controls" style="margin: 0.5rem 0; padding: 0">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<div class="segmented-button-row">
|
||||
<!-- Option 1 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="vorteil-segment" value="-1" />
|
||||
<input type="radio" name="vorteil-segment" value="-1" data-value="-1" />
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-caret-down"></i>
|
||||
<i class="icon fa-solid fa-dice-d20"></i>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<!-- Option 2 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="vorteil-segment" value="0" checked />
|
||||
<input type="radio" name="vorteil-segment" value="0" data-value="0" checked />
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-dice-d20" ></i>
|
||||
</span>
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<!-- Option 3 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="vorteil-segment" value="1" />
|
||||
<input type="radio" name="vorteil-segment" value="1" data-value="1"/>
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-dice-d20"></i>
|
||||
<i class="icon fa-solid fa-caret-up"></i>
|
||||
|
||||
@@ -21,7 +21,36 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6"></div>
|
||||
<div class="col-6" style="margin-bottom: 4px">
|
||||
<div class="segmented-button-row">
|
||||
<!-- Option 1 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="system.angriffMod" value="-1" data-value="-1" {{#ifeq system.angriffMod -1 }}checked{{/ifeq}}/>
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-caret-down"></i>
|
||||
<i class="icon fa-solid fa-dice-d20"></i>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<!-- Option 2 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="system.angriffMod" value="0" data-value="0" {{#ifeq system.angriffMod 0 }}checked{{/ifeq}} />
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-dice-d20" ></i>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<!-- Option 3 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="system.angriffMod" value="1" data-value="1"{{#ifeq system.angriffMod 1 }}checked{{/ifeq}}/>
|
||||
<span class="segmented-button__content">
|
||||
<i class="icon fa-solid fa-dice-d20"></i>
|
||||
<i class="icon fa-solid fa-caret-up"></i>
|
||||
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6" style="margin-bottom: 4px">
|
||||
<div class="d-flex justify-content-between">
|
||||
<p>{{localize "Midgard6.Item.fertigkeit"}}</p>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{{! Effects Tab }}
|
||||
<section class="tab effects flexcol scrollable {{tab.cssClass}}" data-group="primary" data-tab="effects">
|
||||
<fieldset>
|
||||
<ul class="effects-list">
|
||||
{{#each effects as |section sid|}}
|
||||
<li class="effects-header flexrow draggable" data-effect-type="{{section.type}}">
|
||||
@@ -21,7 +22,6 @@
|
||||
data-img="icons/svg/aura.svg"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.New" type=(localize "UTS.Effect.Label")}}
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -38,7 +38,7 @@
|
||||
<div class="effect-duration">{{effect.duration.label}}</div>
|
||||
<div class="document-controls flexrow">
|
||||
{{#if @root.editable}}
|
||||
<a class="effect-control" data-action="toggleEffect" title="{{localize 'UTS.Effect.Toggle'}}">
|
||||
<a class="effect-control" data-action="toggleEffect" title="{{#if effect.disabled}}{{localize 'Midgard6.Effect.ToggleOn'}}{{else}}{{localize 'Midgard6.Effect.ToggleOff'}}{{/if}}">
|
||||
<i class="fas {{#if effect.disabled}}fa-check{{else}}fa-times{{/if}}"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
@@ -54,6 +54,8 @@
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<hr>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</section>
|
||||
Reference in new issue
Block a user