Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VOSpace INAF
vospace-ui
Commits
85f41989
Commit
85f41989
authored
4 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Fixed issue on busy nodes visualization
parent
7345a967
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#1670
passed
4 years ago
Stage: test
Stage: dockerize
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodesHtmlGenerator.java
+2
-5
2 additions, 5 deletions
...va/it/inaf/ia2/vospace/ui/service/NodesHtmlGenerator.java
vospace-ui-frontend/src/App.vue
+4
-1
4 additions, 1 deletion
vospace-ui-frontend/src/App.vue
with
6 additions
and
6 deletions
vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodesHtmlGenerator.java
+
2
−
5
View file @
85f41989
...
@@ -146,11 +146,8 @@ public class NodesHtmlGenerator {
...
@@ -146,11 +146,8 @@ public class NodesHtmlGenerator {
private
void
addNodeIcon
(
NodeInfo
nodeInfo
,
Element
cell
)
{
private
void
addNodeIcon
(
NodeInfo
nodeInfo
,
Element
cell
)
{
Element
iconContainer
=
cell
;
if
(
nodeInfo
.
isBusy
())
{
if
(
nodeInfo
.
isBusy
())
{
Element
loadingWrapper
=
cell
.
appendElement
(
"span"
);
Element
loadingWrapper
=
cell
.
appendElement
(
"span"
);
iconContainer
=
loadingWrapper
;
loadingWrapper
.
addClass
(
"node-busy"
);
loadingWrapper
.
addClass
(
"node-busy"
);
Element
spinner
=
loadingWrapper
.
appendElement
(
"span"
);
Element
spinner
=
loadingWrapper
.
appendElement
(
"span"
);
spinner
.
attr
(
"role"
,
"status"
);
spinner
.
attr
(
"role"
,
"status"
);
...
@@ -177,7 +174,7 @@ public class NodesHtmlGenerator {
...
@@ -177,7 +174,7 @@ public class NodesHtmlGenerator {
}
}
}
}
iconContainer
.
append
(
" "
);
cell
.
append
(
" "
);
}
}
private
void
addLink
(
NodeInfo
nodeInfo
,
Element
cell
)
{
private
void
addLink
(
NodeInfo
nodeInfo
,
Element
cell
)
{
...
@@ -193,7 +190,7 @@ public class NodesHtmlGenerator {
...
@@ -193,7 +190,7 @@ public class NodesHtmlGenerator {
link
.
attr
(
"href"
,
href
);
link
.
attr
(
"href"
,
href
);
link
.
text
(
nodeInfo
.
getName
());
link
.
text
(
nodeInfo
.
getName
());
}
else
{
}
else
{
cell
.
t
ext
(
nodeInfo
.
getName
());
cell
.
appendT
ext
(
nodeInfo
.
getName
());
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
vospace-ui-frontend/src/App.vue
+
4
−
1
View file @
85f41989
...
@@ -83,7 +83,6 @@ export default {
...
@@ -83,7 +83,6 @@ export default {
.node-busy
{
.node-busy
{
position
:
relative
;
position
:
relative
;
padding-right
:
3px
;
}
}
.node-busy
.spinner-border
{
.node-busy
.spinner-border
{
...
@@ -95,4 +94,8 @@ export default {
...
@@ -95,4 +94,8 @@ export default {
top
:
-7px
;
top
:
-7px
;
color
:
#3293f2
;
color
:
#3293f2
;
}
}
.node-busy
+
.icon
{
margin-right
:
3px
;
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment