This commit is contained in:
sunny 2018-09-12 16:24:02 +09:00
parent b9df48a54c
commit 17d142a740
9 changed files with 180 additions and 201 deletions

View File

@ -1,4 +1,4 @@
<div class="ui-g-12 detail-view-box">
<div class="ui-g-12">
<div class="detail-img">
<!-- <svg width="200" height="200" viewBox="20 40 140 100">
@ -7,13 +7,10 @@
<svg width="140" height="140" viewBox="15 35 140 100">
<image x="-50" y="-40" width="260" height="260" preserveAspectRatio="xMidYMid slice" xlink:href="../../assets/image/icon/icon_router.svg" />
</svg>
<h3>{{host.name}} <span>{{host.address}}</span></h3>
</div>
<div class="detail-content">
<h3>{{host.name}} <span>{{host.address}}</span></h3>
<p-tabView>
<p-tabView class="detail-content">
<p-tabPanel header="General">
<ul class="key-value">
@ -69,4 +66,3 @@
<p-listbox [options]="ports" [(ngModel)]="selectedPort" optionLabel="name"></p-listbox>
</p-tabPanel>
</p-tabView>
</div>

View File

@ -1,16 +1,22 @@
.detail-view-box {
width: 100%;
padding : 10px 160px 0 0;
.detail-img {
display: inline;
width: 140px;
padding: 10px;
svg{
display: inline;
}
h3{
padding: 20px 0 20px 5px;
display: inline;
padding: 10px 0 10px 5px;
// padding: 5px;
// height: 60px;
// span{
// font-size: 0.7em;
// color: #757575;
// }
}
.key-value {
}
.detail-content {
display: inline;
}
.key-value {
list-style-type: none;
margin: 0;
padding: 0;
@ -29,9 +35,4 @@
left: 10px;
}
}
}
}
.tab-border-bottom .ui-widget-header {
border: 0 !important;
}

View File

@ -2,9 +2,15 @@
border: 0px;
}
#nic-list-border .ui-widget-content .ui-listbox .ui-listbox-list {
line-height: 2em;
}
#nic-list-border .ui-widget-content .ui-listbox .ui-listbox-item {
padding: 0.5em;
// #nic-list-border.ui-widget-content .ui-listbox .ui-listbox-list {
// line-height: 2em;
// }
#nic-list-border.ui-listbox-item {
padding: 1em;
.title{
}
.description {
font-size: 0.8em;
}
}

View File

@ -1,4 +1,5 @@
<div class="ui-g">
<div class="ui-g-12">
<ng-container [ngSwitch]="node.group">
@ -18,4 +19,5 @@
</ng-container>
</ng-container>
</div>
</div>

View File

@ -1,14 +0,0 @@
.detail-img {
position: absolute;
top: 0px;
left: 0px;
width: 140px;
padding: 10px;
}
.detail-content {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
margin: 0 0 0 150px
}

View File

@ -1,4 +1,4 @@
<div class="ui-g-12 detail-view-box">
<div class="ui-g-12">
<div class="detail-img">
<!-- <svg width="200" height="200" viewBox="20 40 140 100">
@ -7,13 +7,12 @@
<svg width="140" height="140" viewBox="15 35 140 100">
<image x="-50" y="-40" width="260" height="260" preserveAspectRatio="xMidYMid slice" xlink:href="../../assets/image/icon/icon_router.svg" />
</svg>
</div>
<h3>
{{service.name}} {{service.port.host.address}}
</h3>
</div>
<p-tabView>
<p-tabView class="detail-content">
<p-tabPanel header="General">
<ul class="key-value">

View File

@ -1,12 +1,22 @@
.detail-view-box {
width: 100%;
padding : 10px 160px 0 0;
.detail-img {
display: inline;
width: 140px;
padding: 10px;
svg{
display: inline;
}
h3{
padding: 20px 0 20px 5px;
display: inline;
padding: 10px 0 10px 5px;
// padding: 5px;
// height: 60px;
}
.key-value {
}
.detail-content {
display: inline;
}
.key-value {
list-style-type: none;
margin: 0;
padding: 0;
@ -25,29 +35,4 @@
left: 10px;
}
}
}
}
.tab-border-bottom .ui-widget-header {
border: 0 !important;
}
// .key-value {
// list-style-type: none;
// margin: 28px 0 0 0;
// padding: 0;
// box-sizing: border-box;
// width: 500px;
// li {
// padding: 8px 14px;
// border-bottom: 1px solid #d8dae2;
// position: relative;
// font-weight: bold;
// width: 180px;
// .meta-value {
// font-weight: 100;
// position: absolute;
// width: 300px;
// right: 40px;
// }
// }
// }

View File

@ -1,4 +1,4 @@
<div id="detail-view-box">
<div class="ui-g-12">
<div class="detail-img">
<!-- <svg width="200" height="200" viewBox="20 40 140 100">
@ -7,13 +7,12 @@
<svg width="140" height="140" viewBox="15 35 140 100">
<image x="-50" y="-40" width="260" height="260" preserveAspectRatio="xMidYMid slice" xlink:href="../../assets/image/icon/icon_router.svg" />
</svg>
</div>
<h3>
{{zone.network}}
</h3>
</div>
<p-tabView class="tab-border-bottom">
<p-tabView class="detail-content">
<p-tabPanel header="General">
<ul class="key-value">

View File

@ -1,12 +1,22 @@
#detail-view-box {
width: 100%;
padding : 10px 160px 0 0;
.detail-img {
display: inline;
width: 140px;
padding: 10px;
svg{
display: inline;
}
h3{
padding: 20px 0 20px 5px;
display: inline;
padding: 10px 0 10px 5px;
// padding: 5px;
// height: 60px;
}
.key-value {
}
.detail-content {
display: inline;
}
.key-value {
list-style-type: none;
margin: 0;
padding: 0;
@ -25,9 +35,4 @@
left: 10px;
}
}
}
}
#detail-view-box .ui-widget-header {
border: 0 0 1px 0 !important;
}