Skip to content

Commit

Permalink
Add css to display loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Dec 13, 2023
1 parent d66ff5b commit 8c2d871
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions code/viewer_partial.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{% raw %}
<div id="app">

<div v-if="false">
Loading... Please wait...
<p></p>
</div>

<div v-cloak>

<b style="padding-top: 10px">Categories:</b>
<p></p>

Expand Down Expand Up @@ -31,6 +38,7 @@
<p></p>
<p></p>

</div>
</div>

<script type="module">
Expand Down
3 changes: 3 additions & 0 deletions docs/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[v-cloak] {
display: none
}
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ plugins:
# - search:
# separator: '[\s\-\._]+' # add "_" and "."
- macros:
include_dir: code
include_dir: code
extra_css:
- main.css

0 comments on commit 8c2d871

Please sign in to comment.