fixed home page loading bar

This commit is contained in:
bill bittner 2018-01-16 09:52:15 -08:00
parent 41924130a3
commit 54150650cb
2 changed files with 2 additions and 3 deletions

View file

@ -2,10 +2,8 @@
function showChannelCreateInProgressDisplay () { function showChannelCreateInProgressDisplay () {
const publishChannelForm = document.getElementById('publish-channel-form'); const publishChannelForm = document.getElementById('publish-channel-form');
const inProgress = document.getElementById('channel-publish-in-progress'); const inProgress = document.getElementById('channel-publish-in-progress');
const channelProgressBar = document.getElementById('create-channel-progress-bar');
publishChannelForm.hidden = true; publishChannelForm.hidden = true;
inProgress.hidden = false; inProgress.hidden = false;
createProgressBar(channelProgressBar, 12);
} }
// display the content that shows channel creation is done // display the content that shows channel creation is done

View file

@ -1,7 +1,8 @@
<div class="row row--tall flex-container--column"> <div class="row row--tall flex-container--column">
<div id="react-publish-tool" class="row row--padded row--tall flex-container--column"> <div id="react-publish-tool" class="row row--padded row--tall flex-container--column">
<div class="row row--padded row--tall flex-container--column flex-container--center-center"> <div class="row row--padded row--tall flex-container--column flex-container--center-center">
<img src="/assets/img/loading.gif" alt="loading"> <p>loading...</p>
{{> progressBar}}
</div> </div>
</div> </div>
</div> </div>