Commit 9c9b9ee5 authored by Leigh B Stoller's avatar Leigh B Stoller

Make the Node Hours help a popover instead of a modal on modal.

parent 73a42cf0
......@@ -397,6 +397,7 @@ define(['underscore', 'js/quickvm_sup',
adminExtendString : isguest ?
guestExtendString : userExtendString);
// We have to wait till the modal is shown to actually set up
// some of the content, since we need to know its width.
$(modalname).on('', function (e) {
......@@ -424,6 +425,12 @@ define(['underscore', 'js/quickvm_sup',
if (admin && needapproval) {
if (! (admin || guest)) {
trigger: 'hover',
placement: 'right',
......@@ -21,12 +21,27 @@
<div class='col-xs-12'>
<div id='extend_slider'></div>
</div> <!-- /col -->
<div class='col-sm-3'>
<h5>Node-Hours&nbsp;<a href='#' class='btn btn-xs' data-toggle='modal'
<span class='glyphicon glyphicon-question-sign'></span>
<div class='col-sm-3' id='myusage-info'>
<span style='font-weight: 500;'>Node-Hours&nbsp;<span>
<a href='#' class='btn btn-xs' id='myusage-popover'
Usage is tracked in terms of <em>node hours</em>:
the number of nodes multiplied by the number of
hours they are allocated.
You can find your current usage by selecting <b>My
Experiments</b> from the <b>Actions</b> menu. You
can view your historical usage by selecting <b>My
<span class='glyphicon glyphicon-question-sign'
style='margin-bottom: 4px;'></span>
<div class='col-xs-4 form-inline'>
<div class="form-group">
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