|
|
@@ -2,9 +2,11 @@
|
|
|
{% load tags %}
|
|
|
{% load countries %}
|
|
|
{% load static %}
|
|
|
+{% load compress %}
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
|
{% block script %}
|
|
|
+{% compress js inline %}
|
|
|
<script>
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
@@ -62,7 +64,7 @@ $(document).ready(function(){
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
-
|
|
|
+{% endcompress %}
|
|
|
|
|
|
<style media="screen">
|
|
|
.card-columns .mab-card {
|
|
|
@@ -466,25 +468,27 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
{% if request.user_agent.browser.family != 'Safari' %}
|
|
|
-<script>
|
|
|
+ {% compress js inline %}
|
|
|
+ <script>
|
|
|
|
|
|
- $(".flipper").click (function(elem){
|
|
|
+ $(".flipper").click (function(elem){
|
|
|
|
|
|
- let toggler = this.getAttribute("data-flip-card");
|
|
|
- $("#" + toggler ).toggleClass('is-flipped');
|
|
|
- $("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
+ let toggler = this.getAttribute("data-flip-card");
|
|
|
+ $("#" + toggler ).toggleClass('is-flipped');
|
|
|
+ $("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
|
|
|
- $(".flipper-wrapper").click (function(elem){
|
|
|
+ $(".flipper-wrapper").click (function(elem){
|
|
|
|
|
|
- let toggler = this.getAttribute("data-flip-card");
|
|
|
- $("#" + toggler ).toggleClass('is-flipped');
|
|
|
- $("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
+ let toggler = this.getAttribute("data-flip-card");
|
|
|
+ $("#" + toggler ).toggleClass('is-flipped');
|
|
|
+ $("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
|
|
|
-</script>
|
|
|
+ </script>
|
|
|
+ {% endcompress %}
|
|
|
{% endif %}
|
|
|
|
|
|
</div>
|