graphql-engine/docs/_theme/djangodocs/pages/loading.html
sezgi b346df239a
docs: code cleanup (#5460)
* remove unused css (using purgecss but also checking results manually)
* remove unused fonts
* remove unused examples_schema_migrations dir
* remove underscore & bootstrap pagination
* remove unused djangodocs files
* clean up djangodocs.css
* organize static files (move to _static/scripts and _static/styles)
* clean up and organize scripts (move out of layout.html and into hdocs.js)
* defer scripts that can be deferred
* remove global_tabs extension & files and replace with tabs directive in the only place it's used
2020-07-31 17:19:01 +05:30

17 lines
530 B
HTML

<div class="loading_overlay hide">
<div class="loader"></div>
<div class="subhead_wrapper_loader body_content_position">Loading...</div>
<div class="overlay_wrapper"></div>
</div>
<script type="text/javascript">
const showLoading = function() {
Array.from(document.getElementsByClassName('loading_overlay')).forEach(el => el.classList.remove('hide'));
};
const hideLoading = function() {
Array.from(document.getElementsByClassName('loading_overlay')).forEach(el => el.classList.add('hide'));
};
</script>