This commit is contained in:
sunny 2018-06-05 17:24:35 +09:00
parent 602242ba1b
commit b5b874afe1
4 changed files with 15 additions and 15 deletions

View File

@ -12,19 +12,19 @@
<div class="ui-g-12 ui-md-8"> <div class="ui-g-12 ui-md-8">
<div class="ui-g form-group"> <div class="ui-g form-group">
<div class="ui-g-12"> <div class="ui-g-12 ui-bottom-space-10">
<span class="md-inputfield"> <span class="md-inputfield">
<input type="text" pInputText formControlName="email" readonly > <input type="text" pInputText formControlName="email" readonly >
<label>Email</label> <label>Email</label>
</span> </span>
</div> </div>
<div class="ui-g-12"> <div class="ui-g-12 ui-bottom-space-10">
<span class="md-inputfield"> <span class="md-inputfield">
<input type="text" pInputText formControlName="name" > <input type="text" pInputText formControlName="name" >
<label>Name</label> <label>Name</label>
</span> </span>
</div> </div>
<div class="ui-g-12"> <div class="ui-g-12 ui-bottom-space-10">
<span class="md-inputfield"> <span class="md-inputfield">
<input type="text" pInputText formControlName="companyName" > <input type="text" pInputText formControlName="companyName" >
<label>Company Name</label> <label>Company Name</label>

View File

@ -21,7 +21,7 @@
<p-panel [showHeader]="false"> <p-panel [showHeader]="false">
<div *ngIf="probe"> <div *ngIf="probe">
<div class="ui-g"> <div class="ui-g">
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<div *ngIf="editMode" class="of-key-value-div"> <div *ngIf="editMode" class="of-key-value-div">
<span>Name</span> <span>Name</span>
<span class="ng-star-inserted"> <span class="ng-star-inserted">
@ -32,10 +32,10 @@
<of-key-value *ngIf="!editMode" [key]="'Name'" [value]="probe.displayName"></of-key-value> <of-key-value *ngIf="!editMode" [key]="'Name'" [value]="probe.displayName"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'CIDR'" [value]="probe.cidr"></of-key-value> <of-key-value [key]="'CIDR'" [value]="probe.cidr"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<div *ngIf="editMode" class="of-key-value-div"> <div *ngIf="editMode" class="of-key-value-div">
<span>Description</span> <span>Description</span>
<span class="ng-star-inserted"> <span class="ng-star-inserted">
@ -45,13 +45,13 @@
</div> </div>
<of-key-value *ngIf="!editMode" [key]="'Description'" [value]="probe.description"></of-key-value> <of-key-value *ngIf="!editMode" [key]="'Description'" [value]="probe.description"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'Key'" [value]="probe.probeKey"></of-key-value> <of-key-value [key]="'Key'" [value]="probe.probeKey"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'Authrozied at'" [value]="probe.authorizeDate | date: 'dd/MM/yyyy'"></of-key-value> <of-key-value [key]="'Authrozied at'" [value]="probe.authorizeDate | date: 'dd/MM/yyyy'"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'Authrozied by'" [value]="probe.authorizeMember.name"></of-key-value> <of-key-value [key]="'Authrozied by'" [value]="probe.authorizeMember.name"></of-key-value>
</div> </div>
</div> </div>

View File

@ -18,19 +18,19 @@
<p-panel [showHeader]="false"> <p-panel [showHeader]="false">
<div *ngIf="infraHost"> <div *ngIf="infraHost">
<div class="ui-g"> <div class="ui-g">
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'IPv4'" [value]="infraHost.ipv4"></of-key-value> <of-key-value [key]="'IPv4'" [value]="infraHost.ipv4"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'IPv6'" [value]="infraHost.ipv6 | uppercase"></of-key-value> <of-key-value [key]="'IPv6'" [value]="infraHost.ipv6 | uppercase"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'Mac Address'" [value]="infraHost.mac"></of-key-value> <of-key-value [key]="'Mac Address'" [value]="infraHost.mac"></of-key-value>
</div> </div>
<div class="ui-g-12 ui-md-6 ui-key-value ui-bottom-border-1 ui-nopad"> <div class="ui-g-12 ui-md-6 ui-key-value">
<of-key-value [key]="'OS'" [value]="infraHost.os.vendor.name"></of-key-value> <of-key-value [key]="'OS'" [value]="infraHost.os.vendor.name"></of-key-value>
</div> </div>
</div> </div>

View File

@ -1713,13 +1713,13 @@
padding: 10px; padding: 10px;
margin: 0 !important; margin: 0 !important;
of-key-value{ of-key-value{
width: 100%; //width: 100%;
min-width: 250px; min-width: 250px;
margin: 0; margin: 0;
} }
.of-key-value-div{ .of-key-value-div{
width: 100%; //width: 100%;
min-width: 250px; min-width: 250px;
margin: 0; margin: 0;