Commit c6a1295a authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Networks view improvements

- Improve network status styling
- Include status styling for drained networks
parent c457c4f8
......@@ -6899,13 +6899,17 @@ input.has-errors {
text-align: right;
margin-right: 4px;
margin-top: 5px;
float: right;
width: 125px;
width: 150px;
position: absolute;
top:-4px;
right: 0;
}
.model-item .status-indicator {
width: 65px;
float: right;
position: absolute;
top: 16px;
right: 0;
}
.model-item .actions-content {
......@@ -7019,6 +7023,10 @@ input.has-errors {
background-color: #940606;
}
.model-item .status-terminated .status-indicator .indicator {
background-color: #5E1616;
}
.model-item .status-error .status-indicator .indicator {
background-color: #ff0000;
}
......@@ -7492,7 +7500,7 @@ input.has-errors {
border: 1px solid #aaaaaa;
font-size: 85%;
padding: 2px;
width: 235px;
width: 207px;
}
.model-rename-view .value {}
......@@ -7504,7 +7512,7 @@ input.has-errors {
width: 40px;
position: relative;
top: 1px;
left: -6px;
left: -36px;
}
.model-rename-view .rename-actions .btn {
......
......@@ -465,6 +465,7 @@
status_map: {
'ACTIVE': 'Active',
'SNF:DRAINED': 'Drained',
'CONNECTING': 'Connecting',
'DISCONNECTING': 'Disconnecting',
'REMOVING': 'Destroying'
......@@ -472,6 +473,7 @@
status_cls_map: {
'ACTIVE': 'status-active',
'SNF:DRAINED': 'status-terminated',
'DISCONNECTING': 'status-progress',
'CONNECTING': 'status-progress',
'REMOVING': 'status-progress'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment