-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
75 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,43 @@ | ||
<div style="margin-left: 35px;"> | ||
<p>Search</p> | ||
</div> | ||
|
||
<div style="margin-left: 35px;padding: 3px; display: inline-block;"> | ||
<input style="width: 300px" #search_box (keyup.enter)="searchDatabase(search_box.value)"> | ||
</div> | ||
<div style="padding: 3px; display: inline-block;"> | ||
<app-combo-box [list]="itemList"></app-combo-box> | ||
</div> | ||
<div style="padding: 3px; display: inline-block;"> | ||
<button type="button" (click)="searchDatabase(search_box.value)"> Search </button> | ||
</div> | ||
<div class="container"> | ||
|
||
<h1>Search</h1> | ||
<p class="lead">Search for entities according to their classes and associated property values</p> | ||
|
||
<div class="form-inline"> | ||
<div> | ||
<input class="form-control" style="width: 300px" #search_box (keyup.enter)="searchDatabase(search_box.value)"> | ||
</div> | ||
<div> | ||
<app-combo-box [list]="itemList" class="form-control"></app-combo-box> | ||
</div> | ||
<div> | ||
<button class="form-control" type="button" (click)="searchDatabase(search_box.value)" class="btn btn-primary">Search</button> | ||
</div> | ||
</div> | ||
|
||
<div *ngIf="loadSearch" style="margin: 35px"> | ||
<table id="search" > | ||
<thead> | ||
<tr> | ||
<th>UID</th> | ||
<th>Name</th> | ||
<th>Labels</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr *ngFor="let item of searchResultArray; let i = index"> | ||
<td><nav> | ||
<a [routerLink]="['/viewtemplate', item.uid]">{{item.uid}}</a> | ||
</nav></td> | ||
<td>{{ item.name }}</td> | ||
<td><ul> | ||
<li *ngFor="let label of item.labels"> | ||
{{ label }} | ||
</li> | ||
</ul></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div *ngIf="loadSearch" style="margin: 35px"> | ||
<table id="search" > | ||
<thead> | ||
<tr> | ||
<th>UID</th> | ||
<th>Name</th> | ||
<th>Labels</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr *ngFor="let item of searchResultArray; let i = index"> | ||
<td><nav> | ||
<a [routerLink]="['/viewtemplate', item.uid]">{{item.uid}}</a> | ||
</nav></td> | ||
<td>{{ item.name }}</td> | ||
<td><ul> | ||
<li *ngFor="let label of item.labels"> | ||
{{ label }} | ||
</li> | ||
</ul></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters