29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<div class="row">
|
|
<div class="col-md-6">
|
|
<h2>Details</h2>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<button type="button" class="btn btn-default" aria-label="Left Align" (click)="onEdit()">
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
|
|
</button>
|
|
<button type="button" class="btn btn-default" aria-label="Left Align" (click)="onSave()">
|
|
<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
|
|
</div>
|
|
</div>
|
|
<dl class="dl-horizontal">
|
|
<dt>Id</dt>
|
|
<dd>{{ workbasketClone.id }}</dd>
|
|
<dt>Created Date</dt>
|
|
<dd>{{ workbasketClone.created | date: 'dd/MM/yyyy HH:mm' }}</dd>
|
|
<dt>Modified Date</dt>
|
|
<dd>{{ workbasketClone.modified | date: 'dd/MM/yyyy HH:mm' }}</dd>
|
|
<dt>Name</dt>
|
|
<dd *ngIf="!editMode">{{ workbasketClone.name }}</dd>
|
|
<dd *ngIf="editMode"><input class="form-control" placeholder="Name" name="editName" [(ngModel)]="workbasketClone.name" required></dd>
|
|
<dt>Owner</dt>
|
|
<dd *ngIf="!editMode">{{ workbasketClone.owner }}</dd>
|
|
<dd *ngIf="editMode"><input class="form-control" placeholder="Owner" name="editOwner" [(ngModel)]="workbasketClone.owner" required></dd>
|
|
<dt>Description</dt>
|
|
<dd *ngIf="!editMode">{{ workbasketClone.description }}</dd>
|
|
<dd *ngIf="editMode"><textarea class="form-control" rows="3" placeholder="Description" name="editDescription" [(ngModel)]="workbasketClone.description"></textarea></dd>
|
|
</dl> |