forked from ubccr/coldfront
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* added service unit count display for job list view * added empty line at end of total_service_units_popover.html * finalized job SU count functionality * Adjust wording of popup --------- Co-authored-by: Matthew Li <[email protected]>
- Loading branch information
1 parent
e85cd9f
commit 99d70f3
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
coldfront/core/statistics/templates/total_service_units_popover.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<a href="#" data-toggle="popover" title="Service Units" data-trigger="hover" data-content= | ||
"The total service units used by the jobs in the list below. The total is only calculated when there are no more than 100,000 jobs. If you exceed this limit, consider adjusting job filters."> | ||
<span class="accessibility-link-text">Total Service Units</span> | ||
<i class="fas fa-info-circle"></i> | ||
</a> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
$('[data-toggle="popover"]').popover({html:true}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters