This commit is contained in:
sunny 2018-04-19 15:25:27 +09:00
parent fcae5d70ce
commit df5c1958cc
3 changed files with 60 additions and 45 deletions

View File

@ -48,7 +48,7 @@
</ng-template>
<ng-template let-node pTemplate="sensor">
<p-button label="{{node.label}}"></p-button>
<div><i class="fa ui-icon-stop ui-status-icon ui-status-success"></i>{{node.label}}</div>
</ng-template>
</p-tree>

View File

@ -1,48 +1,45 @@
<form [formGroup]="modifyForm" (ngSubmit)="modifyProfile()">
<div class="ui-g">
<div class="ui-g-12 ui-md-3">
<p-panel [showHeader]="false">
<div class="ui-g">
<div class="ui-g-12 ui-inputgroup ui-bottom-space-10">
<div>
<p-card>
<div class="ui-g">
<img class="profile-image ui-img-profile-responsive" src="assets/layout/images/dark-user-bg.png" />
</div>
</p-card>
</div>
</div>
<div class="ui-g-12 ui-bottom-space-10">
<img class="profile-image" src="assets/layout/images/dark-user-bg.png" />
</div>
<div class="ui-g-12 ui-md-9">
<div class="ui-g form-group">
<div class="ui-g-12 ui-md-6">
<span class="md-inputfield">
<input type="text" pInputText readonly value="{{member.email}}">
<label>Email</label>
</span>
</div>
</p-panel>
<div class="ui-g-12 ui-md-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.name}}" >
<label>Name</label>
</span>
</div>
<div class="ui-g-12 ui-md-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.companyName}}" >
<label>Company Name</label>
</span>
</div>
<div class="ui-g-12 ui-md-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.phone}}" >
<label>Phone</label>
</span>
</div>
</div>
</div>
<div class="ui-g form-group">
<div class="ui-g-12 ui-md-6 ui-lg-6">
<span class="md-inputfield">
<input type="text" pInputText readonly value="{{member.email}}">
<label>Email</label>
</span>
</div>
<div class="ui-g-12 ui-md-6 ui-lg-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.name}}" >
<label>Name</label>
</span>
</div>
<div class="ui-g-12 ui-md-6 ui-lg-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.companyName}}" >
<label>Company Name</label>
</span>
</div>
<div class="ui-g-12 ui-md-6 ui-lg-6">
<span class="md-inputfield">
<input type="text" pInputText value="{{member.phone}}" >
<label>Phone</label>
</span>
</div>
</div>
<div class="ui-g-12 ui-md-6 ui-lg-6" dir="rtl">
<button type="submit" [disabled]="selected" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left" dir="auto">
<div class="ui-g-12" dir="rtl">
<button type="submit" [disabled]="selected" class="ui-button ui-button-text-icon-left ui-button-width-fit">
<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>

View File

@ -96,30 +96,48 @@
}
}
font-size: 0.8em !important;
}
.ui-status-icon{
//margin-top: 3px;
//position: static;
//display: inline-block;
vertical-align: middle;
&.ui-status-info {
color: #2196F3;
color: #2196F3 !important;
}
&.ui-status-warn {
color: #ffc107;
color: #ffc107 !important;
}
&.ui-status-error {
color: #e62a10;
color: #e62a10 !important;
}
&.ui-status-fatal {
color: #212121;
color: #212121 !important;
}
&.ui-status-success {
color: #8BC34A;
color: #8BC34A !important;
}
}
img.ui-img-profile-responsive {
width : 100%;
height: auto;
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
}
@media (max-width: 1024px) {
}
@media (max-width: 640px) {
}
}