life-details.component.html 830 B

12345678910111213141516171819202122232425262728293031
  1. <div class="title">{{ "life.hitpoints" | translate }}</div>
  2. <div class="value-row t-2 b-15">
  3. <value-box
  4. [isInput]="true"
  5. [(ngModel)]="maxHitPoints"
  6. [label]="'life.max'"
  7. (change)="checkValidity()"
  8. ></value-box>
  9. <value-box
  10. [isInput]="true"
  11. [(ngModel)]="currentHitPoints"
  12. [label]="'life.current'"
  13. (change)="checkValidity()"
  14. ></value-box>
  15. <value-box
  16. [isInput]="true"
  17. [(ngModel)]="temporaryHitPoints"
  18. [label]="'life.temporary'"
  19. ></value-box>
  20. </div>
  21. <hit-dice style="margin-top: 5rem" (setHitDice)="setHitDice($event)"></hit-dice>
  22. <div class="vertical-buttons bottom">
  23. <ui-button [color]="'green'" [width]="'w20'" (click)="close('update')">
  24. Anpassen
  25. </ui-button>
  26. <ui-button [color]="'red'" [width]="'w20'" (click)="close('cancel')">
  27. Löschen
  28. </ui-button>
  29. </div>