Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ddb47bb8
authored
Feb 06, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: vm status full-page reload replaced
parent
7bc2c99f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
one/templates/show.html
+12
-1
No files found.
one/templates/show.html
View file @
ddb47bb8
...
...
@@ -4,7 +4,18 @@
{% block js %}
<script
type=
"text/javascript"
>
{
%
if
booting
%
}
setTimeout
(
"location.reload(true);"
,
2000
);
var
timer
=
setInterval
(
function
(){
$
.
ajax
({
type
:
'GET'
,
dataType
:
'json'
,
url
:
'/ajax/vm/status/{{ id }}'
,
success
:
function
(
data
){
if
(
!
data
.
booting
){
window
.
location
.
reload
();
}
}
})
},
2000
);
{
%
endif
%
}
</script>
{% endblock %}
...
...
Write
Preview
Markdown
is supported
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