fix(rules): fix w3 validator
This commit is contained in:
parent
15e0ad1115
commit
1907e83792
4 changed files with 16 additions and 15 deletions
|
@ -18,17 +18,10 @@
|
||||||
<a href="https://git.gnous.eu/gnouseu/gnousdoteu/src/commit/{% version 'long' %}" target="_blank" class="uk-text-small uk-button-link">{% version 'short' %}</a>
|
<a href="https://git.gnous.eu/gnouseu/gnousdoteu/src/commit/{% version 'long' %}" target="_blank" class="uk-text-small uk-button-link">{% version 'short' %}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-float-right">
|
<div class="uk-float-right">
|
||||||
<noscript>
|
|
||||||
<style>
|
|
||||||
.need-js {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</noscript>
|
|
||||||
<label class="uk-switch need-js" for="themeSwitcher">
|
<label class="uk-switch need-js" for="themeSwitcher">
|
||||||
<input type="checkbox" id="themeSwitcher" name="theme">
|
<input type="checkbox" id="themeSwitcher" name="theme">
|
||||||
<span class="uk-switch-slider"></span>
|
<span class="uk-switch-slider"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -53,4 +53,12 @@
|
||||||
|
|
||||||
<script src="{% static 'javascripts/turbolinks.js' %}"></script>
|
<script src="{% static 'javascripts/turbolinks.js' %}"></script>
|
||||||
<script src="{% static 'javascripts/main.js' %}" defer></script>
|
<script src="{% static 'javascripts/main.js' %}" defer></script>
|
||||||
</head>
|
|
||||||
|
<noscript>
|
||||||
|
<style>
|
||||||
|
.need-js {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</noscript>
|
||||||
|
</head>
|
||||||
|
|
|
@ -46,12 +46,12 @@
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% if LANGUAGE_CODE == 'en' %}
|
{% if LANGUAGE_CODE == 'en' %}
|
||||||
<button type="submit" style="background: transparent; border: none">
|
<button type="submit" style="background: transparent; border: none">
|
||||||
<img src="{% static 'images/icons/fr.svg' %}" alt="fr" width="18vw">
|
<img src="{% static 'images/icons/fr.svg' %}" alt="fr" width="18">
|
||||||
</button>
|
</button>
|
||||||
<input type="hidden" name="language" value="fr">
|
<input type="hidden" name="language" value="fr">
|
||||||
{% else %}
|
{% else %}
|
||||||
<button type="submit" style="background: transparent; border: none">
|
<button type="submit" style="background: transparent; border: none">
|
||||||
<img src="{% static 'images/icons/en.svg' %}" alt="en" width="18vw">
|
<img src="{% static 'images/icons/en.svg' %}" alt="en" width="18">
|
||||||
</button>
|
</button>
|
||||||
<input type="hidden" name="language" value="en">
|
<input type="hidden" name="language" value="en">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -68,4 +68,4 @@
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,14 +43,14 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% if LANGUAGE_CODE == 'en' %}
|
{% if LANGUAGE_CODE == 'en' %}
|
||||||
<img src="{% static 'images/icons/fr.svg' %}" alt="en" onclick="window.document.languageForm2.submit()" width="18vw">
|
<img src="{% static 'images/icons/fr.svg' %}" alt="en" onclick="window.document.languageForm2.submit()" width="18">
|
||||||
<input type="hidden" name="language" value="fr">
|
<input type="hidden" name="language" value="fr">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{% static 'images/icons/en.svg' %}" alt="fr" onclick="window.document.languageForm2.submit()" width="18vw">
|
<img src="{% static 'images/icons/en.svg' %}" alt="fr" onclick="window.document.languageForm2.submit()" width="18">
|
||||||
<input type="hidden" name="language" value="en">
|
<input type="hidden" name="language" value="en">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue