Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
3d1cb5df
Commit
3d1cb5df
authored
Feb 28, 2014
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Color the status text
parent
5a98f198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
www/aptui/js/quickvm_sup.js
www/aptui/js/quickvm_sup.js
+3
-2
www/aptui/status.php
www/aptui/status.php
+2
-2
No files found.
www/aptui/js/quickvm_sup.js
View file @
3d1cb5df
...
...
@@ -107,8 +107,9 @@ function StatusWatchCallBack(uuid, json)
StartCountdownClock
.
stop
=
0
;
}
$
(
"
#statusmessage
"
).
html
(
statustext
);
$
(
"
#statusmessage-container
"
).
attr
(
'
class
'
,
bgtype
);
console
.
log
(
'
setting statustext to
'
,
statustext
);
$
(
"
#statusmessage-container
"
)
.
removeClass
(
'
bg-success bg-danger
'
)
.
addClass
(
bgtype
);
$
(
"
#quickvm_status
"
).
html
(
status_html
);
}
StatusWatchCallBack
.
laststatus
=
status
;
...
...
www/aptui/status.php
View file @
3d1cb5df
...
...
@@ -229,8 +229,8 @@ 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 id='statusmessage-container' colspan=2
$style
>
\n
"
;
echo
"<h4 id='statusmessage'
class='
$bgtype
'
>
$statustext
</h4>
\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
"
;
if
(
$spin
)
{
...
...
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