Commit 802db9fb authored by Leigh B Stoller's avatar Leigh B Stoller

Please Wait and Oops modals.

parent ac1ca866
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment