-
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.
show entity on browser with template
- Loading branch information
1 parent
fdd8fef
commit 4cf1033
Showing
8 changed files
with
96 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
<select (change)="selectChangeHandler($event)"> | ||
<option *ngFor="let key of objectKeys(templates)" [ngValue]="templates[key]">{{ key }}</option> | ||
</select> | ||
|
||
<div *ngIf="hasTemplate"> | ||
<pre>{{templates[key] | json}}</pre> | ||
</div> | ||
<select (change)="selectChangeHandler($event)"> | ||
<option *ngFor="let key of objectKeys(templates)" [ngValue]="templates[key]">{{ key }}</option> | ||
</select> | ||
|
||
<pre>{{templates[key] | json}}</pre> | ||
|
||
<div class="example-button-row"> | ||
<button type="button" class="btn btn-primary-outline pull-right" (click)="editEntity();"><i class="fa fa-plus"></i> Edit Entity</button> | ||
<button type="button" class="btn btn-primary-outline pull-right" (click)="editEntity();"><i class="fa fa-plus"></i> | ||
Edit Entity | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div class="row" *ngIf="!hasTemplate" style="align-content: center"> | ||
<div class="col-xs-12"> | ||
<p class="alert alert-danger"> | ||
<strong>Don't have templates</strong> | ||
|
||
</p> | ||
</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
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