-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#9317] Use agent-list api for the list on main page
- Loading branch information
1 parent
b8a287e
commit d4cc508
Showing
11 changed files
with
157 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
...src/main/angular/src/app/core/components/server-list/server-list-container.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<pp-server-list | ||
[serverList]="serverList" | ||
[agentData]="agentData" | ||
[isWas]="isWas" | ||
[selectedAgent]="selectedAgent" | ||
[funcImagePath]="funcImagePath" | ||
(outSelectAgent)="onSelectAgent($event)" | ||
(outOpenInspector)="onOpenInspector($event)"> | ||
</pp-server-list> | ||
<ng-container *ngIf="serverList"> | ||
<pp-server-list | ||
[serverList]="serverList" | ||
[agentData]="agentData" | ||
[isWas]="isWas" | ||
[selectedAgent]="selectedAgent" | ||
[funcImagePath]="funcImagePath" | ||
(outSelectAgent)="onSelectAgent($event)" | ||
(outOpenInspector)="onOpenInspector($event)"> | ||
</pp-server-list> | ||
</ng-container> | ||
<pp-loading [showLoading]="showLoading" [zIndex]="11"></pp-loading> |
71 changes: 62 additions & 9 deletions
71
web/src/main/angular/src/app/core/components/server-list/server-list-container.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 34 additions & 42 deletions
76
web/src/main/angular/src/app/core/components/server-list/server-list.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,78 @@ | ||
:host { | ||
display: block; | ||
} | ||
.l-servers-list { | ||
padding: 0 13px 0 25px; | ||
.servers-list { | ||
padding: 0 8px 0 15px; | ||
} | ||
.l-server-name { | ||
.server-name { | ||
display: block; | ||
overflow : hidden; | ||
white-space : nowrap; | ||
text-overflow : ellipsis; | ||
} | ||
.l-servers-list li { | ||
.servers-list li { | ||
font-size: 13px; | ||
color:var(--text-primary); | ||
font-weight: 600; | ||
} | ||
.l-servers-list li { | ||
.servers-list li { | ||
margin: 15px 0 0 0; | ||
} | ||
.l-servers-list li.first-child { | ||
margin:0; | ||
.servers-list li.first-child { | ||
margin: 0; | ||
} | ||
.l-servers-list li.first-child:before { | ||
.servers-list li.first-child:before { | ||
font-family: FontAwesome; | ||
content: '\f0ae'; | ||
font-size: 14px; | ||
margin: 0 8px 0 0; | ||
color: var(--text-secondary); | ||
font-weight: normal; | ||
} | ||
.l-servers-list li .l-category { | ||
margin: 10px 0 0 27px; | ||
.depth-1 { | ||
margin: 10px 0 0 15px; | ||
} | ||
.l-servers-list li .l-category span { | ||
display: inline-block; | ||
padding: 2px 5px; | ||
font-size: 10px; | ||
color: var(--text-knockout); | ||
font-weight: 600; | ||
} | ||
.l-servers-list li ul { | ||
margin: 13px 0 0 20px; | ||
} | ||
.l-servers-list li ul li { | ||
.depth-1 li { | ||
font-size: 12px; | ||
color: var(--text-primary-lightest); | ||
font-weight: 400; | ||
height: 20px; | ||
height: 25px; | ||
margin: 5px 0px; | ||
color: var(--text-secondary); | ||
display: flex; | ||
align-items: center; | ||
} | ||
.l-servers-list li ul li input { | ||
.radio-input { | ||
margin: 0 5px; | ||
} | ||
.l-servers-list li ul li div { | ||
float: right; | ||
} | ||
.l-servers-list li ul li label { | ||
display: block; | ||
.radio-label { | ||
overflow : hidden; | ||
white-space : nowrap; | ||
text-overflow : ellipsis; | ||
} | ||
.l-servers-list li ul li:hover { | ||
.depth-1 li:hover { | ||
background: var(--background-hover-default); | ||
} | ||
.l-text-box { | ||
padding: 3px 5px; | ||
.inspector-btn{ | ||
padding: 5px 5px; | ||
font-size: 10px; | ||
color: var(--text-knockout); | ||
margin-left: 13px; | ||
background-color: var(--primary); | ||
border-radius: 2px; | ||
} | ||
.l-icon-alert { | ||
.icon-alert { | ||
height: 1em; | ||
} | ||
.l-servers-list ul li { | ||
height: 30px; | ||
} | ||
.l-servers-list ul span { | ||
cursor: pointer; | ||
} | ||
i.fas { | ||
margin-right: 4px; | ||
display: inline-block; | ||
width: 11px; | ||
} | ||
.label-radio-wrapper { | ||
display: flex; | ||
align-items: center; | ||
flex: 1; | ||
} | ||
|
||
.btn-wrapper { | ||
display: flex; | ||
align-items: center; | ||
gap: 2px; | ||
} |
29 changes: 17 additions & 12 deletions
29
web/src/main/angular/src/app/core/components/server-list/server-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.