Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Theme-WordPress-Adullact-org
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Adullact
Theme-WordPress-Adullact-org
Commits
926df6ec
Commit
926df6ec
authored
Jul 05, 2019
by
Nathan Peraldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: select-size's label in function of first select
parent
7da2dd86
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
292 additions
and
263 deletions
+292
-263
adhesionForm.js
adhesionForm.js
+9
-1
contact.php
contact.php
+276
-255
grille.csv
grille.csv
+7
-7
No files found.
adhesionForm.js
View file @
926df6ec
...
...
@@ -16,7 +16,7 @@ function displayMask(display) {
}
function
displayMaskOptions
(
display
)
{
//sert à afficher / cacher les options du 2e select menu
//sert à afficher / cacher les options du 2e select menu
, et modifier le label qui va avec
var
toutesLesOptions
=
document
.
getElementsByName
(
"
optionSelect2
"
);
...
...
@@ -34,9 +34,17 @@ function displayMaskOptions(display) {
}
toutesLesOptions
[
j
].
hidden
=
false
;
//on affiche le label
document
.
getElementById
(
"
TYPENBR-
"
+
toutesLesOptions
[
j
].
getAttribute
(
"
class
"
)).
style
.
display
=
"
block
"
;
console
.
log
(
"
on affiche
"
+
document
.
getElementById
(
"
TYPENBR-
"
+
display
));
}
else
{
console
.
log
(
display
+
"
=/=
"
+
toutesLesOptions
[
j
].
getAttribute
(
"
class
"
));
toutesLesOptions
[
j
].
hidden
=
true
;
//On cache le label
document
.
getElementById
(
"
TYPENBR-
"
+
toutesLesOptions
[
j
].
getAttribute
(
"
class
"
)).
style
.
display
=
"
none
"
;
}
}
}
...
...
contact.php
View file @
926df6ec
This diff is collapsed.
Click to expand it.
grille.csv
View file @
926df6ec
nature;taille;cotisation
Ville;< 1 000;100
nature;taille;cotisation
;type
Ville;< 1 000;100
;d'habitants
Ville;1 000 à 2 500;250
Ville;2 501 à 5 000;500
Ville;5 001 à 10 000;900
...
...
@@ -10,19 +10,19 @@ Ville;50 001 à 80 000;3500
Ville;80 001 à 100 000;4000
Ville;+ de 100 000;4500
Ville;à arrondissement;6000
Département;- de 1 000 000;4000
Département;- de 1 000 000;4000
;d'habitants
Département;1 000 000 à 2 000 000;4500
Département;+ de 2 000 000;6000
Région;- de 2 500 000;4500
Région;- de 2 500 000;4500
;d'habitants
Région;+ de 2 500 000;6000
EPCI à fiscalité propre;- de 10 000;1750
EPCI à fiscalité propre;- de 10 000;1750
;d'habitants
EPCI à fiscalité propre;10 001 à 50 000;2500
EPCI à fiscalité propre;50 001 à 100 000;3000
EPCI à fiscalité propre;100 001 à 250 000;3500
EPCI à fiscalité propre;250 001 à 500 000;4000
EPCI à fiscalité propre;500 001 à 1 000 000;4500
EPCI à fiscalité propre;+ de 1 000 000;6000
Etablissement Public;- de 25;250
Etablissement Public;- de 25;250
;de salariés
Etablissement Public;25 à 50;500
Etablissement Public;51 à 100;1250
Etablissement Public;101 à 500;1750
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment