Commit 677a0e8f authored by Korko's avatar Korko
Browse files

Rework cloak for static generation and JS bugs

parent 32c9e8ab
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -136,6 +136,13 @@ img {
display: none;
}
.v-rcloak {
display: none;
}
[v-cloak] ~ .v-rcloak {
display: block
}
/* ==========================================================================
02. Header
========================================================================== */
......@@ -161,6 +168,7 @@ img {
position: relative;
z-index: 1;
color: white;
padding: 100px 0;
}
#header .bottom {
color: white;
......
......@@ -39,6 +39,8 @@ Le code source est disponible sur :link',
'section.go.title' => 'À vous de jouer !',
'section.go.subtitle' => 'Remplissez, cliquez et c\'est parti !',
'waiting' => 'Formulaire en cours de création. Si ce message reste affiché, essayez de rafraichir la page, sinon contactez moi par mail (<a href="mailto:&#x6a;&#x65;&#x72;&#x65;&#x6d;&#x79;&#x2e;&#x6c;&#x65;&#x6d;&#x65;&#x73;&#x6c;&#x65;&#x40;&#x6b;&#x6f;&#x72;&#x6b;&#x6f;&#x2e;&#x66;&#x72;">&#x6a;&#x65;&#x72;&#x65;&#x6d;&#x79;&#x2e;&#x6c;&#x65;&#x6d;&#x65;&#x73;&#x6c;&#x65;&#x40;&#x6b;&#x6f;&#x72;&#x6b;&#x6f;&#x2e;&#x66;&#x72;</a>) ou via <a href="https://github.com/Korko">GitHub</a>. Merci.',
'success' => 'Envoyé avec succès !',
'participants' => 'Détails des participants',
......
......@@ -122,12 +122,12 @@
</div><!-- #spacer1 -->
@include('templates/participant')
<div id="form" class="light-wrapper" v-cloak>
<div id="form" class="light-wrapper">
<section class="ss-style-top"></section>
<div class="container inner">
<h2 class="section-title text-center">@lang('form.section.go.title')</h2>
<p class="lead main text-center">@lang('form.section.go.subtitle')</p>
<div class="row text-center form">
<div class="row text-center form" v-cloak>
<div id="success-wrapper" class="alert alert-success" v-show="sent">
@lang('form.success')
</div>
......@@ -230,6 +230,10 @@
</div>
<!-- /.services -->
<div id="errors-wrapper" class="alert alert-danger v-rcloak">
@lang('form.waiting')
</div>
</div>
<!-- /.container -->
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment