Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
ea78982f
Unverified
Commit
ea78982f
authored
Oct 26, 2020
by
robertperez-upc
Committed by
GitHub
Oct 26, 2020
Browse files
Loading icon (#1401)
refactor(frontend): Replace loading dots by animated icon
parent
c7338bdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/js/ravada.js
View file @
ea78982f
...
...
@@ -830,7 +830,6 @@
};
$scope
.
wait_request
=
function
()
{
$scope
.
dots
+=
'
.
'
;
if
(
$scope
.
id_request
)
{
$http
.
get
(
'
/request/
'
+
$scope
.
id_request
+
'
.json
'
).
then
(
function
(
response
)
{
$scope
.
request
=
response
.
data
;
...
...
@@ -877,7 +876,6 @@
}
}
$scope
.
dots
=
'
...
'
;
$scope
.
redirect_done
=
false
;
$scope
.
wait_request
();
$scope
.
view_clicked
=
false
;
...
...
templates/main/run_request.html.ep
View file @
ea78982f
...
...
@@ -18,7 +18,7 @@
<
%=
l
'
A
viewer
is
required
to
run
the
virtual
machines.
'
%
>
<a
href=
"/requirements"
><
%=
l
'
Read
more.
'
%
></a>
</div>
<div
ng-hide=
"request.status == 'done'"
>
Waiting for machine to start
{{dots}}
</div>
<div
ng-hide=
"request.status == 'done'"
>
Waiting for machine to start
<i
class=
"fas fa-sync-alt fa-spin"
></i>
</div>
<div
ng-show=
"domain"
>
<div
ng-show=
"domain.description ||(domain.is_active && domain.msg_timeout)"
>
<span
ng-bind-html=
"domain.description"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment