member_webapp/@overflow/member/container/profile/profile.component.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2018-04-18 12:57:58 +00:00
<form [formGroup]="modifyForm" (ngSubmit)="modifyProfile()">
<div class="ui-g">
2018-04-26 12:27:36 +00:00
<div class="ui-g-12 ui-md-4 ui-img-profile">
<div class="ui-img-profile-box">
<div class="ui-g">
2018-04-29 11:12:08 +00:00
<img class="profile-image " src="assets/layout/images/avatar.png" />
2018-04-26 12:27:36 +00:00
</div>
<button type="button" class="ui-button-photo-add" pButton icon="ui-icon-account-box" (click)="onAddSensorWithTarget(item.target)"></button>
2018-04-19 06:25:27 +00:00
</div>
2018-04-18 12:57:58 +00:00
</div>
2018-04-26 12:27:36 +00:00
<div class="ui-g-12 ui-md-8">
2018-04-19 06:25:27 +00:00
<div class="ui-g form-group">
2018-04-26 12:27:36 +00:00
<div class="ui-g-12">
2018-04-19 06:25:27 +00:00
<span class="md-inputfield">
2018-04-30 11:50:47 +00:00
<input type="text" pInputText formControlName="email" readonly value="{{member.email}}">
2018-04-19 06:25:27 +00:00
<label>Email</label>
</span>
</div>
2018-04-26 12:27:36 +00:00
<div class="ui-g-12">
2018-04-19 06:25:27 +00:00
<span class="md-inputfield">
2018-04-30 11:50:47 +00:00
<input type="text" pInputText formControlName="name" value="{{member.name}}" >
2018-04-19 06:25:27 +00:00
<label>Name</label>
</span>
</div>
2018-04-26 12:27:36 +00:00
<div class="ui-g-12">
2018-04-19 06:25:27 +00:00
<span class="md-inputfield">
2018-04-30 11:50:47 +00:00
<input type="text" pInputText formControlName="companyName" value="{{member.companyName}}" >
2018-04-19 06:25:27 +00:00
<label>Company Name</label>
</span>
</div>
2018-04-26 12:27:36 +00:00
<div class="ui-g-12">
2018-04-19 06:25:27 +00:00
<span class="md-inputfield">
2018-04-30 11:50:47 +00:00
<input type="text" pInputText formControlName="phone" value="{{member.phone}}" >
2018-04-19 06:25:27 +00:00
<label>Phone</label>
</span>
</div>
2018-04-18 12:57:58 +00:00
</div>
</div>
2018-04-19 06:25:27 +00:00
<div class="ui-g-12" dir="rtl">
<button type="submit" [disabled]="selected" class="ui-button ui-button-text-icon-left ui-button-width-fit">
2018-04-18 12:57:58 +00:00
<span class="ui-button-icon-left ui-c fa fa-fw ui-icon-person"></span>
<span class="ui-button-text ui-c">Save</span>
</button>
</div>
</div>
2018-04-30 11:50:47 +00:00
</form>