Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
dae18a25
Commit
dae18a25
authored
Feb 28, 2014
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to previous revision.
parent
03ec190a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
www/aptui/js/quickvm_sup.js
www/aptui/js/quickvm_sup.js
+5
-3
www/aptui/status.php
www/aptui/status.php
+1
-1
No files found.
www/aptui/js/quickvm_sup.js
View file @
dae18a25
...
...
@@ -68,8 +68,8 @@ function StatusWatchCallBack(uuid, json)
if
(
status
!=
StatusWatchCallBack
.
laststatus
)
{
status_html
=
status
;
var
bgtype
=
''
;
var
statustext
=
''
;
var
bgtype
=
""
;
var
statustext
=
"
Please wait while we get your experiment ready
"
;
if
(
status
==
'
provisioned
'
)
{
$
(
"
#quickvm_progress_bar
"
).
width
(
"
66%
"
);
...
...
@@ -106,7 +106,9 @@ function StatusWatchCallBack(uuid, json)
$
(
"
#extend_button
"
).
prop
(
"
disabled
"
,
true
);
StartCountdownClock
.
stop
=
0
;
}
$
(
"
#statusmessage
"
).
addClass
(
bgtype
).
html
(
statustext
);
$
(
"
#statusmessage
"
).
html
(
statustext
);
$
(
"
#statusmessage-container
"
).
attr
(
'
class
'
,
bgtype
);
console
.
log
(
'
setting statustext to
'
,
statustext
);
$
(
"
#quickvm_status
"
).
html
(
status_html
);
}
StatusWatchCallBack
.
laststatus
=
status
;
...
...
www/aptui/status.php
View file @
dae18a25
...
...
@@ -229,7 +229,7 @@ echo "<div class='panel panel-default'>\n";
echo
"<div class='panel-body'>
\n
"
;
echo
"<table class='table table-condensed'
$style
>
\n
"
;
echo
"<tr>
\n
"
;
echo
"<td colspan=2
$style
class='
$bgtype
'>
\n
"
;
echo
"<td
id='statusmessage-container'
colspan=2
$style
class='
$bgtype
'>
\n
"
;
echo
"<h4 id='statusmessage'>
$statustext
</h4>
\n
"
;
echo
"</td>
\n
"
;
echo
"</tr>
\n
"
;
...
...
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