diff --git a/public/themes/default/images/stripe-hover.png b/public/themes/default/images/stripe-hover.png
new file mode 100644
index 00000000..3273fb88
Binary files /dev/null and b/public/themes/default/images/stripe-hover.png differ
diff --git a/public/themes/default/images/stripe.png b/public/themes/default/images/stripe.png
new file mode 100644
index 00000000..3bf78523
Binary files /dev/null and b/public/themes/default/images/stripe.png differ
diff --git a/public/themes/default/scripts/fields.js b/public/themes/default/scripts/fields.js
index aa7f7ad3..4c683b95 100644
--- a/public/themes/default/scripts/fields.js
+++ b/public/themes/default/scripts/fields.js
@@ -119,13 +119,18 @@ $(document).ready(function(){
if(number == 1) {
if($(this).val() > $('select[name='+key+'2] option:selected').val()){
- $('span#'+key).html('Donnée incohérantes')
+ $('span#'+key).html('');
+ $('.error').css('display', 'block');
+ $('.error div').html(''+key+' : '+$(this).val()+' supérieur '+$('select[name='+key+'2] option:selected').val()+', Donnée incohérantes.');
}else {
+ $('.error').css('display', 'none');
$('span#'+key).html(' Valider');
}
}else {
if($(this).val() < $('select[name='+key+'1] option:selected').val()){
- $('span#'+key).html('Donnée incohérantes')
+ $('span#'+key).html('');
+ $('.error').css('display', 'block');
+ $('.error div').html(''+key+' : '+$(this).val()+' inférieur '+$('select[name='+key+'1] option:selected').val()+', Donnée incohérantes.');
}else {
$('span#'+key).html(' Valider');
}
diff --git a/public/themes/default/styles/criteres/economique.css b/public/themes/default/styles/criteres/economique.css
new file mode 100644
index 00000000..f51e4ce0
--- /dev/null
+++ b/public/themes/default/styles/criteres/economique.css
@@ -0,0 +1,85 @@
+@CHARSET "ISO-8859-1";
+
+#economique .arborescence {
+ border-top: 1px solid #838587;
+ background: #b8b8b8;
+ background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8));
+ background: -webkit-linear-gradient(top, #87898a, #b8b8b8);
+ background: -moz-linear-gradient(top, #87898a, #b8b8b8);
+ background: -ms-linear-gradient(top, #87898a, #b8b8b8);
+ background: -o-linear-gradient(top, #87898a, #b8b8b8);
+ padding: 4.5px 9px;
+ -webkit-border-radius: 0px;
+ -moz-border-radius: 0px;
+ border-radius: 0px;
+ -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ box-shadow: rgba(0,0,0,1) 0 1px 0;
+ text-shadow: rgba(0,0,0,.4) 0 1px 0;
+ color: #FFFFFF;
+ font-size: 11px;
+ font-family: Georgia, serif;
+ text-decoration: none;
+ vertical-align: middle;
+ }
+#economique .arborescence:hover {
+ border-top-color: #cccccc;
+ background: #cccccc;
+ color: #000000;
+ }
+#economique .arborescence:active {
+ border-top-color: #3f4142;
+ background: #3f4142;
+ }
+
+#economique
+{
+ font-size:13px;
+ text-shadow: 1px 1px 1px white;
+}
+
+#economique select {
+ width:80px;
+}
+
+#economique li {
+ height:20px;
+ padding:5px;
+ border:1px solid silver;
+ margin-top:2px;
+ background-image:url('/themes/default/images/stripe.png');
+ background-repeat: repeat-x;
+}
+
+#economique li:hover {
+ background-image:url('/themes/default/images/stripe-hover.png');
+ background-repeat: repeat-x;
+}
+
+#link
+{
+ text-align:right;
+ margin-top:20px;
+ font-size:13px;
+}
+
+a:hover
+{
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #615F5F;
+}
+
+.error {
+ display:block;
+ border:1px solid red;
+ height:40px;
+ background-color:#F8C5C5;
+ margin-bottom:5px;
+}
+
+.error div {
+ margin-top:12px;
+ margin-left:5px;
+ color:red;
+ text-shadow: 1px 1px white;
+}
\ No newline at end of file
diff --git a/public/themes/default/styles/criteres/entreprise.css b/public/themes/default/styles/criteres/entreprise.css
new file mode 100644
index 00000000..ffd81029
--- /dev/null
+++ b/public/themes/default/styles/criteres/entreprise.css
@@ -0,0 +1,42 @@
+@CHARSET "ISO-8859-1";
+
+#entreprise
+{
+ font-size:13px;
+ text-shadow: 1px 1px 1px white;
+}
+
+#entreprise select {
+ width:100%;
+}
+
+#entreprise li {
+ height:20px;
+ padding:5px;
+ border:1px solid silver;
+ margin-top:2px;
+ background-image:url('/themes/default/images/stripe.png');
+ background-repeat: repeat-x;
+}
+
+#entreprise li:hover {
+ background-image:url('/themes/default/images/stripe-hover.png');
+ background-repeat: repeat-x;
+}
+
+#entreprise li input {
+ width:125px;
+}
+
+#link
+{
+ text-align:right;
+ margin-top:20px;
+ font-size:13px;
+}
+
+a:hover
+{
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #615F5F;
+}
\ No newline at end of file
diff --git a/public/themes/default/styles/criteres/financiere.css b/public/themes/default/styles/criteres/financiere.css
new file mode 100644
index 00000000..2065b889
--- /dev/null
+++ b/public/themes/default/styles/criteres/financiere.css
@@ -0,0 +1,90 @@
+@CHARSET "ISO-8859-1";
+
+#financiere .arborescence {
+ border-top: 1px solid #838587;
+ background: #b8b8b8;
+ background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8));
+ background: -webkit-linear-gradient(top, #87898a, #b8b8b8);
+ background: -moz-linear-gradient(top, #87898a, #b8b8b8);
+ background: -ms-linear-gradient(top, #87898a, #b8b8b8);
+ background: -o-linear-gradient(top, #87898a, #b8b8b8);
+ padding: 4.5px 9px;
+ -webkit-border-radius: 0px;
+ -moz-border-radius: 0px;
+ border-radius: 0px;
+ -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ box-shadow: rgba(0,0,0,1) 0 1px 0;
+ text-shadow: rgba(0,0,0,.4) 0 1px 0;
+ color: #FFFFFF;
+ font-size: 11px;
+ font-family: Georgia, serif;
+ text-decoration: none;
+ vertical-align: middle;
+ }
+#financiere .arborescence:hover {
+ border-top-color: #cccccc;
+ background: #cccccc;
+ color: #000000;
+ }
+#financiere .arborescence:active {
+ border-top-color: #3f4142;
+ background: #3f4142;
+ }
+
+#financiere
+{
+ font-size:13px;
+ text-shadow: 1px 1px 1px white;
+}
+
+#financiere select {
+ width:80px;
+}
+
+#financiere li {
+ height:20px;
+ padding:5px;
+ border:1px solid silver;
+ margin-top:2px;
+ background-image:url('/themes/default/images/stripe.png');
+ background-repeat: repeat-x;
+}
+
+#financiere li:hover {
+ background-image:url('/themes/default/images/stripe-hover.png');
+ background-repeat: repeat-x;
+}
+
+#financiere select
+{
+ width:100%;
+}
+
+#link
+{
+ text-align:right;
+ margin-top:20px;
+ font-size:13px;
+}
+
+a:hover
+{
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #615F5F;
+}
+
+.error {
+ display:block;
+ border:1px solid red;
+ height:40px;
+ background-color:#F8C5C5;
+ margin-bottom:5px;
+}
+
+.error div {
+ margin-top:12px;
+ margin-left:5px;
+ color:red;
+ text-shadow: 1px 1px white;
+}
\ No newline at end of file
diff --git a/public/themes/default/styles/criteres/geographique.css b/public/themes/default/styles/criteres/geographique.css
new file mode 100644
index 00000000..ba03288c
--- /dev/null
+++ b/public/themes/default/styles/criteres/geographique.css
@@ -0,0 +1,83 @@
+@CHARSET "ISO-8859-1";
+
+@CHARSET "ISO-8859-1";
+
+#geographique .arborescence {
+ border-top: 1px solid #838587;
+ background: #b8b8b8;
+ background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8));
+ background: -webkit-linear-gradient(top, #87898a, #b8b8b8);
+ background: -moz-linear-gradient(top, #87898a, #b8b8b8);
+ background: -ms-linear-gradient(top, #87898a, #b8b8b8);
+ background: -o-linear-gradient(top, #87898a, #b8b8b8);
+ padding: 4.5px 9px;
+ -webkit-border-radius: 0px;
+ -moz-border-radius: 0px;
+ border-radius: 0px;
+ -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ box-shadow: rgba(0,0,0,1) 0 1px 0;
+ text-shadow: rgba(0,0,0,.4) 0 1px 0;
+ color: #FFFFFF;
+ font-size: 11px;
+ font-family: Georgia, serif;
+ text-decoration: none;
+ vertical-align: middle;
+ }
+#geographique .arborescence:hover {
+ border-top-color: #cccccc;
+ background: #cccccc;
+ color: #000000;
+ }
+#geographique .arborescence:active {
+ border-top-color: #3f4142;
+ background: #3f4142;
+ }
+
+#geographique
+{
+ font-size:13px;
+ text-shadow: 1px 1px 1px white;
+}
+
+#geographique li {
+ height:20px;
+ padding:5px;
+ border:1px solid silver;
+ margin-top:2px;
+ background-image:url('/themes/default/images/stripe.png');
+ background-repeat: repeat-x;
+}
+
+#geographique li:hover {
+ background-image:url('/themes/default/images/stripe-hover.png');
+ background-repeat: repeat-x;
+}
+
+#link
+{
+ text-align:right;
+ margin-top:20px;
+ font-size:13px;
+}
+
+a:hover
+{
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #615F5F;
+}
+
+.error {
+ display:block;
+ border:1px solid red;
+ height:40px;
+ background-color:#F8C5C5;
+ margin-bottom:5px;
+}
+
+.error div {
+ margin-top:12px;
+ margin-left:5px;
+ color:red;
+ text-shadow: 1px 1px white;
+}
\ No newline at end of file
diff --git a/public/themes/default/styles/criteres/juridique.css b/public/themes/default/styles/criteres/juridique.css
new file mode 100644
index 00000000..ad332815
--- /dev/null
+++ b/public/themes/default/styles/criteres/juridique.css
@@ -0,0 +1,90 @@
+@CHARSET "ISO-8859-1";
+
+#juridique .arborescence {
+ border-top: 1px solid #838587;
+ background: #b8b8b8;
+ background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8));
+ background: -webkit-linear-gradient(top, #87898a, #b8b8b8);
+ background: -moz-linear-gradient(top, #87898a, #b8b8b8);
+ background: -ms-linear-gradient(top, #87898a, #b8b8b8);
+ background: -o-linear-gradient(top, #87898a, #b8b8b8);
+ padding: 4.5px 9px;
+ -webkit-border-radius: 0px;
+ -moz-border-radius: 0px;
+ border-radius: 0px;
+ -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
+ box-shadow: rgba(0,0,0,1) 0 1px 0;
+ text-shadow: rgba(0,0,0,.4) 0 1px 0;
+ color: #FFFFFF;
+ font-size: 11px;
+ font-family: Georgia, serif;
+ text-decoration: none;
+ vertical-align: middle;
+ }
+#juridique .arborescence:hover {
+ border-top-color: #cccccc;
+ background: #cccccc;
+ color: #000000;
+ }
+#juridique .arborescence:active {
+ border-top-color: #3f4142;
+ background: #3f4142;
+ }
+
+#juridique
+{
+ font-size:13px;
+ text-shadow: 1px 1px 1px white;
+}
+
+#juridique select {
+ width:80px;
+}
+
+#juridique li {
+ height:20px;
+ padding:5px;
+ border:1px solid silver;
+ margin-top:2px;
+ background-image:url('/themes/default/images/stripe.png');
+ background-repeat: repeat-x;
+}
+
+#juridique li:hover {
+ background-image:url('/themes/default/images/stripe-hover.png');
+ background-repeat: repeat-x;
+}
+
+#link
+{
+ text-align:right;
+ margin-top:20px;
+ font-size:13px;
+}
+
+#juridique select
+{
+ width:100%;
+}
+
+a:hover
+{
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #615F5F;
+}
+
+.error {
+ display:block;
+ border:1px solid red;
+ height:40px;
+ background-color:#F8C5C5;
+ margin-bottom:5px;
+}
+
+.error div {
+ margin-top:12px;
+ margin-left:5px;
+ color:red;
+ text-shadow: 1px 1px white;
+}
\ No newline at end of file
diff --git a/public/themes/default/styles/main.css b/public/themes/default/styles/main.css
index bd1475fd..d02cc32c 100644
--- a/public/themes/default/styles/main.css
+++ b/public/themes/default/styles/main.css
@@ -287,7 +287,6 @@ table.ciblage td {
.fieldgrp {
clear: both;
width: 100%;
- margin:1em 0;
overflow: hidden;
}