mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
b346df239a
* 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
17 lines
530 B
HTML
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>
|