Skip to content
Snippets Groups Projects
Commit 099a257e authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #59734 zendform PAGE

parent eaaa3493
4 merge requests!2334Master,!2159Dev#59734 zendafi form profil page,!2152Dev#59734 zendafi form profil page,!2132dev #59734 first commit
Pipeline #1345 failed with stage
in 11 minutes and 24 seconds
...@@ -136,7 +136,8 @@ class ZendAfi_View_Helper_ProfileComposition extends ZendAfi_View_Helper_BaseHel ...@@ -136,7 +136,8 @@ class ZendAfi_View_Helper_ProfileComposition extends ZendAfi_View_Helper_BaseHel
$this->_getHTMLForDivision($column), $this->_getHTMLForDivision($column),
['id' => sprintf('box%d', $column), ['id' => sprintf('box%d', $column),
'class' => 'sortable_list']), 'class' => 'sortable_list']),
['data-division' => $column]); ['data-division' => $column,
'data-divisions' => Class_Profil::getCurrentProfil()->getNbDivisions()]);
} }
......
...@@ -64,22 +64,29 @@ ...@@ -64,22 +64,29 @@
width: 25%; width: 25%;
} }
.profile_composition .drag_drop_container > [data-division] { .profile_composition .drag_drop_container > [data-division="1"][data-divisions="3"],
.profile_composition .drag_drop_container > [data-division="3"][data-divisions="3"] {
width: 25%; width: 25%;
} }
.profile_composition .drag_drop_container > [data-division="1"][data-divisions="2"],
.profile_composition .drag_drop_container > [data-division="5"] { .profile_composition .drag_drop_container > [data-division="5"] {
width: 33%; width: 33%;
} }
.profile_composition .drag_drop_container > [data-division="2"][data-divisions="2"],
.profile_composition .drag_drop_container > [data-division="4"] { .profile_composition .drag_drop_container > [data-division="4"] {
width: 66%; width: 66%;
} }
.profile_composition .drag_drop_container > [data-division="2"] { .profile_composition .drag_drop_container > [data-division="2"][data-divisions="3"] {
width: 50%; width: 50%;
} }
.profile_composition .drag_drop_container > [data-division="1"][data-divisions="1"] {
width: 100%;
}
.profile_composition .drag_drop_container > div a { .profile_composition .drag_drop_container > div a {
padding-left: 1em; padding-left: 1em;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment