diff --git a/tipi_payment_plugin/templates/tipi_payment_plugin/tipi.html b/tipi_payment_plugin/templates/tipi_payment_plugin/tipi.html index 458ee55..487bf32 100644 --- a/tipi_payment_plugin/templates/tipi_payment_plugin/tipi.html +++ b/tipi_payment_plugin/templates/tipi_payment_plugin/tipi.html @@ -6,6 +6,24 @@ var popup; var timer; +function reinit() { + document.getElementById('refdet_error').style.display='none'; + document.getElementById('montant_error').style.display='none'; + document.getElementById('mel_error').style.display='none'; +} + +function checkLen(element,y) +{ + if (y.length==element.maxLength) + { + var next=element.tabIndex; + if (next -#tipi { +#tipi_block { position: relative; } -#tipi li { +#tipi_block ul { + padding-left: 1em; +} +#tipi_block li { list-style-type: none; - margin-bottom: .25em; + margin-bottom: .3em; + padding: .2em 0; } -#tipi li label { +#tipi_block li label { float: left; - width: 12em; - font-weight: bold; + width: 11.5em; } -#tipi li label:after { - content: ':' +#tipi_block li label:after { + content: ':'; + margin-left: .5em; } -#tipi li input[type=text] { +#tipi_block li input[type=text], #tipi_block li input[type=email] { border: 1px solid #bbb; } -#tipi .error { +#tipi_block .error { color: #f00; font-size:.8em; display: none; } -#tipi #wip { +#tipi_block #wip { position: absolute; background: #fff; opacity: .8; @@ -127,31 +153,31 @@ function tipi() { } {% endaddtoblock %} -
+

{% trans "Paiement en cours..." %}

-
+
  • - - - + - + - + {% trans "numéro invalide" %}
  • - , - + , + {% trans "montant invalide" %}
  • @@ -159,7 +185,7 @@ function tipi() { {% trans "courriel invalide" %}
  • - +