UX: Show a loading spinner when loading an post you're editing.

cc @coding-horror
This commit is contained in:
Robin Ward 2015-10-16 14:57:17 -04:00
parent 131e7ed445
commit 0547fcf799
2 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,7 @@
<div class='textarea-wrapper'>
<div class='wmd-button-bar'></div>
<div class='wmd-preview-scroller'></div>
{{conditional-loading-spinner condition=model.loading}}
{{composer-text-area tabindex="4" value=model.reply}}
{{popup-input-tip validation=view.replyValidation shownAt=view.showReplyTip}}
</div>

View File

@ -38,6 +38,11 @@
}
}
.textarea-wrapper .spinner {
z-index: 1000;
margin-top: 5em;
}
.saving-text .spinner {
display: inline-block;
left: 5px;