|
@@ -1,24 +1,23 @@
|
|
<div class="details-title">Trefferpunkte</div>
|
|
<div class="details-title">Trefferpunkte</div>
|
|
|
|
|
|
<div class="life-container">
|
|
<div class="life-container">
|
|
- <div class="life-box">
|
|
|
|
- <input type="number" class="life-input" [(ngModel)]="maxHitPoints" />
|
|
|
|
- <div for="" class="life-label">Maximale Trefferpunkte</div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="life-box">
|
|
|
|
- <input
|
|
|
|
- type="number"
|
|
|
|
- class="life-input"
|
|
|
|
- [(ngModel)]="currentHitPoints"
|
|
|
|
- (change)="checkValidity()"
|
|
|
|
- />
|
|
|
|
- <div for="" class="life-label">Momentane Trefferpunkte</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="life-box">
|
|
|
|
- <input type="number" class="life-input" [(ngModel)]="temporaryHitPoints" />
|
|
|
|
- <div for="" class="life-label">Temporäre Trefferpunkte</div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <value-box
|
|
|
|
+ [isInput]="true"
|
|
|
|
+ [label]="'Maximale Trefferpunkte'"
|
|
|
|
+ [(ngModel)]="maxHitPoints"
|
|
|
|
+ (change)="checkValidity()"
|
|
|
|
+ ></value-box>
|
|
|
|
+ <value-box
|
|
|
|
+ [isInput]="true"
|
|
|
|
+ [label]="'Momentane Trefferpunkte'"
|
|
|
|
+ [(ngModel)]="currentHitPoints"
|
|
|
|
+ (change)="checkValidity()"
|
|
|
|
+ ></value-box>
|
|
|
|
+ <value-box
|
|
|
|
+ [isInput]="false"
|
|
|
|
+ [label]="'Temporäre Trefferpunkte'"
|
|
|
|
+ [(ngModel)]="temporaryHitPoints"
|
|
|
|
+ ></value-box>
|
|
</div>
|
|
</div>
|
|
<hit-dice style="margin-top: 5rem" (setHitDice)="setHitDice($event)"></hit-dice>
|
|
<hit-dice style="margin-top: 5rem" (setHitDice)="setHitDice($event)"></hit-dice>
|
|
|
|
|