Merge pull request #2503 from coreos-inc/better-dn-error
Better handling of inability to load external frontend dependencies
This commit is contained in:
commit
0597c9876b
2 changed files with 8 additions and 4 deletions
|
@ -85,7 +85,7 @@ class DefaultConfig(object):
|
|||
|
||||
# If true, CDN URLs will be used for our external dependencies, rather than the local
|
||||
# copies.
|
||||
USE_CDN = True
|
||||
USE_CDN = False
|
||||
|
||||
# Authentication
|
||||
AUTHENTICATION_TYPE = 'Database'
|
||||
|
|
|
@ -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