Skip to content

Commit

Permalink
Add designators to entity forms
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderVertegaal committed May 17, 2024
1 parent 24aa0c2 commit eb8a39d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 14 deletions.
18 changes: 4 additions & 14 deletions frontend/src/app/data-entry/agent/agent.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,28 +79,18 @@ <h2 ngbAccordionHeader>
<div ngbAccordionBody>
<ng-template>
<div class="mb-5" *ngIf="agent === 1">
<h3>Name</h3>

<h3>Designators</h3>
<label class="form-label">
Name(s)
Expressions (in Latin) that refer to this entity
</label>

<div class="input-group mb-4">
<input type="text" class="form-control" value="St. Radegund">
<input type="text" class="form-control" value="Radegundis Sancta">
<button class="btn btn-outline-secondary" disabled>
<fa-icon [icon]="icons.remove"></fa-icon>
</button>
</div>

<div class="input-group mb-4">
<input type="text" class="form-control" placeholder="Add a new name">
</div>

<div class="mb-4">
<label class="form-label">
Additional notes
</label>
<textarea class="form-control" rows="2"></textarea>
<input type="text" class="form-control" placeholder="Add a new designator">
</div>
</div>

Expand Down
15 changes: 15 additions & 0 deletions frontend/src/app/data-entry/event/event.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,21 @@ <h2 ngbAccordionHeader>
<div ngbAccordionCollapse>
<div ngbAccordionBody>
<ng-template>
<div class="mb-5">
<h3>Designators</h3>
<label class="form-label">
Expressions (in Latin) that refer to this entity
</label>
<div class="input-group mb-4">
<input type="text" class="form-control" value="Transmisit">
<button class="btn btn-outline-secondary" disabled>
<fa-icon [icon]="icons.remove"></fa-icon>
</button>
</div>
<div class="input-group mb-4">
<input type="text" class="form-control" placeholder="Add a new designator">
</div>
</div>
<div class="mb-5">
<h3>Action</h3>
<div class="mb-4">
Expand Down
15 changes: 15 additions & 0 deletions frontend/src/app/data-entry/object/object.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,21 @@ <h2 ngbAccordionHeader>
<div ngbAccordionCollapse>
<div ngbAccordionBody>
<ng-template>
<div class="mb-5">
<h3>Designators</h3>
<label class="form-label">
Expressions (in Latin) that refer to this entity
</label>
<div class="input-group mb-4">
<input type="text" class="form-control" value="Littera ab Radegundi prodita">
<button class="btn btn-outline-secondary" disabled>
<fa-icon [icon]="icons.remove"></fa-icon>
</button>
</div>
<div class="input-group mb-4">
<input type="text" class="form-control" placeholder="Add a new designator">
</div>
</div>
<div class="mb-5">
<h3>Sender</h3>
<div class="mb-4">
Expand Down
21 changes: 21 additions & 0 deletions frontend/src/app/data-entry/space/space.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ <h2 ngbAccordionHeader>
<div ngbAccordionCollapse>
<div ngbAccordionBody>
<ng-template>
<div class="mb-5">
<h3>Designators</h3>
<label class="form-label">
Expressions (in Latin) that refer to this entity
</label>
<div class="input-group mb-4">
<input type="text" class="form-control" value="Abbatiam">
<button class="btn btn-outline-secondary" disabled>
<fa-icon [icon]="icons.remove"></fa-icon>
</button>
</div>
<div class="input-group mb-4">
<input type="text" class="form-control" value="Monasterii">
<button class="btn btn-outline-secondary" disabled>
<fa-icon [icon]="icons.remove"></fa-icon>
</button>
</div>
<div class="input-group mb-4">
<input type="text" class="form-control" placeholder="Add a new designator">
</div>
</div>
<div class="mb-5">
<h3>Political regions</h3>

Expand Down

0 comments on commit eb8a39d

Please sign in to comment.