Display a real error if JavaScript could not be loaded in Quay
Better to display a real, actionable error instead of a fake "Session Expired" div which is only visible because CSS hasn't loaded
This commit is contained in:
parent
3f0f8159b7
commit
708afe2dc9
1 changed files with 7 additions and 3 deletions
|
@ -22,10 +22,14 @@
|
|||
<!-- Note: Must be in the <body> tag -->
|
||||
<script src="static/standalonelib/jquery.overscroll.min.js"></script>
|
||||
|
||||
<div ng-view></div>
|
||||
<div ng-view>
|
||||
<div class="co-alert co-alert-danger">
|
||||
The Quay application could not be loaded, which typically indicates an external library could not be loaded (usually due to an ad blocker). Please check the JavaScript console for errors.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal message dialog -->
|
||||
<div class="modal fade" id="sessionexpiredModal" data-backdrop="static">
|
||||
<div class="modal fade" id="sessionexpiredModal" data-backdrop="static" style="display: none">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
|
@ -42,7 +46,7 @@
|
|||
</div><!-- /.modal -->
|
||||
|
||||
<!-- Modal message dialog -->
|
||||
<div class="modal fade" id="cannotContactService" data-backdrop="static">
|
||||
<div class="modal fade" id="cannotContactService" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
|
|
Reference in a new issue