Browse Source

Add v-cloak to hide vue tag

pull/10/head
Hironsan 6 years ago
parent
commit
d527662cf9
6 changed files with 11 additions and 5 deletions
  1. 4
      app/server/static/css/admin.css
  2. 2
      app/server/static/css/annotation.css
  3. 4
      app/server/static/css/forum.css
  4. 2
      app/server/templates/admin/admin_base.html
  5. 2
      app/server/templates/annotation/annotation_base.html
  6. 2
      app/server/templates/projects.html

4
app/server/static/css/admin.css

@ -77,4 +77,6 @@
border-top-style: dashed; border-top-style: dashed;
align-items: center; align-items: center;
padding-top: .75rem; padding-top: .75rem;
}
}
[v-cloak] { display: none; }

2
app/server/static/css/annotation.css

@ -263,3 +263,5 @@ body {
.todo-list li.editing:last-child { .todo-list li.editing:last-child {
margin-bottom: -1px; margin-bottom: -1px;
} }
[v-cloak] { display: none; }

4
app/server/static/css/forum.css

@ -167,4 +167,6 @@ p {
.navbar-dropdown .navbar-item { .navbar-dropdown .navbar-item {
color: white; color: white;
}
}
[v-cloak] { display: none; }

2
app/server/templates/admin/admin_base.html

@ -18,7 +18,7 @@
</a> </a>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="columns" id="mail-app" style="margin-right:0;">
<div class="columns" id="mail-app" style="margin-right:0;" v-cloak>
<aside class="column is-2 aside"> <aside class="column is-2 aside">
<div> <div>
<div class="main"> <div class="main">

2
app/server/templates/annotation/annotation_base.html

@ -4,7 +4,7 @@
<link rel="stylesheet" href="{% static 'css/annotation.css' %}"> <link rel="stylesheet" href="{% static 'css/annotation.css' %}">
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="columns" id="mail-app">
<div class="columns" id="mail-app" v-cloak>
<aside class="column is-3 aside hero is-fullheight"> <aside class="column is-3 aside hero is-fullheight">
<div> <div>

2
app/server/templates/projects.html

@ -2,7 +2,7 @@
{% load static %} {% load static %}
{% load widget_tweaks %} {% load widget_tweaks %}
{% block content %} {% block content %}
<div id="projects_root">
<div id="projects_root" v-cloak>
<section class="hero project-image"> <section class="hero project-image">
<div class="container"> <div class="container">
<div class="columns"> <div class="columns">

Loading…
Cancel
Save