Skip to content

Commit

Permalink
Improves display of survey saving message. re #4357
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Jan 23, 2019
1 parent 1401985 commit 81f0ede
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 3 additions & 1 deletion arches/app/media/css/arches.css
Original file line number Diff line number Diff line change
Expand Up @@ -2803,13 +2803,15 @@ div.dropdown-menu.open {


.loading-mask-string {
font-size: 45px;
font-size: 35px;
font-weight: 600;
width: 100%;
text-align: center;
top: 25%;
position: absolute;
color: #222;
background-color: #999;
z-index: 8000;
}

.graph-designer-loading-mask {
Expand Down
2 changes: 1 addition & 1 deletion arches/app/templates/base-manager.htm
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h5 class="hidden-xs">{% trans "Welcome" %}, {{ user.first_name|default:user.use
</div>

<!-- help content loaded from contextually referenced template -->
<div class="ep-help-body" style="float:left" data-bind="css: {'loading-mask': helploading()}">
<div class="ep-help-body" style="float:left; background-color:blue" data-bind="css: {'loading-mask': helploading()}">
<!-- content gets inserted into this div -->
<div class="ep-help-content"></div>
<hr>
Expand Down
9 changes: 3 additions & 6 deletions arches/app/templates/base.htm
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,12 @@
<body {% block body_attributes %}class="scroll-y-auto"{% endblock %}>
{% block loading_mask %}

<!--ko if: typeof loading() === "boolean" -->
<div class="loading-mask" data-bind="visible: loading()"></div>
<!--/ko-->
<div class="loading-mask" data-bind="visible: typeof(loading()) === 'boolean' && loading()"></div>

<!--ko if: typeof loading() === "string" -->
<div class="loading-mask" data-bind="visible: loading()">
<div class="loading-mask" style="display: none;" data-bind="visible: typeof(loading()==='string') && loading().length > 0">
<div class="loading-mask-string" data-bind="text: loading"></div>
</div>
<!--/ko-->


{% endblock loading_mask %}
{% block body %}
Expand Down

0 comments on commit 81f0ede

Please sign in to comment.