Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
802db9fb
Commit
802db9fb
authored
Mar 31, 2014
by
Leigh B Stoller
Browse files
Please Wait and Oops modals.
parent
ac1ca866
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/quickvm_sup.php
View file @
802db9fb
...
...
@@ -388,6 +388,50 @@ function SpitTopologyViewModal($modal_name, $profile_array)
</div>
\n
"
;
}
#
# Please Wait.
#
function
SpitWaitModal
(
$id
)
{
echo
"<!-- This is the Please Wait modal -->
<div id='
$id
' class='modal fade'>
<div class='modal-dialog'>
<div class='modal-content'>
<div class='modal-header'>
<center><h3>Please Wait</h3></center>
</div>
<div class='modal-body'>
<center><img src='spinner.gif' /></center>
</div>
</div>
</div>
</div>
\n
"
;
}
#
# Oops modal.
#
function
SpitOopsModal
(
$id
)
{
echo
"<!-- This is the Oops modal -->
<div id='
$id
' class='modal fade'>
<div class='modal-dialog'>
<div class='modal-content'>
<div class='modal-header'>
<button type='button'
class='btn btn-default btn-sm pull-right'
data-dismiss='modal' aria-hidden='true'>
Close</button>
<center><h3>Oops!</h3></center>
</div>
<div class='modal-body'>
<div id='${id}_text'></div>
</div>
</div>
</div>
</div>
\n
"
;
}
#
# Generate an authentication object to pass to the browser that
# is passed to the web server on boss. This is used to grant
...
...
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