Skip to content

Commit

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

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

<div class="input-group mb-4">
<input type="text" class="form-control" value="Radegundis Sancta">
<input type="text" class="form-control" value="St. Radegund">
<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">
<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>
</div>
</div>

Expand Down
15 changes: 0 additions & 15 deletions frontend/src/app/data-entry/event/event.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,6 @@ <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: 0 additions & 15 deletions frontend/src/app/data-entry/object/object.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,6 @@ <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: 0 additions & 21 deletions frontend/src/app/data-entry/space/space.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,6 @@ <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 24aa0c2

Please sign in to comment.